You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2011/01/14 10:16:58 UTC

[jira] Created: (MARCHETYPES-37) The POM of generated projects should have xml prolog/header specifying encoding

The POM of generated projects should have xml prolog/header specifying encoding
-------------------------------------------------------------------------------

                 Key: MARCHETYPES-37
                 URL: http://jira.codehaus.org/browse/MARCHETYPES-37
             Project: Maven Archetype Bundles
          Issue Type: Improvement
          Components: Maven Archetype Archetype, Maven Plugin Archetype, Maven Plugin Site Archetype, Maven Portlet Archetype, Maven Quickstart Archetype, Maven Simple J2EE Archetype, Maven Simple Project Archetype, Maven Simple Site Archetype, Maven Site Archetype, Maven Webapp Archetype
         Environment: n/a
            Reporter: Anders Hammar
         Attachments: archetypes.patch

The POM generated by the archetypes should have an xml prolog/header specifying encoding. For anyone using non-ascii chars this is important as it will ensure that chars are handled correctly.

I've attached a patch for this. Changes are relative the top level archetypes project trunk.

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

        

[jira] Commented: (MARCHETYPES-37) The POM of generated projects should have xml prolog/header specifying encoding

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MARCHETYPES-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251579#action_251579 ] 

Anders Hammar commented on MARCHETYPES-37:
------------------------------------------

There is no fix for the "Simple Project Archetype" (maven-archetype-simple), as I couldn't find a pom (nor understand its structure). Please remove it from the listed components for this jira!


> The POM of generated projects should have xml prolog/header specifying encoding
> -------------------------------------------------------------------------------
>
>                 Key: MARCHETYPES-37
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-37
>             Project: Maven Archetype Bundles
>          Issue Type: Improvement
>          Components: Maven Archetype Archetype, Maven Plugin Archetype, Maven Plugin Site Archetype, Maven Portlet Archetype, Maven Quickstart Archetype, Maven Simple J2EE Archetype, Maven Simple Project Archetype, Maven Simple Site Archetype, Maven Site Archetype, Maven Webapp Archetype
>         Environment: n/a
>            Reporter: Anders Hammar
>         Attachments: archetypes.patch
>
>
> The POM generated by the archetypes should have an xml prolog/header specifying encoding. For anyone using non-ascii chars this is important as it will ensure that chars are handled correctly.
> I've attached a patch for this. Changes are relative the top level archetypes project trunk.

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

        

[jira] Commented: (MARCHETYPES-37) The POM of generated projects should have xml prolog/header specifying encoding

Posted by "Joerg Schaible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MARCHETYPES-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251601#action_251601 ] 

Joerg Schaible commented on MARCHETYPES-37:
-------------------------------------------

The XML spec defines UTF-8 if the header is missing.

> The POM of generated projects should have xml prolog/header specifying encoding
> -------------------------------------------------------------------------------
>
>                 Key: MARCHETYPES-37
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-37
>             Project: Maven Archetype Bundles
>          Issue Type: Improvement
>          Components: Maven Archetype Archetype, Maven Plugin Archetype, Maven Plugin Site Archetype, Maven Portlet Archetype, Maven Quickstart Archetype, Maven Simple J2EE Archetype, Maven Simple Project Archetype, Maven Simple Site Archetype, Maven Site Archetype, Maven Webapp Archetype
>         Environment: n/a
>            Reporter: Anders Hammar
>         Attachments: archetypes.patch
>
>
> The POM generated by the archetypes should have an xml prolog/header specifying encoding. For anyone using non-ascii chars this is important as it will ensure that chars are handled correctly.
> I've attached a patch for this. Changes are relative the top level archetypes project trunk.

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