Maven 2.x Ant Tasks

Not enough diagnostics if failed to validate POM

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.7
  • Component/s: pom task
  • Labels:
    None
  • Number of attachments :
    0

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

Activity

Hide
Herve Boutemy added a comment -

error reporting has been improved as much as possible in MANTTASKS-73

Show
Herve Boutemy added a comment - error reporting has been improved as much as possible in MANTTASKS-73

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: