o making sure that the jar is indeed produced

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2005-09-26 23:17:21 +00:00
parent e7e70cb97f
commit a82f9fedf5
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ public class MavenEmbedderTest
EventDispatcher eventDispatcher = new DefaultEventDispatcher();
maven.execute( pom, Collections.singletonList( "package" ), eventDispatcher, targetDirectory );
File jar = new File( targetDirectory, "target/embedder-test-project-1.0-SNAPSHOT.jar" );
assertTrue( jar.exists() );
}
// ----------------------------------------------------------------------