You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Fabrice BELLINGARD (JIRA)" <ji...@codehaus.org> on 2005/09/22 11:21:11 UTC

[jira] Created: (MNG-954) Transitive dependencies of War modules should not be copied in the Ear by default

Transitive dependencies of War modules should not be copied in the Ear by default
---------------------------------------------------------------------------------

         Key: MNG-954
         URL: http://jira.codehaus.org/browse/MNG-954
     Project: Maven 2
        Type: Improvement
  Components: maven-ear-plugin  
    Versions: 2.0-beta-1    
 Environment: Win2k, Java 1.4.2, Maven 2.0 beta 1
 Reporter: Fabrice BELLINGARD


Currently, when an Ear is generated, every transitive dependency of its War modules is copied into the Ear, which makes them exist twice in the pacakge (one in the War and once in the Ear). 
There's an 'excluded' property to prevent transitive dependencies of a War to be copied in the Ear, but this is painful because a War module usually have lots of dependencies.

So I would say that the packaging for an Ear should be more complex concerning the dependencies declared in its pom:
- for a Jar or an Ejb, then I agree that the transitive dependencies must be included in the Ear
- for a War, the default behaviour should be to include only the War itself, without all its transitive dependencies. There could be a property 'included' to tell the packager to take a specific dependency of the War and put it up in the Ear. (this would be the opposite behaviour as currently with the 'excluded' property)

-- 
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
-
For more information on JIRA, 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


[jira] Closed: (MNG-954) Transitive dependencies of War modules should not be copied in the Ear by default

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-954?page=all ]
     
Brett Porter closed MNG-954:
----------------------------

     Assign To: Brett Porter
    Resolution: Duplicate

> Transitive dependencies of War modules should not be copied in the Ear by default
> ---------------------------------------------------------------------------------
>
>          Key: MNG-954
>          URL: http://jira.codehaus.org/browse/MNG-954
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-ear-plugin
>     Versions: 2.0-beta-1
>  Environment: Win2k, Java 1.4.2, Maven 2.0 beta 1
>     Reporter: Fabrice BELLINGARD
>     Assignee: Brett Porter

>
>
> Currently, when an Ear is generated, every transitive dependency of its War modules is copied into the Ear, which makes them exist twice in the pacakge (one in the War and once in the Ear). 
> There's an 'excluded' property to prevent transitive dependencies of a War to be copied in the Ear, but this is painful because a War module usually have lots of dependencies.
> So I would say that the packaging for an Ear should be more complex concerning the dependencies declared in its pom:
> - for a Jar or an Ejb, then I agree that the transitive dependencies must be included in the Ear
> - for a War, the default behaviour should be to include only the War itself, without all its transitive dependencies. There could be a property 'included' to tell the packager to take a specific dependency of the War and put it up in the Ear. (this would be the opposite behaviour as currently with the 'excluded' property)

-- 
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
-
For more information on JIRA, 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