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

Output the dependencies in a consistent and natural order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • tree
    • None

    Description

      As of 2.0-alpha-5-SNAPSHOT 31-AUG-2007 the dependencies when output are in random order as I suspect they come straight form a Set.

      This makes it really difficult for a human to parse the dependencies.
      Ordering them using the natural artifact order before output would be a great improvement.

      In particular dependency:tree is very hard to read when they are not ordered.
      But if each level were ordered using the natural artifact ordering it would be much easier to read and to work out where the dep problems lay.

      [INFO] [dependency:tree]
      [INFO] com.yarris.consol:consol-web:war:1.0-SNAPSHOT
      [INFO] com.yarris:cielo:jar:1.5:compile
      [INFO] javax.j2ee:j2ee:jar:1.3.1:compile
      [INFO] commons-digester:commons-digester:jar:1.7:compile
      [INFO] opensymphony:sitemesh:jar:2.2.1:compile
      [INFO] commons-lang:commons-lang:jar:2.1:compile
      [INFO] com.yarris.consol:consol-ejb:ejb:1.0-SNAPSHOT:compile
      [INFO] org.apache.axis:axis:jar:1.4:compile
      [INFO] backport-util-concurrent:backport-util-concurrent:jar:3.0:compile
      [INFO] commons-discovery:commons-discovery:jar:0.2:compile
      [INFO] commons-httpclient:commons-httpclient:jar:3.0:compile
      [INFO] commons-codec:commons-codec:jar:1.3:compile
      [INFO] commons-javaflow:commons-javaflow:jar:20060411:compile
      [INFO] commons-pool:commons-pool:jar:1.1:compile
      [INFO] xerces:xercesImpl:jar:2.0.2:compile
      [INFO] com.yarris:hubbub-mail:jar:2.1:compile
      [INFO] jasperreports:jasperreports:jar:1.3.0:compile
      [INFO] xml-apis:xml-apis:jar:1.0.b2:compile
      [INFO] eclipse:jdtcore:jar:3.1.0:compile
      [INFO] org.apache.axis:axis-jaxrpc:jar:1.4:compile
      [INFO] eclipse:jdt-compiler:jar:3.1.1:compile
      [INFO] net.sourceforge.jexcelapi:jxl:jar:2.6.3:compile
      [INFO] com.yarris:kapri:jar:1.0.1:compile
      [INFO] org.ostermiller:ostermiller-utils:jar:1.04.00:compile
      [INFO] com.pd4ml:pd4ml:jar:1.2.4:compile
      [INFO] poi:poi-2.5.1-final:jar:20040804:compile
      [INFO] javax.xml.soap:saaj-api:jar:1.2:compile
      [INFO] com.yarris:samurai:jar:1.19:compile
      [INFO] com.yarris:hubbub-log4j:jar:1.8:compile
      [INFO] org.acegisecurity:acegi-security:jar:1.0.3:compile
      [INFO] org.springframework:spring-remoting:jar:1.2.8:compile
      [INFO] org.springframework:spring-dao:jar:1.2.8:compile
      [INFO] org.springframework:spring-context:jar:1.2.8:compile
      [INFO] org.springframework:spring-aop:jar:1.2.8:compile
      [INFO] org.springframework:spring-webmvc:jar:1.2.8:compile
      [INFO] org.springframework:spring-web:jar:1.2.8:compile
      [INFO] org.springframework:spring-jdbc:jar:1.2.8:compile
      [INFO] org.springframework:spring-beans:jar:1.2.8:compile
      [INFO] org.springframework:spring-core:jar:1.2.8:compile
      [INFO] org.springframework:spring-support:jar:1.2.8:runtime
      [INFO] org.apache.velocity:velocity:jar:1.5:compile
      [INFO] axis:axis-wsdl4j:jar:1.3:compile
      [INFO] org.apache.ws:wss4j:jar:1.5.0:compile
      [INFO] com.yarris:yarris-jms:jar:1.0:compile
      [INFO] commons-io:commons-io:jar:1.2:compile
      [INFO] opensymphony:oscache:jar:2.0.2:compile
      [INFO] com.yarris.consol:consol-interfaces:jar:1.1:compile
      [INFO] xmlbeans:xbean:jar:2.2.0:compile
      [INFO] struts:struts-el:jar:1.1:compile
      [INFO] com.yarris:sopho:jar:1.6:compile
      [INFO] jdom:jdom:jar:1.0:compile
      [INFO] log4j:log4j:jar:1.2.14:compile
      [INFO] velocity:velocity-dep:jar:1.4:compile
      [INFO] struts:struts:jar:1.1:compile
      [INFO] struts:struts-legacy:jar:1.1:compile
      [INFO] commons-validator:commons-validator:jar:1.0.2:compile
      [INFO] oro:oro:jar:2.0.6:compile
      [INFO] javax.sql:jdbc-stdext:jar:2.0:compile
      [INFO] com.yarris:hubbub-web:jar:1.3:compile
      [INFO] javax.servlet:jstl:jar:1.0.2:compile
      [INFO] commons-fileupload:commons-fileupload:jar:1.0:compile
      [INFO] jfree:jfreechart:jar:1.0.2:compile
      [INFO] jfree:jcommon:jar:1.0.0:compile
      [INFO] junit:junit:jar:3.7:compile
      [INFO] taglibs:standard:jar:1.0.4:compile
      [INFO] xalan:xalan:jar:2.6.0:compile
      [INFO] displaytag:displaytag:jar:1.1:compile
      [INFO] com.lowagie:itext:jar:2.0.0:compile
      [INFO] commons-beanutils:commons-beanutils:jar:1.6:compile
      [INFO] commons-logging:commons-logging:jar:1.0:compile

      Attachments

        1. maven-common-artifact-filters.patch
          5 kB
          Tuomas Kiviaho
        2. maven-dependency-plugin.patch
          3 kB
          Tuomas Kiviaho

        Issue Links

          Activity

            People

              Unassigned Unassigned
              william_ferguson_au@yahoo.com William Ferguson
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: