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:
Emmanuel Venisse 2005-10-03 21:20:02 +00:00
parent ef0763c291
commit 514d3144c2
1 changed files with 10 additions and 0 deletions

View File

@ -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,