<< Back to previous view

[FIRSTCUP-16] Improving parent pom to add <finalName> tag into <build> section Created: 22/Aug/13  Updated: 22/Aug/13  Resolved: 22/Aug/13

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

Type: Improvement Priority: Major
Reporter: TangYong Assignee: Ian Evans
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: Ian Evans and TangYong

 Description   

I suggest to improving parent pom to add <finalName> tag into <build> section liking the following:

<build>
<finalName>${project.artifactId}</finalName>
...
</build>

Why doing this improvement?

For released version, this has not any issue because in <version>, we can not set "SNAPSHOT", however, for trunk,
this will cause error while requesting ("http://localhost:8080/dukes-age/webapi/dukesAge") in DukesBDay class because uri has been hard-coded.

Thanks
Tang Yong



 Comments   
Comment by Ian Evans [ 22/Aug/13 05:02 PM ]

Fixed in source. Will appear in the next update.





[FIRSTCUP-15] First Cup typo in code example Created: 14/Jun/13  Updated: 14/Jun/13  Resolved: 14/Jun/13

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

Type: Bug Priority: Minor
Reporter: dipe Assignee: Ian Evans
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: dipe and Ian Evans

 Description   

Found a minor bug in First Cup Tutorial
Section 4.4.1.2,line logger.log(http://Level.INFO ,"absAgeDiff {0}". absAgeDiff);
should be comma after "absAgeDiff {0}" instead of period.

Thanks,
Dionisis Petrakopoulos



 Comments   
Comment by dipe [ 14/Jun/13 05:30 PM ]

it is "Level.INFO" not with http at the beginning....JIRA inserted that.

Comment by Ian Evans [ 14/Jun/13 05:39 PM ]

Fixed in source. Will appear in next update.





[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
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: Ian Evans

 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 05:16 PM ]

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 05:24 PM ]

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 Sat Apr 19 12:41:15 UTC 2014 using JIRA 4.0.2#472.