You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/25 06:40:10 UTC

[jira] Closed: (MAVEN-746) Add ability to bundle sar file in ear plugin

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Wed, 24 Sep 2003 11:39 PM

Applied similar fix
---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

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

   Assignee: 
   Reporter: Alwyn Schoeman

    Created: Tue, 26 Aug 2003 11:01 PM
    Updated: Wed, 24 Sep 2003 11:39 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org