Hi.
I currently have a project, which uses the ejb plug-in to create the server and client
jars. However, when creating a war with the following dependency:
<dependency>
<groupId>myGroupId</groupId>
<artifactId>myArtifactId</artifactId>
<version>1.0-client</version>
<type>ejb</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
the war:webapp plug-in fails to include the client ejb jar in the war file. I believe
a fix for this would be to include the following for the 'war:webapp' goal:
<j:if test="${dep.type =='ejb'}">
<ant:copy todir="${webapp.build.lib}" file="${lib.path}"/>
</j:if>
If someone would have a workaround, other than using the deprecated property
'war.bundle.jar' or if the suggested fix above or any other similar solution could be
added to the plug-in, it would be very appreciated.
AG