Red Hat Bugzilla – Bug 825764
Ticket Monster transitively depends on com.google.inject:guice:jar:3.0-redhat-1 that can't be found
Last modified: 2012-06-22 03:32:37 EDT
Description of problem:
Ticket Monster example depends on errai-bus:2.0.0.Final-redhat-1 that depends on guice:3.0-redhat-1. However, this (guice) dependency is not neither in EAP6 ER8 maven repository nor in WFK2 ER6 maven repository.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. package Ticket Monster example
[ERROR] Failed to execute goal on project ticket-monster: Could not resolve dependencies for project org.jboss.jdf.examples:ticket-monster:war:1.0-redhat-1: The following artifacts could not be resolved: com.google.inject:guice:jar:3.0-redhat-1, hsqldb:hsqldb:jar:18.104.22.168-patch-01, org.jboss.weld:weld-build-config:jar:1.1.8.Final-redhat-1: Failure to find com.google.inject:guice:jar:3.0-redhat-1 in file:///home/trepel/sources/wfk-qa/build/configuration/../../../obsolete-repository was cached in the local repository, resolution will not be reattempted until the update interval of obsolete-enterprise-repository has elapsed or updates are forced -> [Help 1]
It creates ticket-monster.war
Ticket monster example transitively depends on another two missing dependencies:
- hsqldb:hsqldb:jar:22.214.171.124-patch-01 (because of errai-tools:2.0.0.Final-redhat-1 dependency)
- org.jboss.weld:weld-build-config:jar:1.1.8.Final-redhat-1 (because of errai-weld-integration:2.0.0.Final-redhat-1)
fixed in wfk-prod-2.0.1.Final , changed back into version, that can be found in maven central: guice-3.0, hsqldb-126.96.36.199, guava-12.0, resteasy-2.2.3.GA and removed weld-build-config dependency as this one is only checkstyle definition
Tried now to build localy TM with already cleaned dependecies (with wfk-prod-2.0.1.Final HEAD) and with localy set up jboss-eap-6.0.0.CR1-maven-repository & jboss-wfk-2.0.0.ER7-maven-repository M2 repos... built success...
Verified in WFK2 ER8.