Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-633 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-633 Summary: Contributing an ejb:ejb-client goal Type: New Feature Status: Unassigned Priority: Major Time Spent: Unknown Remaining: Unknown Project: maven Components: plugin-other Assignee: Reporter: James CE Johnsom Created: Wed, 30 Jul 2003 1:02 PM Updated: Wed, 30 Jul 2003 1:02 PM Environment: 1.0-beta-11-SNAPSHOT, JVM 1.4, Linux Description: This patch adds a trivial goal that will create a jarfile suitable for clients of your EJBs. The idea is to have the minimal set of classes necessary for the EJB clients. The value of maven.ejb.client.base.excludes probably needs some work... diff --context /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.jelly ./plu gin.jelly *** /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.jelly Wed Jul 30 09:53 :45 2003 --- ./plugin.jelly Wed Jul 30 13:29:35 2003 *************** *** 107,113 **** </ant:jar> </goal> ! <!--==================================================================--> <!-- Install the ejb in the local repository --> <!--==================================================================--> --- 107,124 ---- </ant:jar> </goal> ! ! <!--==================================================================--> ! <!-- Builds an ejb client jar file --> ! <!--==================================================================--> ! <goal name="ejb:ejb-client" prereqs="ejb:ejb" description="Build a client ej b file"> ! <ant:jar jarfile="${maven.build.dir}/${maven.final.name}-client.jar" ! basedir="${maven.build.dest}" ! excludes="${maven.ejb.client.base.excludes},${maven.ejb.client.ex cludes}" ! > ! </ant:jar> ! </goal> ! <!--==================================================================--> <!-- Install the ejb in the local repository --> <!--==================================================================--> diff --context /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.properties ./plugin.properties *** /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.properties Tue Jul 22 10:21:20 2003 --- ./plugin.properties Wed Jul 30 13:25:45 2003 *************** *** 1 **** # --------------------------------------------------------------------- maven.ejb.manifest=${maven.ejb..ejb.src}/META-INFto using jar task not ejbjar escriptordir}/MANIFEST.MF \ No newline at end of file --- 1 ---- # --------------------------------------------------------------------- maven.ejb.manifest=${maven.ejb..ejb.src}/META-INFto using jar task not ejbjar # Exclude from the client jar those things that should only exist on the EJB ser maven.ejb.client.base.excludes=**/*Bean.class,**/*CMP.class,**/*Session.class \ No newline at end of file --------------------------------------------------------------------- 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]