maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AtWorkNow" <AtWork...@hotmail.com>
Subject Dependency tag 'war.bundle' does not include ejb jar in war file
Date Mon, 28 Jun 2004 19:33:59 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message