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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to