You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Greg Hengeli (JIRA)" <ji...@codehaus.org> on 2009/04/30 19:21:45 UTC

[jira] Updated: (MASSEMBLY-242) transitive dependencies do not get included

     [ http://jira.codehaus.org/browse/MASSEMBLY-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Hengeli updated MASSEMBLY-242:
-----------------------------------

    Attachment: assembly-transitive-dep-failure.zip

example multimodule project which defines a dependency to include and the expected transitive dependencies are NOT included (as I believe they should be)

> transitive dependencies do not get included
> -------------------------------------------
>
>                 Key: MASSEMBLY-242
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-242
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>         Environment: maven 2.0.7
>            Reporter: manuel aldana
>            Assignee: John Casey
>             Fix For: 2.2-beta-3
>
>         Attachments: assembly-transitive-dep-failure.zip
>
>
> i am using assembly plugin with standard descriptor jar-with-dependencies. problem is that transitive dependencies do not get included.
> pom.xml from project A:
> ...
>  <groupId>a</groupId>
>  <artifactId>a</artifactId>
>  <version>1.0</version>
>  <dependencies>
>     <dependency>
>       <groupId>tran</groupId>
>       <artifactId>dep</artifactId>
>       <version>1.0</version>
>     </dependency>  
>    </dependencies>
> ...
> pom.xml from project B:
> ...
>  <groupId>b</groupId>
>  <artifactId>b</artifactId>
>  <version>1.0</version>
>  <build>
>      ... enabling assembly-plugin with jar-with-dependencies...
>  </build>
>  <dependencies>
>     <dependency>
>       <groupId>a</groupId>
>       <artifactId>a</artifactId>
>       <version>1.0</version>
>     </dependency>  
>  </dependencies>
> ...
> i am doing assembly:assembly on b:b. now tran:dep does not get included though it is defined in a:a. that means: if i open the assembled jar-file (from b:b) i cannot see any artifacts from tran:dep.
> for earlier discussion on mailingslist see http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12308820

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