Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Environment:linux/win2k, JBoss-3.2.1, Hibernate2
goal name="ear:generate-ear-descriptor"
-
Number of attachments :
Description
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.
Applied.