Red Hat Bugzilla – Bug 800280
spring-2.5-bom contains wrong dependency spring-instrument-tomcat
Last modified: 2012-04-05 09:49:17 EDT
Description of problem:
Artefact com.redhat.jboss.wfk.boms:spring-2.5-bom:2.0.0-redhat-4 contains wrong dependency org.springframework:spring-instrument-tomcat:2.5.6.SEC03
This dependency doesn't exist, spring-instrument-tomcat is only available for spring 3+. Just removal of this dependency from dependencies section should be perfectly OK.
Version-Release number of selected component (if applicable):
spring-2.5-bom, versions: 2.0.0-redhat-4, 2.0.0-redhat-5
Steps to Reproduce:
1. Create pom.xml, that uses spring-2.5-bom in dependencyManagement section
2. Add spring-instrument-tomcat dependency to dependencies section
3. Create and build maven project based on this pom.xml via maven
It fails with similar message:
[ERROR] Failed to execute goal on project coverage-classes: Could not resolve dependencies for project com.redhat.jboss.wfk:coverage-classes:pom:0.0.1: Failure to find org.springframework:spring-instrument-tomcat:jar:2.5.6.SEC03 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]
Actually I can see that artifact only for 3.1.1.
Marius, could you answer whether it should be in BOM for Spring 3.0, 3.1 or in both?
There's been an artifact naming change. In 3.0 and 3.1 it's called spring-instrument-tomcat, whereas in 2.5 it's called spring-tomcat-weaver. We should update the boms accordingly.
org.springframework:spring-instrument.tomcat was removed from spring-2.5 BOM
Verified in WFK 2.0.0.ER3
Verified in WFK 2.0.0.ER3 (a.k.a. 2.0.0.Beta1).