Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-746


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-746
    Summary: Add ability to bundle sar file in ear plugin
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-ear
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Alwyn Schoeman

    Created: Tue, 26 Aug 2003 11:01 PM
    Updated: Tue, 26 Aug 2003 11:01 PM

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.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to