Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5319

Better formatting of "missing dependencies" error message - add newlines

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • 3.0.4
    • None
    • Dependencies, Errors, Logging
    • None

    Description

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

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

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

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pekarna Ondra Žižka
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: