Ondrej Zizka created MNG-5319:
---------------------------------

             Summary: Better formatting of "missing dependencies" error message 
- add newlines
                 Key: MNG-5319
                 URL: https://jira.codehaus.org/browse/MNG-5319
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Dependencies, Errors, Logging
    Affects Versions: 3.0.4
            Reporter: Ondrej Zizka
            Priority: Critical


When a build fails with missing dependencies, the error message given is a 
plain single line concatenated to unreadable blob.

{code}
[ERROR] Failed to execute goal on project jboss-as-testsuite: Could not resolve 
dependencies for project 
org.jboss.as:jboss-as-testsuite:pom:7.1.3.Final-redhat-1: The following 
artifacts could not be resolved: 
org.picketlink:picketlink-core:jar:2.1.1.Final, 
org.picketlink.distribution:picketlink-jbas7:jar:2.1.1.Final, 
org.picketbox:picketbox:jar:4.0.9.Final, 
org.picketbox:picketbox-commons:jar:1.0.0.final, 
org.picketbox:picketbox-infinispan:jar:4.0.9.Final: The repository system is 
offline but the artifact org.picketlink:picketlink-core:jar:2.1.1.Final is not 
available in the local repository. -> [Help 1]
{code}

It would be very useful if this was nicely formated in format such as:

{code}
[ERROR] Failed to execute goal on project jboss-as-testsuite: 
  Could not resolve dependencies for project 
org.jboss.as:jboss-as-testsuite:pom:7.1.3.Final-redhat-1:
  The following artifacts could not be resolved:
    org.picketlink:picketlink-core:jar:2.1.1.Final
    org.picketlink.distribution:picketlink-jbas7:jar:2.1.1.Final
    org.picketbox:picketbox:jar:4.0.9.Final
    org.picketbox:picketbox-commons:jar:1.0.0.final
    org.picketbox:picketbox-infinispan:jar:4.0.9.Final
  The repository system is offline but the artifact 
org.picketlink:picketlink-core:jar:2.1.1.Final is not available in the local 
repository. -> [Help 1]
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to