jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Ear Plugin
  • MPEAR-3

Add ability to bundle sar file in ear plugin

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2
  • Fix Version/s: 1.3
  • Labels:
    None

Description

The ability to bundle a JBoss sar file into an ear when type is specified as being sar in the dependency.

E.g:
<dependency>
<groupId>jboss-services</groupId>
<artifactId>sms</artifactId>
<version>SNAPSHOT</version>
<type>sar</type>
<properties>
<ear.bundle>true</ear.bundle>
</properties>
</dependency>

The file will then be fetched from the sars artifact directory.

The reason why this doesn't work at the moment is that the ear plugin doesn't test for sar and thus doesn't bundle the sar.

This can be achieved by adding the following to the plugin.jelly of the ear plugin where the other tests are:

<j:if test="${dep.type == 'sar'}">
<j:set var="bundle" value="true"/>
</j:if>

Note that it must NOT be added as a module in the generated application.xml.

This will do for the moment, in future maybe generation of jboss-app.xml could be added.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 24/Sep/03 11:39 PM

Applied similar fix

Show
dion gillard added a comment - 24/Sep/03 11:39 PM Applied similar fix
Hide
Permalink
Alwyn Schoeman added a comment - 18/Nov/03 12:11 AM

Hi,

I am using 1.0-rc2 from CVS at the moment and bundling something of type sar doesn't work with ear plugin 1.2-SNAPSHOT.

Could you expand on where you made the change so that it can be verified if it is still there?

Show
Alwyn Schoeman added a comment - 18/Nov/03 12:11 AM Hi, I am using 1.0-rc2 from CVS at the moment and bundling something of type sar doesn't work with ear plugin 1.2-SNAPSHOT. Could you expand on where you made the change so that it can be verified if it is still there?

People

  • Assignee:
    Unassigned
    Reporter:
    Alwyn Schoeman
Vote (0)
Watch (0)

Dates

  • Created:
    26/Aug/03 11:01 PM
    Updated:
    18/Nov/03 12:11 AM
    Resolved:
    24/Sep/03 11:39 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.