Christoph created MASSEMBLY-669:
-----------------------------------

             Summary: dependencySet does not resolve transient dependencies in 
reactor build
                 Key: MASSEMBLY-669
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-669
             Project: Maven Assembly Plugin
          Issue Type: Bug
          Components: dependencySet
    Affects Versions: 2.4, 2.2-beta-5
         Environment: linux
            Reporter: Christoph
         Attachments: assembly_bug.tar.gz

using an assembly descriptor with a dependencySet will fail to resolve 
transient dependencies that are build in the same reactor.

having artifacts one, two, three. Where artifact three depends on artifact two. 
And artifact two depends on artifact one.

Artifact three runs an assembly during package phase. It succeeds in finding 
the artifact two in the reactor. But the transient dependency pointing to 
artifact one can't be resolved.


[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:2.4:single (make-assembly) on 
project three: Failed to create assembly: Unable to resolve dependencies for 
assembly 'foo': Failed to resolve dependencies for assembly: No versions are 
present in the repository for the artifact with a range [0,]
[ERROR] de.gsi.cs.co.maven.assembly_bug:one:jar:null


A sample project structure is attached. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to