maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chan, Charles" <Charles.C...@CIBC.ca>
Subject RE: Dependency on ejb-jar
Date Wed, 08 Jan 2003 15:44:56 GMT
In EAR's plugin.jelly, it assumes all JAR files (even EJB jar files) are
stored in /jars directory:

      <!-- include marked dependencies -->
      <j:forEach var="dep" items="${pom.dependencies}">
        <j:if test="${dep.getProperty('ear.bundle.jar')=='true'}">
          <fileset dir="${maven.repo.local}/${dep.getProjectId()}/jars/">
            <include name="${dep.getArtifact()}"/>
          </fileset>
        </j:if>
      </j:forEach>

This won't work because the ejb:install goal put all EJB jar files into
/ejbs directory.

Charles



-----Original Message-----
From: Michal Maczka [mailto:Mmaczka@cqs.ch]
Sent: Tuesday, January 07, 2003 12:21 PM
To: 'Turbine Maven Users List'
Subject: RE: Dependency on ejb-jar



[..]
> That is not possible, if what you have is packed in a JAR then it is a
> JAR artifact. If what you have is packed in a WAR it's a WAR 
> archive and
> so on.
> 
> What are you trying to do exactly?
> 
It's fairly simple.
I use ejb pluging for one project (module) and deploy the deliverable of
this project: ejb-jar to repository
with goal ejb:install

Then I want to use this artifact (ejb-jar) in other project(s).
Because it's ejb-jar it's stored in folder {}../ejbs instead of jars as
normal jars are



Michal

--
To unsubscribe, e-mail:
<mailto:turbine-maven-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-maven-user-help@jakarta.apache.org>

Mime
View raw message