The following comment has been added to this issue: Author: John Casey Created: Mon, 8 Dec 2003 3:13 PM Body: See also:
MAVEN-1068 MPARTIFACT-4 I have created a patch which works with two other patches (see MAVEN-1068 and MPARTIFACT-4) to: 1. Add ArtifactType support to the Dependency.isAddedToClasspath() method, which allows the following: <dependency> <groupId>someproject</groupId> <artifactId>someproject-ejb<artifactId> <version>1.0</version> <type>ejb-client</type> </dependency> which will result in a dependency on the EJB-client jar, not the EJB jar itself. 2. Add ArtifactType support to the DefaultArtifactDeployer.extensionForType(type) method, which will correctly allow us to use: <artifact:install-snapshot artifact="${maven.ejb.client.final.name}" type="ejb-client" project="${pom}"/> which will integrate well into the forseeable future with the artifact-orientation of maven. 3. Provide ejb:install-client, ejb:install-client-snapshot, ejb:deploy-client, and ejb:deploy-client-snapshot. This will provide EJB-client jarfile control which is fully analogous to the current ejb:ejb -based goals. It then becomes trivial to aggregate the calls to ejb:install and ejb:install-client from a maven.xml or other... Attached is the patch to complete all of this. --------------------------------------------------------------------- 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: Mon, 8 Dec 2003 3:13 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]