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

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

<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


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


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

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

    Resolution: Fixed

added test case to DefaultModelDefaultsInjectorTest.

> <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
>     Assignee: John Casey
>      Fix For: 2.0-beta-3

>
> Original Estimate: 1 hour
>        Time Spent: 30 minutes
>         Remaining: 0 minutes
>
> 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


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

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

John Casey updated MNG-1008:
----------------------------

            Complexity: Expert  (was: Intermediate)
    Remaining Estimate: 1 hour
     Original Estimate: 3600

> <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
>     Assignee: John Casey
>      Fix For: 2.0-beta-3

>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> 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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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


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

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

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

    Fix Version:     (was: 2.0-beta-4)
                 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