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/10/20 01:54:04 UTC

[jira] Closed: (MAVEN-949) can you add 'sar' to maven-ear-plugin?

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Sun, 19 Oct 2003 6:53 PM

Applied.
---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-949
    Summary: can you add 'sar' to maven-ear-plugin?
       Type: New Feature

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-ear
   Fix Fors:
             1.0-rc2

   Assignee: 
   Reporter: Kevin Hagel

    Created: Sun, 19 Oct 2003 6:02 PM
    Updated: Sun, 19 Oct 2003 6:53 PM
Environment: linux/win2k, JBoss-3.2.1, Hibernate2
goal name="ear:generate-ear-descriptor"

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.


---------------------------------------------------------------------
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