Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2
-
Fix Version/s: 1.7
-
Labels:None
-
Number of attachments :
Description
Need to add into plugin.jelly something like
<j:set var="maven.ejb.final.client.name"
value="$
/$
{maven.final.name}-client.jar"/>
<goal name="ejb:install"
prereqs="ejb:ejb,ejb:ejb-client"
description="Install the ejb in the local repository">
<artifact:install
artifact="$
"
type="ejb"
project="$
"/>
<artifact:install
artifact="$
"
type="jar"
project="$
"/>
</goal>
Not sure how to build pom.client though.
Issue Links
- is related to
-
MPEJB-18
ejb:install-client is not working
-
Okay I think I figured it out
<goal name="ejb:install"
prereqs="ejb:ejb,ejb:ejb-client"
description="Install the ejb in the local repository">
<artifact:install
{maven.ejb.final.name}artifact="$
"
{pom}"/>type="ejb"
project="$
<j:set var="artifactId_original"
value="${pom.artifactId}"/>
<j:set var="artifactId_client"
value="${pom.artifactId}-client"/>
<j:expr value="${pom.setArtifactId(artifactId_client)}" />
<artifact:install
artifact="${maven.ejb.final.client.name}"
type="jar"
project="${pom}
"/>
{pom.setArtifactId(artifactId_original)}<j:expr value="$
" />
</goal>