Applied patch for MAVEN-633, fixed patch rejections, added documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-08-01 04:30:31 +00:00
parent bba43ba5bc
commit bcb182e08c
3 changed files with 35 additions and 0 deletions

View File

@ -106,6 +106,17 @@
</goal>
<!--==================================================================-->
<!-- Builds an ejb client jar file -->
<!--==================================================================-->
<goal name="ejb:ejb-client" prereqs="ejb:ejb" description="Build a client ejb file">
<ant:jar jarfile="${maven.build.dir}/${maven.final.name}-client.jar"
basedir="${maven.build.dest}"
excludes="${maven.ejb.client.base.excludes},${maven.ejb.client.excludes}"
>
</ant:jar>
</goal>
<!--==================================================================-->
<!-- Install the ejb in the local repository -->
<!--==================================================================-->

View File

@ -8,3 +8,7 @@ maven.ejb.src=${maven.src.dir}/ejb
# Location of ejb xml configs - not used atm due to using jar task not ejbjar
maven.ejb.descriptordir=${maven.ejb.src}/META-INF
maven.ejb.manifest=${maven.ejb.descriptordir}/MANIFEST.MF
# Exclude from the client jar those things that should only exist on the EJB server.
# This list is probably incomplete...
# Users' projects can add to the list by setting maven.ejb.client.excludes.
maven.ejb.client.base.excludes=**/*Bean.class,**/*CMP.class,**/*Session.class

View File

@ -20,6 +20,26 @@
src/ejb
</td>
</tr>
<tr>
<td>maven.ejb.client.base.excludes</td>
<td>Yes</td>
<td>
Classes excluded by default from a client ejb jar
</td>
<td>
**/*Bean.class,**/*CMP.class,**/*Session.class
</td>
</tr>
<tr>
<td>maven.ejb.client.excludes</td>
<td>Yes</td>
<td>
Classes excluded from a client ejb jar
</td>
<td>
None
</td>
</tr>
<tr>
<td>maven.ejb.manifest</td>
<td>Yes</td>