[FIRSTCUP-14] Archetypes use incorrect version of parent pom. Created: 14/Jun/13  Updated: 14/Jun/13  Resolved: 14/Jun/13

Status: Resolved
Project: firstcup
Component/s: examples
Affects Version/s: 7.0.1
Fix Version/s: 7.0.2

Type: Bug Priority: Major
Reporter: Ian Evans Assignee: Ian Evans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The Maven release plugin doesn't update the versions in archetype projects, so the created archetypes are looking for org.glassfish.javaeetutorial.firstcup:firstcup:pom:7.0.1-SNAPSHOT. This should be 7.0.1.

See:
http://stackoverflow.com/questions/17071365/java-ee-7-first-cup-tutorial-maven-issues



 Comments   
Comment by Ian Evans [ 14/Jun/13 ]

The workaround is to edit the generated pom.xml and replace the parent definition with:

<parent>
    <artifactId>firstcup</artifactId>
    <groupId>org.glassfish.javaeetutorial.firstcup</groupId>
    <version>7.0.1</version>
</parent>

That is, delete -SNAPSHOT from <version> in the generated pom.xml.

Comment by Ian Evans [ 14/Jun/13 ]

Fixed in source, and committed to 7.0.1 and 7.0.2 branch. Looking into the possibility of pushing out an updated package in the Update Center.

Generated at Sun Apr 19 18:43:47 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.