Maven 1.x Multi-Project Plugin
  1. Maven 1.x Multi-Project Plugin
  2. MPMULTIPROJECT-44

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
    • 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

          • Assignee:
            Unassigned
            Reporter:
            Felipe Leme
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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