Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-6
-
None
-
linux, maven-2.0.6
Description
It seems that when using the default site descriptor, no xml escaping is performed for name (and maybe other values).
Excerpt from pom.xml:
...
<name>Module "MyMod-1.0"</name>
...
Excerpt from build log:
...
[INFO] Error parsing site descriptorEmbedded error: expected = after attribute name (position: START_DOCUMENT seen ...ations\nunder the License.\n-->\n\n<project name="Module "MyMod-1.0"... @21:36)
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error parsing site descriptor
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
...
Attachments
Issue Links
- is duplicated by
-
MSITE-933 mvn site fails when <name> contains &
- Closed
-
MSITE-342 Module name with double quotes breaks site descriptor
- Closed
- is fixed by
-
DOXIASITETOOLS-299 Site descriptor interpolation does not properly escape reserved XML chars
- Closed
-
MSITE-935 Upgrade to Doxia Sitetools 2.0.0-M7, Maven Reporting Impl 4.0.0-M6, Maven Reporting Exec 2.0.0-M6
- Closed
- relates to
-
DOXIASITETOOLS-300 Don't populate Velocity context with XML entities
- Closed