maven tool or swich to print dependency tree --------------------------------------------
Key: MNG-485 URL: http://jira.codehaus.org/browse/MNG-485 Project: Maven 2 Type: Wish Versions: 2.0-alpha-2 Reporter: Kevin Brown I'm finding it incredibly difficult to find missing dependencies (lots of grepping of my local repository) given the current m2 output. In the case below, I am attempting to build jaxen 1.1-beta-6, and it appears that jaxen-1.1-beta-4.pom is being included somewhere! This is after fixing up the XOM pom and the dom4j pom (both already listed as issues in Maven Evangelism on Jira) I think a maven option m2 --print-dependency-tree would be incredibly helpful. I would like to be able to see graphically any (and all) cycles or missing dependencies rather than the 1-at-a-time errors I am getting now. I may build a stand-alone prototype and post it here. $m2 install [INFO] ------------------------------------------------------------------------- --- [INFO] Building jaxen [INFO] ------------------------------------------------------------------------- --- [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local reposi tory [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-2 from local reposit ory [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local reposit ory [INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local reposito ry [INFO] [resources:resources] Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-4/jaxen-1.1-beta -4.pom 6K downloaded Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-4/jaxen-1.1-beta -4.pom.md5 0K downloaded Downloading: http://repo1.maven.org/maven2/stax/stax-api/1.1-dev/stax-api-1.1-de v.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 [INFO] ------------------------------------------------------------------------- --- [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------- --- [INFO] Main Error: Unable to download the artifact from any repository stax:stax-api:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2 Root error: Unable to download the artifact from any repository [INFO] ------------------------------------------------------------------------- --- [INFO] Total time: 5 seconds [INFO] Finished at: Fri Jun 17 18:59:25 EDT 2005 [INFO] Final Memory: 1M/2M [INFO] ------------------------------------------------------------------------- --- -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]