o we already have a number of tests in the core testing simple execution of a pom and a directory with a pom

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-07-22 14:37:54 +00:00
parent 3e10bb2686
commit 0b8922f02c
1 changed files with 0 additions and 24 deletions

View File

@ -117,30 +117,6 @@ public void testWithInvalidGoal()
}
}
public void testExecutionUsingAPomFile()
throws Exception
{
File testDirectory = new File( basedir, "src/test/embedder-test-project" );
File targetDirectory = new File( basedir, "target/embedder-test-project1" );
FileUtils.copyDirectoryStructure( testDirectory, targetDirectory );
MavenExecutionRequest request = createMavenExecutionRequest( new File( targetDirectory, "pom.xml" ) );
MavenExecutionResult result = mavenEmbedder.execute( request );
assertNoExceptions( result );
MavenProject project = result.getProject();
assertEquals( "embedder-test-project", project.getArtifactId() );
File jar = new File( targetDirectory, "target/embedder-test-project-1.0-SNAPSHOT.jar" );
assertTrue( jar.exists() );
}
public void testExecutionUsingAProfileWhichSetsAProperty()
throws Exception
{