Issue Details (XML | Word | Printable)

Key: MPEAR-2
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kevin Hagel
Votes: 0
Watchers: 1
Operations

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

can you add 'sar' to maven-ear-plugin?

Created: 19/Oct/03 06:02 PM   Updated: 16/Nov/03 10:36 AM   Resolved: 19/Oct/03 06:53 PM
Return to search
Component/s: None
Affects Version/s: 1.2
Fix Version/s: 1.3

Time Tracking:
Not Specified

Environment:
linux/win2k, JBoss-3.2.1, Hibernate2
goal name="ear:generate-ear-descriptor"


 Description  « Hide

In the maven-ear-plugin-1.2 there is a search for dependencies to put in the application.xml

I notice 'ejb', 'jar', 'war', even 'rar'.
I added a section to look for 'sar', and this seems to have worked.

Here's a copy-paste from that section including the section that looks for 'rar'

<j:when test="${dep.type=='rar'}">
<x:element name="module">
<x:element name="connector">${dep.getArtifact()}</x:element>
</x:element>
</j:when>

<j:when test="${dep.type=='sar'}">
<x:element name="module">
<x:element name="connector">${dep.getArtifact()}</x:element>
</x:element>
</j:when>

This seems to work just fine. I look in the JBoss logs and it does in fact deploy as I want it to.



dion gillard added a comment - 19/Oct/03 06:53 PM

Applied.


dion gillard made changes - 19/Oct/03 06:53 PM
Field Original Value New Value
Status Unassigned [ 1 ] Closed [ 6 ]
Fix Version/s 1.0-rc2 [ 10245 ]
Resolution Fixed [ 1 ]
Vincent Massol made changes - 16/Nov/03 10:36 AM
Fix Version/s 1.3 [ 10349 ]
Project maven [ 10030 ] maven-ear-plugin [ 10323 ]
Component/s plugin-ear [ 10326 ]
Fix Version/s 1.0-rc2 [ 10245 ]
Key MAVEN-949 MPEAR-2
Affects Version/s 1.2 [ 10348 ]