String testId = "ExplodedWar_WithEJB";
MavenProjectArtifactsStub project = new MavenProjectArtifactsStub();
File webAppDirectory = new File( getTestDirectory(), testId );
File webAppSource = createWebAppSource( testId );
File classesDir = createClassesDir( testId, true );
EJBClientArtifactStub ejbArtifact = new EJBClientArtifactStub( getBasedir() );
File ejbFile = ejbArtifact.getFile();
assertTrue( "ejb jar not found: " + ejbFile.toString(), ejbFile.exists() );
// configure mojo
project.addArtifact( ejbArtifact );