jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven Shared Components
  • Maven Shared Components
  • MSHARED-167

dependency:tree omits batik-js

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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:
    None
  • Environment:
    Maven 3.0, Ubuntu, JDK 6.
  • Testcase included:
    yes
  • Number of attachments :
    1

Description

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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    test_test-dependency-tree_jar_1.0-SNAPSHOT_101018-185145.zip
    18/Oct/10 6:09 PM
    2 kB
    Jesse Glick
    1. XML File
      test-dependency-tree/pom.xml 1.0 kB
    2. Java Source File
      test-dependency-tree/src/.../C.java 0.3 kB
    Download Zip
    Show
    Zip Archive
    test_test-dependency-tree_jar_1.0-SNAPSHOT_101018-185145.zip
    18/Oct/10 6:09 PM
    2 kB
    Jesse Glick

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MPIR-237 Unexpected download

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MNBMODULE-102 Transitive dependencies incorrectly processed in Maven 3

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MDEP-339 tree mojo doesn't work consistently with maven3

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MENFORCER-140 DependencyConvergence: upgrade maven-dependency-tree dependency to 2.0 for better Maven 3 support

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity

People

  • Assignee:
    Herve Boutemy
    Reporter:
    Jesse Glick
Vote (1)
Watch (4)

Dates

  • Created:
    18/Oct/10 6:09 PM
    Updated:
    19/Apr/13 12:33 AM
    Resolved:
    10/Jun/12 4:20 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.