Maven 1

Bad xml in project.xml may case dependencies to be totally ignored

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: 1.0-rc3
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

1.0rc2
a sample project.xml will be attached
this file contains 3 dependencies, the first is totally ignored (bad xml) and the last 2 are used.
tested with the last CVS version too. (1.0 branch)
This is really bad becase a user did not have a clue about the problem.

Activity

Hide
Miguel Griffa added a comment -

project.xml which will not advice of the problem with first dependency
tested with maven eclipse and java:compile goals

Show
Miguel Griffa added a comment - project.xml which will not advice of the problem with first dependency tested with maven eclipse and java:compile goals
Hide
Brett Porter added a comment -

betwixt isn't handling XML parsing errors properly. We will be replacing with a new parser post-1.0. In the mean time, run pom:validate if you are unsure if your pom is valid.

Show
Brett Porter added a comment - betwixt isn't handling XML parsing errors properly. We will be replacing with a new parser post-1.0. In the mean time, run pom:validate if you are unsure if your pom is valid.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: