assertEquals( "org.apache.maven", model.getGroupId() );
}
public void testProjectReading()
throws Exception
{
<BUG>MavenExecutionRequest request = new DefaultMavenExecutionRequest().setPomFile( getPomFile().getAbsolutePath() );
MavenExecutionResult result = maven.readProjectWithDependencies( request );</BUG>
assertEquals( "org.apache.maven", result.getMavenProject().getGroupId() );
Set artifacts = result.getMavenProject().getArtifacts();
assertEquals( 1, artifacts.size() );

assertEquals( "org.apache.maven", model.getGroupId() );
}
public void testProjectReading()
throws Exception
{
MavenExecutionRequest request = new DefaultMavenExecutionRequest()
.setShowErrors( true )
.setPomFile( getPomFile().getAbsolutePath() );
MavenExecutionResult result = maven.readProjectWithDependencies( request );
assertEquals( "org.apache.maven", result.getMavenProject().getGroupId() );
Set artifacts = result.getMavenProject().getArtifacts();
assertEquals( 1, artifacts.size() );
