Maven 1.x Ear Plugin

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

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor 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 :
    0

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.

Activity

Hide
dion gillard added a comment -

Applied.

Show
dion gillard added a comment - Applied.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: