Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2.1, 5.2
-
None
Description
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:
run: mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org
[INFO] [archetype:generate
]
[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
[[fill in any info for the groupId, artifactId, etc]] and then mvn jetty:run
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.