Issue Details (XML | Word | Printable)

Key: MPMULTIPROJECT-44
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Felipe Leme
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Multi-Project Plugin

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

Created: 24/Aug/04 09:13 AM   Updated: 20/Sep/05 01:51 PM
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.5

Time Tracking:
Original Estimate: 3 hours
Original Estimate - 3 hours
Remaining Estimate: 3 hours
Remaining Estimate - 3 hours
Time Spent: Not Specified
Remaining Estimate - 3 hours

File Attachments: 1. Zip Archive testcase-MPMULTIPROJECT44.zip (0.6 kB)



 Description  « Hide
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 &.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Felipe Leme added a comment - 24/Aug/04 09:16 AM
Simple testcase that shows the issue.

Lukas Theussl added a comment - 15/Sep/05 01:10 PM
Verified with maven1.1beta2