Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0-alpha-4
-
None
-
None
-
Patch
Description
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.