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

[jira] Created: (MNG-1607) Provide the ability to globally exclude a dependency

Provide the ability to globally exclude a dependency
----------------------------------------------------

         Key: MNG-1607
         URL: http://jira.codehaus.org/browse/MNG-1607
     Project: Maven 2
        Type: New Feature
  Components: maven-core  
    Versions: 2.0    
    Reporter: Barry Kaplan


Some dependencies you simply never want downloaded no matter what. For example, when using jdk 1.5 xml-apis.jar causes headaches. But many projects require this dependency. 

Therefore it would be nice to support a 'never' download setting. Maybe:

    <dependencyManagement>
        <excludedDependencies>
            <dependency>
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
            </dependency>
        </excludedDependencies>
    </dependencyManagement>
 
(Or is there another way to do this now?)

-- 
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] Updated: (MNG-1607) Provide the ability to globally exclude a dependency

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

Brett Porter updated MNG-1607:
------------------------------

    Fix Version: 2.1

> Provide the ability to globally exclude a dependency
> ----------------------------------------------------
>
>          Key: MNG-1607
>          URL: http://jira.codehaus.org/browse/MNG-1607
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-core
>     Versions: 2.0
>     Reporter: Barry Kaplan
>      Fix For: 2.1

>
>
> Some dependencies you simply never want downloaded no matter what. For example, when using jdk 1.5 xml-apis.jar causes headaches. But many projects require this dependency. 
> Therefore it would be nice to support a 'never' download setting. Maybe:
>     <dependencyManagement>
>         <excludedDependencies>
>             <dependency>
>                 <groupId>xml-apis</groupId>
>                 <artifactId>xml-apis</artifactId>
>             </dependency>
>         </excludedDependencies>
>     </dependencyManagement>
>  
> (Or is there another way to do this now?)

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