Bug 975740

Summary: Errai archetypes has wrong versions
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Matous Jobanek <mjobanek>
Component: ErraiAssignee: Petr Penicka <ppenicka>
Status: CLOSED CURRENTRELEASE QA Contact: Matous Jobanek <mjobanek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.3.0CC: csadilek, edewit, jfuerth, kpiwko, mnovotny, pslegr, rruss
Target Milestone: GA   
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-16 11:32:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matous Jobanek 2013-06-19 09:03:35 UTC
Description of problem:
All Errai archetypes mentioned in the Maven Repository User Guide [1] has old version of GWT (2.4.0) and when the option -Denterprise=true is used the version of Errai is still 2.3.2.Final instead of 2.3.2.Final-redhat-1


Version-Release number of selected component (if applicable):
2.3.0


How reproducible:
Use any of the archetypes

Steps to Reproduce: for bus-quickstart
1. mvn archetype:generate \
-DarchetypeGroupId=org.jboss.errai.archetypes \
-DarchetypeArtifactId=bus-quickstart \
-DarchetypeVersion=2.3.2.Final \
-Denterprise=true

2. open the pom.xml


Actual results:
wrong version:
GWT 2.4.0
Errai 2.3.2.Final


Expected results:
GWT 2.5.1
Errai 2.3.2.Final-redhat-1

Additional info:


[1] http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_JBoss_Web_Framework_Kit/2.3/html-single/Maven_Repository_User_Guide/index.html#available_maven_archetypes

Comment 2 Jonathan Fuerth 2013-06-24 18:08:32 UTC
Of the Errai archetypes listed in that document, only jboss-errai-kitchensink-archetype is set up for use with WFK: it supports the -Denterprise=true flag and is built on the jboss-jdf bom per the requirements that were given to us.

So the first three archetypes should be removed from the document. Who maintains that document? Is it Petr?

The last (kitchensink) requires the JDF project to publish a new set of BOMs every time we release a new version of Errai. I've sent the pull request [1] and I will publish a new Kitchen Sink archetype that points to the new JDF BOM release once that's out.

[1] https://github.com/jboss-jdf/jboss-bom/pull/28

Comment 4 Jonathan Fuerth 2013-06-26 15:58:29 UTC
Okay, the new community BOM has been published.

I've just published jboss-errai-kitchensink-archetype:2.3.2.Final to the JBoss Community Nexus repo, and it should be synced to Maven Central within a few hours.

Comment 6 Petr Penicka 2013-07-03 13:25:38 UTC
All Errai archetypes except jboss-errai-kitchensink-archetype are removed from the guide.

Docs stage URL: https://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_JBoss_Web_Framework_Kit/2.3/html/Maven_Repository_User_Guide/archetypes.html#available_maven_archetypes

Comment 7 Matous Jobanek 2013-07-03 13:33:12 UTC
Verified in WFK 2.3.0.CR2