dependency resolution needs more whitespace
-------------------------------------------

                 Key: MNG-4826
                 URL: http://jira.codehaus.org/browse/MNG-4826
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Logging
    Affects Versions: 3.0-beta-3
            Reporter: Brett Porter


Here are some sample errors:

# plugin parent failure
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test (default-test) on 
project skin: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test failed: Plugin 
org.apache.maven.plugins:maven-surefire-plugin:2.4.2 or one of its dependencies 
could not be resolved: Failed to collect dependencies for 
org.apache.maven.plugins:maven-surefire-plugin:jar:2.4.2 (): Failed to read 
artifact descriptor for 
org.apache.maven.plugins:maven-surefire-plugin:jar:2.4.2: Failed to resolve POM 
for org.apache.maven.surefire:surefire:2.4.2 due to The following artifacts 
could not be resolved: org.apache.maven.surefire:surefire:pom:2.4.2: Could not 
transfer artifact org.apache.maven.surefire:surefire:pom:2.4.2 from archiva 
(http://lcalhost:7777/archiva/repository/all, releases=true, snapshots=false, 
managed=false): Error transferring file: Operation timed out -> [Help 1]
{code}
# dep resolution failure
{code}
[ERROR] Failed to execute goal on project archiva: Could not resolve 
dependencies for project org.apache.archiva:archiva:pom:1.4-SNAPSHOT: The 
following artifacts could not be resolved: junit:junit:jar:1.8.1: Could not 
find artifact junit:junit:jar:1.8.1 in archiva 
(http://localhost:7777/archiva/repository/all, releases=true, snapshots=true, 
managed=false) -> [Help 1]
{code}
# multi-dep resolution failure
{code}
[ERROR] Failed to execute goal on project archiva-webapp: Could not resolve 
dependencies for project org.apache.archiva:archiva-webapp:war:1.4-SNAPSHOT: 
The following artifacts could not be resolved: 
org.apache.archiva:generic-metadata-support:jar:1.4-SNAPSHOT, 
org.apache.archiva:npanday-support:jar:1.4-SNAPSHOT, 
org.apache.archiva:repository-statistics:jar:1.4-SNAPSHOT, 
org.apache.archiva:problem-reports:jar:1.4-SNAPSHOT, 
org.apache.archiva:audit:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-scheduler-repository:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-indexer:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-proxy:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-repository-layer:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-security:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-core-consumers:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-metadata-consumer:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-lucene-consumers:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-signature-consumers:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-applet:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-rss:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-xmlrpc-api:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-xmlrpc-services:jar:1.4-SNAPSHOT, 
org.apache.archiva:archiva-xmlrpc-security:jar:1.4-SNAPSHOT, 
org.codehaus.redback:redback-struts2-content:war:1.3-SNAPSHOT, 
org.codehaus.redback:redback-struts2-integration:jar:1.3-SNAPSHOT, 
org.codehaus.redback:redback-common-integrations:jar:1.3-SNAPSHOT, 
org.apache.archiva:archiva-webdav:jar:1.4-SNAPSHOT, 
org.apache.archiva:metadata-model:jar:1.4-SNAPSHOT, 
org.apache.archiva:metadata-repository-api:jar:1.4-SNAPSHOT, 
org.apache.archiva:metadata-repository-file:jar:1.4-SNAPSHOT, 
org.apache.archiva:maven2-repository:jar:1.4-SNAPSHOT: Could not find artifact 
org.apache.archiva:generic-metadata-support:jar:1.4-SNAPSHOT in archiva 
(http://localhost:7777/archiva/repository/all, releases=true, snapshots=true, 
managed=false) -> [Help 1]
{code}

For the first two, I think the artifact not found can be on a new line to be 
clearer, with the exception separate. The chained exceptions should be on a new 
line, and some might benefit from being rethrown without adding new information 
if the message is already sufficient.
For the last, I'd like to see each artifact not found on a new line, with the 
error at the bottom (which should be artifacts, not artifact).

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


Reply via email to