Maven quickstart archetype puts the wrong version in the pom.xml
----------------------------------------------------------------

                 Key: TAP5-1258
                 URL: https://issues.apache.org/jira/browse/TAP5-1258
             Project: Tapestry 5
          Issue Type: Bug
          Components: quickstart
    Affects Versions: 5.2.1, 5.2
            Reporter: Donny Nadolny
            Priority: Minor


Running the command mvn archetype:generate 
-DarchetypeCatalog=http://tapestry.apache.org (taken from 
http://tapestry.apache.org/tapestry5.2-dev/quickstart/) and specifying 5.2.0 
creates the project as expected, but the pom.xml contains 
<tapestry-release-version>5.2.0-SNAPSHOT</tapestry-release-version> which is 
incorrect - this project doesn't compile. The line should be 
<tapestry-release-version>5.2.0</tapestry-release-version>

Here are the steps to reproduce:
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart 
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://tapestry.apache.org -> quickstart (Tapestry 5.2.1-SNAPSHOT Quickstart 
Project)
2: http://tapestry.apache.org -> tapestry-archetype (Tapestry 4.1.6 Archetype)
Choose a number: : 1
Choose version: 
1: 5.0.19
2: 5.1.0.5
3: 5.2.0
4: 5.2.1-SNAPSHOT
Choose a number: : 3


In addition, trying to create a project for tapestry 5.2.1-SNAPSHOT also has 
the incorrect version 
<tapestry-release-version>5.2.0-SNAPSHOT</tapestry-release-version>, which 
should be <tapestry-release-version>5.2.1-SNAPSHOT</tapestry-release-version>

The steps are the same as above, but choosing 4 instead of 3.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to