mirror of https://github.com/apache/maven.git
Add missing client jarArchiver
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293451 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef0763c291
commit
514d3144c2
|
@ -96,6 +96,14 @@ public class EjbMojo
|
|||
*/
|
||||
private JarArchiver jarArchiver;
|
||||
|
||||
/**
|
||||
* The client Jar archiver.
|
||||
*
|
||||
* @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#jar}"
|
||||
* @required
|
||||
*/
|
||||
private JarArchiver clientJarArchiver;
|
||||
|
||||
/**
|
||||
* The maven project's helper.
|
||||
*
|
||||
|
@ -152,6 +160,8 @@ public class EjbMojo
|
|||
|
||||
MavenArchiver clientArchiver = new MavenArchiver();
|
||||
|
||||
clientArchiver.setArchiver( clientJarArchiver );
|
||||
|
||||
clientArchiver.setOutputFile( clientJarFile );
|
||||
|
||||
clientArchiver.getArchiver().addDirectory( new File( outputDirectory ), DEFAULT_INCLUDES,
|
||||
|
|
Loading…
Reference in New Issue