mirror of https://github.com/apache/maven.git
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:
parent
e7e70cb97f
commit
a82f9fedf5
|
@ -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() );
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue