Red Hat Bugzilla – Bug 973731
Cannot build RichFaces Showcase with EAP 6.1 Maven repository
Last modified: 2013-07-16 07:11:29 EDT
Description of problem:
Several dependencies in RichFaces Showcase's pom.xml are outdated, i.e. they are not in EAP 6.1.0 Maven repository but they are in either EAP 6.0.0 or 6.0.1 Maven repositories.
At least these have to be updated:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. unzip jboss-wfk-2.3.0.ER1-richfaces-demo.zip
2. cd jboss-wfk-2.3.0.ER1/demo/richfaces-4.3.2.Final-redhat-1/richfaces-showcase
3. mvn clean instal -s /path/to/custom/settings.xml
[ERROR] Failed to execute goal on project richfaces-showcase: Could not resolve dependencies for project org.richfaces.examples:richfaces-showcase:war:4.3.2.Final-redhat-1: The following artifacts could not be resolved: org.hibernate:hibernate-validator:jar:4.2.0.Final-redhat-2, org.slf4j:slf4j-api:jar:1.6.1-redhat-2, org.hornetq:hornetq-core:jar:2.2.23.Final-redhat-1, org.hornetq:hornetq-jms:jar:2.2.23.Final-redhat-1, org.hornetq:hornetq-logging:jar:2.2.23.Final-redhat-1, org.jboss.netty:netty:jar:3.2.6.Final-redhat-2, javax.inject:javax.inject:jar:1-redhat-2: Could not find artifact org.hibernate:hibernate-validator:jar:4.2.0.Final-redhat-2 in wfk-latest-enterprise-repository (file:///data/workspace/wfk/wfk-tools/maven-bootstrap/jboss-wfk-2.3.0.ER1-maven-repository) -> [Help 1]
Maven finishes successfully and showcase.war is in target directory.
There is a question how you would like to handle changed hornetq version and its maven artifacts for hornetq 2.3.1.Final.
You should create the issue upstream too, as I need to know what solution is supported by Richfaces team - stay on hornetq 2.2.x or use changed GAV for 2.3.x
*** Bug 973732 has been marked as a duplicate of this bug. ***
I changed the showcase to use org.hornetq:hornetq-*:2.3.1.Final-redhat-1
The other thing broken in EAP 6.1.0 repository is missing some transitive dependencies related to and fixed by http://git.app.eng.bos.redhat.com/?p=richfaces/showcase.git;a=commitdiff;h=139ebd8745e90e5c5279882baf3259df70fa4358