Maven 1

Executing the "pom:validate" goal on a reconstituted project.xml file using the content from the ten minute test page produces error messages

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-3
  • Component/s: documentation
  • Labels:
    None
  • Environment:
    Maven 1.1b1 on Windows - but it is not a platform related issue
  • Number of attachments :
    3

Description

The project.xml contents which appear as an example on http://maven.apache.org/start/ten-minute-test.html causes the pom:validate goal to declare errors.

I've created a replacement version that I'm attaching which passes the pom:validate test. I've included XML namespace and schema references in the project tag. A validating XML parsed the document without complaint.

  1. MAVEN-1653.patch
    06/Oct/05 12:35 PM
    0.5 kB
    Lukas Theussl
  2. MAVEN-1653-2.patch
    03/Jan/06 4:55 PM
    2 kB
    Lukas Theussl
  3. project.xml
    28/Jul/05 1:48 PM
    1 kB
    Andy Glick

Issue Links

Activity

Hide
Arnaud Heritier added a comment -

This is due to this "issue"

Show
Arnaud Heritier added a comment - This is due to this "issue"
Hide
Lukas Theussl added a comment -

MPPOM-5 is fixed but the example is still incorrect, <version> should be <currentVersion>. The namespace requirement is currently still under discussion, I think we will remove it.

Show
Lukas Theussl added a comment - MPPOM-5 is fixed but the example is still incorrect, <version> should be <currentVersion>. The namespace requirement is currently still under discussion, I think we will remove it.
Hide
Arnaud Heritier added a comment -

Applied. thanks.

Show
Arnaud Heritier added a comment - Applied. thanks.
Hide
Lukas Theussl added a comment -

Another patch that fixes this issue (with pom-plugin-1.5). Also contains some documentation updates for MAVEN-1602.

Show
Lukas Theussl added a comment - Another patch that fixes this issue (with pom-plugin-1.5). Also contains some documentation updates for MAVEN-1602.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: