The following comment has been added to this issue: Author: Archimedes Trajano Created: Thu, 27 Nov 2003 11:58 PM Body: 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 artifact="${maven.ejb.final.name}" type="ejb" project="${pom}"/> <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}"/> <j:expr value="${pom.setArtifactId(artifactId_original)}" /> </goal> --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPEJB-2 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPEJB-2 Summary: ejb:install should also depend and install client Type: Bug Status: Unassigned Priority: Major Original Estimate: 1 day Time Spent: Unknown Remaining: 1 day Project: maven-ejb-plugin Versions: 1.2 Assignee: Reporter: Archimedes Trajano Created: Thu, 27 Nov 2003 11:11 PM Updated: Thu, 27 Nov 2003 11:58 PM Description: Need to add into plugin.jelly something like <j:set var="maven.ejb.final.client.name" value="${maven.build.dir}/${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="${maven.ejb.final.name}" type="ejb" project="${pom}"/> <artifact:install artifact="${maven.ejb.final.client.name}" type="jar" project="${pom.client}"/> </goal> Not sure how to build pom.client though. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]