You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:50:08 UTC
[jira] (ARCHETYPE-314) Create From Project Incorrectly Adds Version
Parameters
[ 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)