o there is an IT for optional dependencies and we'll put a proper UT in the POM construction tests for optional deps.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796742 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-07-22 14:31:44 +00:00
parent 4179dbcd41
commit 3e10bb2686

View File

@ -93,26 +93,6 @@ protected void assertNoExceptions( MavenExecutionResult result )
fail( "Encountered Exceptions in MavenExecutionResult during " + getName() );
}
public void testWithOptionalDependencies()
throws Exception
{
File testDirectory = new File( basedir, "src/test/projects/optional-dep" );
File targetDirectory = new File( basedir, "target/projects/option-dep" );
FileUtils.copyDirectoryStructure( testDirectory, targetDirectory );
MavenExecutionRequest request = createMavenExecutionRequest( new File( targetDirectory, "pom.xml" ) );
MavenExecutionResult result = mavenEmbedder.execute( request );
if (result.hasExceptions() )
{
result.getExceptions().get( 0 ).printStackTrace();
fail( "Project didn't execute correctly.");
}
}
/*MNG-3919*/
public void testWithInvalidGoal()