Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-167

dependency:tree omits batik-js



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: maven-dependency-tree-1.2
    • Fix Version/s: maven-dependency-tree-2.0
    • Component/s: maven-dependency-tree
    • Labels:
    • Environment:
      Maven 3.0, Ubuntu, JDK 6.


      (Not sure what the right place to file this is. maven-dependency-tree 1.2 gives MNG as the JIRA component by inheritance.)

      mvn dependency:tree on the attached project lists batik-script by way of batik-bridge as expected, but then fails to show batik-js as a dependency of that. If you list batik-script as a direct dependency, batik-js is correctly shown.

      Possibly related is that Maven 2.2.1 also fails to find batik-js in MavenProject.getRuntimeArtifacts, so clean package fails, whereas this works fine under Maven 3.0. Yet just running the dependency plugin under M3 does not suffice to pick up this fix, wherever it was - MNG-4690?

      Although the Batik JARs are built from an odd source tree, the artifacts as present in the local repository look normal enough; all of the dependencies involved are simple compile scope without exclusions etc.

      Marking "major" since this seems to cause MNBMODULE-102 (producing build errors for certain projects); also I have noticed that the dependency graph feature in the NB IDE omits batik-js, and there may be other user-visible effects of this bug.


          Issue Links



              • Assignee:
                hboutemy Herve Boutemy
                jglick Jesse N. Glick
              • Votes:
                1 Vote for this issue
                7 Start watching this issue


                • Created: