[
https://jira.codehaus.org/browse/ARCHETYPE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed ARCHETYPE-379.
------------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> Problem creating archetypes from project with a given encoding
> --------------------------------------------------------------
>
> Key: ARCHETYPE-379
> URL: https://jira.codehaus.org/browse/ARCHETYPE-379
> Project: Maven Archetype
> Issue Type: Bug
> Components: Creator
> Affects Versions: 2.0-alpha-4
> Reporter: Javier Diaz
> Attachments: archetype-metadata.xml,
> maven-archetype-2.0-alpha-4.patch, pom.xml.sample
>
>
> I'm trying to create and archetype from a project using a default encoding
> different from UTF-8. As states in the plugin page the option defaultEncoding
> could be used for that purpose but after configuring my pom and executing the
> command, the file archetype-metada.xml still uses UTF-8. Attached can be
> found the pom file I'm using and the resulting archetype-metada.xml.
> I've detected that the property defaultEncoding is not been used in the class
> CreateArchetypeFromProjectMojo. Maybe that's the cause of the problem.
> Attached can be found a patch for version 2.0-alpha-4 but I think the
> solution is the same for version 2.0.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)