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

[jira] Updated: (MNG-1008) exclusions are not inhertted

     [ http://jira.codehaus.org/browse/MNG-1008?page=all ]

Brett Porter updated MNG-1008:
------------------------------

    Fix Version: 2.0-beta-3

> <dependencyManagement> exclusions are not inhertted
> ---------------------------------------------------
>
>          Key: MNG-1008
>          URL: http://jira.codehaus.org/browse/MNG-1008
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-beta-1
>     Reporter: Hao Chen
>      Fix For: 2.0-beta-3

>
>
> in parent pom.xml:
>   <dependencyManagement>
>     <dependencies>
>       <dependency>
>           <groupId>commons-configuration</groupId>
>           <artifactId>commons-configuration</artifactId>
>           <version>1.1</version>
>           <exclusions>
>             <exclusion>
>               <groupId>jdbc</groupId>
>               <artifactId>jdbc</artifactId>
>             </exclusion>
>           </exclusions> 
>       </dependency>
>     ....
> In Child pom.xml 
>     <dependency>
>         <groupId>commons-configuration</groupId>
>         <artifactId>commons-configuration</artifactId>
>     </dependency>
> Got error: 
>   Unable to download the artifact from any repository
>   jdbc:jdbc:2.0:jar
> Path to dependency:
>         1) ....
>         2) commons-configuration:commons-configuration:jar:1.1
>         3) commons-dbcp:commons-dbcp:jar:1.1
>         4) jdbc:jdbc:jar:2.0
> The version info is inherited, but the exclusions info is not.

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