You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tuomas Kiviaho (JIRA)" <ji...@codehaus.org> on 2011/01/25 11:29:58 UTC

[jira] Commented: (MDEP-107) Output the dependencies in a consistent and natural order

    [ http://jira.codehaus.org/browse/MDEP-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252784#action_252784 ] 

Tuomas Kiviaho commented on MDEP-107:
-------------------------------------

To make things even worse this isn't just a human readability issue but actually a bug since build-classpath uses the same codebase and produces invalid output for big (over 32) dependency sets when hash algorithm that you anticipated kicks in and bollocks up the order.

> Output the dependencies in a consistent and natural order
> ---------------------------------------------------------
>
>                 Key: MDEP-107
>                 URL: http://jira.codehaus.org/browse/MDEP-107
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: tree
>    Affects Versions: 2.0
>            Reporter: William Ferguson
>            Assignee: Brian Fox
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira