[
http://jira.codehaus.org/browse/MPH-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton closed MPH-40.
------------------------------
Assignee: Vincent Siveton
Resolution: Fixed
Fix Version/s: 2.1
Fixed in [r688412|http://svn.apache.org/viewvc?rev=688412&view=rev], snapshot
deployed.
For reactorProjects, I added a <projects/> tag as suggested.
> help:effective-pom emits invalid XML to output file
> ---------------------------------------------------
>
> Key: MPH-40
> URL: http://jira.codehaus.org/browse/MPH-40
> Project: Maven 2.x Help Plugin
> Issue Type: Improvement
> Reporter: Jürgen Hermann
> Assignee: Vincent Siveton
> Fix For: 2.1
>
>
> Currently, this fragile post-processing is needed to make the content in a
> file generated with -Doutput=... parseable:
> <move overwrite="true" file="${deploy.effective.pom.xml.file}.tmp"
> tofile="${deploy.effective.pom.xml.file}">
> <filterchain>
> <replaceregex pattern="^(Created by:)"
> replace='<!-- \1' />
> <replaceregex pattern="^<.xml .*>(<project>)"
> replace='--> \1' />
> <replaceregex pattern="^\*+$" replace='' />
> </filterchain>
> </move>
> Solution: Either add XML comments in the generation markup, or only output
> the XML proper to the output file, leaving the text out of it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira