maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-223) Generated pom.xml has invalid chars (does not correctly handle xml entities)
Date Thu, 26 Apr 2007 18:30:26 GMT

    [ http://jira.codehaus.org/browse/MRELEASE-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94261
] 

Stefano Bagnara commented on MRELEASE-223:
------------------------------------------

Well, I used the xml entities so to not have to use the charset.
But when it build the output pom.xml it should take care to correctly escape data.

The problem is not my editor, but the mvn site plugin.

The website created after the release plugin "mungled" my pom.xml does no more contain the
correct char.

So this is all about maven: I don't use third party editors or anything else.

Just mvn release and mvn site.
I don't know how to test the 2.0-beta5-SNAPSHOT plugin instead of the 2.0-beta4 automatically
used by mvn.

> Generated pom.xml has invalid chars (does not correctly handle xml entities)
> ----------------------------------------------------------------------------
>
>                 Key: MRELEASE-223
>                 URL: http://jira.codehaus.org/browse/MRELEASE-223
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-4
>            Reporter: Stefano Bagnara
>
> In our main pom we have this entry:
> {code:xml} 
> <developer>
>   <id>hilmer</id>
>   <name>S&#248;ren Hilmer</name>
>   <email>sh at widetrail.dk</email>
>   <timezone />
>   <roles>
>     <role>Developer</role>
>   </roles>
> </developer>
> {code} 
> in the resulting pom.xml the entity is converted to the real value, and the next time
I try to use the pom it results in invalid output.
> {code:xml} 
> <developer>
>   <id>hilmer</id>
>   <name>Søren Hilmer</name>
>   <email>sh at widetrail.dk</email>
>   <timezone />
>   <roles>
>     <role>Developer</role>
>   </roles>
> </developer>
> {code} 

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

       

Mime
View raw message