Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-762

`mvn compile dependency:tree` and `mvn package dependency:tree` outputs different result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.2
    • waiting-for-feedback
    • tree
    • None

    Description

      I made a sample project here.

      mvn compile dependency:tree
      

      resolves one version of snappy-java

      org.xerial.snappy:snappy-java:jar:1.1.4:compile

      However,

      mvn package dependency:tree
      

      resolves two version of snappy-java

      org.xerial.snappy:snappy-java:jar:1.1.4:compile
      org.xerial.snappy:snappy-java:jar:1.1.7.2:compile
      

       

      Attachments

        1. output1
          142 kB
          sify21
        2. output2
          151 kB
          sify21

        Activity

          People

            Unassigned Unassigned
            sify21 sify21
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: