Bug 873210
| Summary: | Errai quickstart guide documentation: Chapter 4. Errai Kitchen Sink Maven Archetype: mvn package error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Emil Cervenan <ecervena> | ||||
| Component: | Errai | Assignee: | Jonathan Fuerth <jfuerth> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Emil Cervenan <ecervena> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.1.0 | CC: | cbrock, csadilek, irooskov, jfuerth, kpiwko, mnovotny, pslegr, rruss | ||||
| Target Milestone: | GA | ||||||
| Target Release: | 2.2.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-04-17 15:03:21 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: | |||||||
| Attachments: |
|
||||||
|
Description
Emil Cervenan
2012-11-05 11:10:36 UTC
The documentation should be update to list proper Errai version. Emil, does it work if you provide correct Errai version (2.1.0.Final-redhat-1) ? (In reply to comment #1) > The documentation should be update to list proper Errai version. Emil, does > it work if you provide correct Errai version (2.1.0.Final-redhat-1) ? Yes, build will success with Errai 2.1.0.Final-redhat-1. The example has now been updated with the correct version Fix: jboss-errai-kitchensink-archetype contains pom.xml with wrong errai version. Correct version is "2.1.0-Final-redhat-1" Please comment this issue if the archetype is fixed and published in Maven Central. From my understanding, there are following problems: 1/ Emil is interchanging archetypeVersion and erraiVersion due to wrong documentation 2/ If you generate -Denterprise=true, you still get community errai, that's the referenced problem with the archetype. So, documentation should list: wfk-mvn archetype:generate -DarchetypeGroupId=org.jboss.errai.archetypes -DarchetypeArtifactId=jboss-errai-kitchensink-archetype -DarchetypeVersion=2.1.0.Final -DarchetypeRepository=https://repository.jboss.org/nexus/content/groups/public/ -Denterprise=true (implementation note: providing a variable like -Dversion.org.jboss.errai=2.1.0-redhat-1 would make easy to bump version without release archetype) And archetypes should be fixed to have -redhat-X errai version if -Denterprise=true. Created attachment 676779 [details]
Generated pom.xml file with -Denterprise=true
Attaching generated pom.xml
Was fixed in upstream but I'm not able to track down specific commit. Works well now. |