[ http://jira.codehaus.org/browse/MPEAR-33?page=all ]
Stephane Nicoll updated MPEAR-33:
---------------------------------
Assign To: Stephane Nicoll
Fix Version: 1.8
Summary: support wsr module in application.xml (was: support modules
in application.xml with any file extension)
> support wsr module in application.xml
> --------------------------------------
>
> Key: MPEAR-33
> URL: http://jira.codehaus.org/browse/MPEAR-33
> Project: maven-ear-plugin
> Type: Improvement
> Versions: 1.6
> Reporter: David Smiley
> Assignee: Stephane Nicoll
> Fix For: 1.8
>
> Original Estimate: 10 minutes
> Remaining: 10 minutes
>
> I'm following the JBoss.net documentation which is about web-services. I've
> been trying to get a .wsr file (jar formatted) into the ear file AND ensure
> it's registered in the application.xml as a module. The maven ear plugin
> does not support this (it's even documented that it doesn't). I want this so
> I fixed this in my local environment and I encourage the Maven developers to
> roll this change so that everyone can benefit.
> What I did to fix this was modify the goal: ear:generate-ear-descriptor with
> 2 changes. I removed the J:when test for jar file extensions. Then I added
> at the bottom this:
> <j:otherwise>
> <j:if test="${dep.getProperty('ear.module')=='true'}">
> <x:element name="module">
> <x:element name="java">${dep.getArtifact()}</x:element>
>
> </x:element>
> </j:if>
> </j:otherwise>
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]