You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bob Allison (JIRA)" <ji...@codehaus.org> on 2006/05/11 16:16:40 UTC

[jira] Updated: (MRELEASE-105) Top Matter Lost in POM

     [ http://jira.codehaus.org/browse/MRELEASE-105?page=all ]

Bob Allison updated MRELEASE-105:
---------------------------------

    Attachment: MRELEASE-105.pom

> Top Matter Lost in POM
> ----------------------
>
>          Key: MRELEASE-105
>          URL: http://jira.codehaus.org/browse/MRELEASE-105
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Versions: 2.0-beta-4
>  Environment:  Release plugin snapshot 20060509.101136-3, Subversion
>     Reporter: Bob Allison
>      Fix For: 2.0
>  Attachments: MRELEASE-105.pom
>
>
> I am losing the <?xml ... ?> and comment at the top of the POM.  After a great deal of trial and error, I determined that the problem seems to stem from having "<inherited/>" in one of my plugin definitions.  When the POM is transformed, it becomes "<inherited />" (notice the extra space) and that simple change causes the top matter to be retained on future releases.

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