Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-669

dependencySet does not resolve transient dependencies in reactor build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.2-beta-5, 2.4
    • None
    • dependencySet
    • None
    • linux

    Description

      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. With a dependeny chain: three -> two -> 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.

      Attachments

        1. assembly_bug_v2.tar.gz
          0.8 kB
          fragfutter
        2. assembly_bug.tar.gz
          0.8 kB
          fragfutter

        Activity

          People

            Unassigned Unassigned
            fragfutter fragfutter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: