Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-24

Not enough diagnostics if failed to validate POM

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.7
    • pom task
    • None

    Description

      If there are some problems with dependencies, and with maven tasks prints:

      [artifact:pom] An error has occurred while processing the Maven artifact tasks.
      [artifact:pom]  Diagnosis:
      [artifact:pom] 
      [artifact:pom] Unable to build project: /Users/yozh/devel/mx/pom.xml
      [artifact:pom] Failed to validate POM
      

      but should print like how maven prints:

      Validation Messages:
      
          [0]  For dependency Dependency {groupId=opensymphony, artifactId=xwork-tiger, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [1]  For dependency Dependency {groupId=javamail, artifactId=smtp, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [2]  For dependency Dependency {groupId=opensymphony, artifactId=xwork, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [3]  For dependency Dependency {groupId=opensymphony, artifactId=rife, version=0.0.1, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [4]  For dependency Dependency {groupId=javamail, artifactId=activation, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [5]  For dependency Dependency {groupId=opensymphony, artifactId=oscore, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [6]  For dependency Dependency {groupId=opensymphony, artifactId=webwork, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
          [7]  For dependency Dependency {groupId=javamail, artifactId=mailapi, version=hz, type=jar}:
      system-scoped dependency must specify an absolute path systemPath.
      
      Reason: Failed to validate POM
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yozh Stepan Koltsov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: