Create From Project Incorrectly Adds Version Parameters
-------------------------------------------------------
Key: ARCHETYPE-314
URL: http://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 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