You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alain Coetmeur (JIRA)" <ji...@codehaus.org> on 2007/04/26 19:43:28 UTC

[jira] Commented: (MRELEASE-221) XML header missing in modified POM after release:prepare

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

Alain Coetmeur commented on MRELEASE-221:
-----------------------------------------

Hum... 
I've checked (latest snapshot) , I can repeat the problem
pom.xml starts with:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>


maybe is it related to another problems,

my release:prepare is interupted after the compilation of the project
( completedPhase=run-preparation-goals )

with a message before the checkin :An error is occurred in the checkin process: C:\Developpement\MavenWork\FWK DEI Module Trace Manager\pom.xml was not contained in C:\Developpement\MavenWork\FWK DEI Maven All

this is because I use sibling module instead of sub directories... (another problem)...
anyway it seems to happens at a moment the plugin wand to commit all.

I use JDK1.6.0-b2, and maybe is it an XML problem...



message at the end of the prepare ...

    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 minute 23 seconds
    [INFO] Finished at: Thu Apr 26 19:16:06 CEST 2007
    [INFO] Final Memory: 19M/61M
    [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error is occurred in the checkin process: C:\Developpement\MavenWork\FWK DEI Module Trace Manager\pom.xml was not contained in C:\Developpement\MavenWork\FWK DEI Maven All




> XML header missing in modified POM after release:prepare
> --------------------------------------------------------
>
>                 Key: MRELEASE-221
>                 URL: http://jira.codehaus.org/browse/MRELEASE-221
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>         Environment: Windows XP, CVSNT, Eclipse
>            Reporter: Alain Coetmeur
>             Fix For: 2.0-beta-5
>
>
> When release plugin modifies the POM to prepare a new release,
> the new file does not containt the XML header
> <?xml version="1.0" encoding="ISO-8859-1"?>
> it cause problems with XML editors who ignore the encoding and breaks all unusual characters.
> some XML tools also don't accept XML files without headers...

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