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

[jira] Created: (MNG-1218) Properties to deactivate the transitive mode of a dependency

Properties to deactivate the transitive mode of a dependency
------------------------------------------------------------

         Key: MNG-1218
         URL: http://jira.codehaus.org/browse/MNG-1218
     Project: Maven 2
        Type: New Feature
    Versions: 2.0-beta-3    
 Environment: windows
 Reporter: Alexandre Vivien
     Fix For: 2.0


Somes dependencies in the central repository of Maven 2 cause some troubles due to the transitive mode. In fact, there are bad dependencies referred in their <dependency>.pom in the repository. By bad dependencies, you should understand dependencies that don't exist in the central repository, so the m2 build stop, or dependencies that don't really needed (like httpunit, etc ...) which polluate the WAR.
So, it must be clever to add a dependency property to deactivate the transitive mode, like
<dependency>
...
 <transitive>false</transitive>
</dependency>

Thanks,
Alexandre Vivien

-- 
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-1218) Properties to deactivate the transitive mode of a dependency

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

      Assign To: Brett Porter
     Resolution: Won't Fix
    Fix Version:     (was: 2.0)

there are different avenues here, but we won't be adding a general disablement for maven 2.0.

1) add <exclusions> to your dependencies to block the unwanted dependencies
2) file issues under "Maven Evangelism" for correcting the metadata of the dependencies to either remove or make optional the dependencies

It will not take long to get all the data in good shape if everyone contributes in this way.

> Properties to deactivate the transitive mode of a dependency
> ------------------------------------------------------------
>
>          Key: MNG-1218
>          URL: http://jira.codehaus.org/browse/MNG-1218
>      Project: Maven 2
>         Type: New Feature
>     Versions: 2.0-beta-3
>  Environment: windows
>     Reporter: Alexandre Vivien
>     Assignee: Brett Porter

>
>
> Somes dependencies in the central repository of Maven 2 cause some troubles due to the transitive mode. In fact, there are bad dependencies referred in their <dependency>.pom in the repository. By bad dependencies, you should understand dependencies that don't exist in the central repository, so the m2 build stop, or dependencies that don't really needed (like httpunit, etc ...) which polluate the WAR.
> So, it must be clever to add a dependency property to deactivate the transitive mode, like
> <dependency>
> ...
>  <transitive>false</transitive>
> </dependency>
> Thanks,
> Alexandre Vivien

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