[
https://jira.codehaus.org/browse/ARCHETYPE-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed ARCHETYPE-314.
------------------------------------
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.
> Create From Project Incorrectly Adds Version Parameters
> -------------------------------------------------------
>
> Key: ARCHETYPE-314
> URL: https://jira.codehaus.org/browse/ARCHETYPE-314
> Project: Maven Archetype
> Issue Type: Bug
> Environment: Windows XP, Maven 2.2.1
> Reporter: Shelli Orton
> Priority: Minor
>
> When creating an archetype from a project, the generator changes all
> instances of
> version="1.0"
> found in xml config files (located in src/main/webapp/WEB-INF) to
> version="${version}"
> This includes the XML declaration/header at the top of the file. So, this:
> <?xml version="1.0" encoding="UTF-8"?>
> becomes this:
> <?xml version="${version}" encoding="UTF-8"?>
> Therefore, one has to go and fix all the config files back before installing
> the archetype.
> Is it possible for the generator to not update these version numbers?
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)