Issue Details (XML | Word | Printable)

Key: MPEAR-33
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Stephane Nicoll
Reporter: David Smiley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Ear Plugin

support wsr module in application.xml

Created: 17/Dec/04 11:53 AM   Updated: 30/Mar/06 03:20 PM   Resolved: 28/Jan/06 09:26 AM
Return to search
Component/s: None
Affects Version/s: 1.6
Fix Version/s: 1.8

Time Tracking:
Original Estimate: 10 minutes
Original Estimate - 10 minutes
Remaining Estimate: 10 minutes
Remaining Estimate - 10 minutes
Time Spent: Not Specified
Time Spent - Not Specified


 Description  « Hide

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>



Stephane Nicoll made changes - 28/Jan/06 09:17 AM
Field Original Value New Value
Fix Version/s 1.8 [ 12056 ]
Assignee Stephane Nicoll [ sni ]
Summary support modules in application.xml with any file extension support wsr module in application.xml
Stephane Nicoll added a comment - 28/Jan/06 09:26 AM

wsr module can now be included in application.xml generation.


Stephane Nicoll made changes - 28/Jan/06 09:26 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Arnaud Heritier added a comment - 30/Mar/06 03:20 PM

Fixed in 1.8 version


Arnaud Heritier made changes - 30/Mar/06 03:20 PM
Status Resolved [ 5 ] Closed [ 6 ]