Maven 1.x Multi-Project Plugin

multiproject:site fail if sub-projects has a & on POM

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.4
  • Fix Version/s: 1.5
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

If a sub-project has a & in its description, multiproject:site fails, even though site:generate works fine on the sub-project:

xdoc:jelly-transform:
[echo] Generating D:/cvs/maven-plugins/test-multiproject/target/docs/projects-overview.html from D:\cvs\maven-plugins\test-multiproject\target\generated-xdocs\projects-overview.xml

BUILD FAILED
File...... C:\Documents and Settings\t_fl01\.maven\cache\maven-xdoc-plugin-1.9-snapshot-cpqd\plugin.jelly
Element... x:parse
Line...... 719
Column.... 42
Error on line 31 of document file:/D:/cvs/maven-plugins/test-multiproject/target/generated-xdocs/projects-overview.xml: The reference to entity ":" must end with the ';' delimiter. Nested exception: The reference to entity ":" must end with the ';' delimiter.
Total time: 39 seconds
Finished at: Mon Aug 23 10:05:13 BRT 2004

I haven't checked how projects-overview.xml is generated yet, but it is probably applying a XSL on the sub-project POM, and that transformation is replacing & for &.

Activity

Hide
Felipe Leme added a comment -

Simple testcase that shows the issue.

Show
Felipe Leme added a comment - Simple testcase that shows the issue.
Hide
Lukas Theussl added a comment -

Verified with maven1.1beta2

Show
Lukas Theussl added a comment - Verified with maven1.1beta2

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
3h
Original Estimate - 3 hours
Remaining:
3h
Remaining Estimate - 3 hours
Logged:
Not Specified
Time Spent - Not Specified