Bug 1037676

Summary: Missing dependency for jackson-core-asl
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Shay Matasaro <smatasar>
Component: Maven RepositoryAssignee: David Walluck <dwalluck>
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.1CC: bsutter, fnasser, kkhan, klape, myarboro
Target Milestone: ER10   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 14:37:28 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:

Description Shay Matasaro 2013-12-03 15:18:29 UTC
In the downloaded maven repo, using the javaee-6-with-tools bom

  <groupId>org.codehaus.jackson</groupId>
  <artifactId>jackson-mapper-asl</artifactId>
  <version>1.9.9-redhat-2</version>


references a non existing version

<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
< Version> 1.9.9-redhat-1

Comment 1 Paul Gier 2014-07-02 21:43:42 UTC
The workaround for this issue is to use the supported artifacts BOM as defined in the Maven dependency management section of the developer guide.  That will override the transitive dependency version.

However, this issue can still occur (even in 6.3) when accessing this dependency directly.  So we should do a new build using the current dependency standards using upstream transitive dependency versions.  That should prevent this issue.

Assigning to dwalluck because he did the previous jackson build.

Comment 2 Paul Gier 2014-07-02 21:53:10 UTC
*** Bug 995164 has been marked as a duplicate of this bug. ***

Comment 3 David Walluck 2014-07-03 17:22:33 UTC
I am going to fix those versions so that they reference ${project.version} and make sure that any other dependency has a valid (maven central) version as well.

That said, once the BOM is updated, it should override with the correct version as well.

Comment 4 David Walluck 2014-07-03 20:47:26 UTC
(In reply to Shay Matasaro from comment #0)
> references a non existing version
> 
> <groupId>org.codehaus.jackson</groupId>
> <artifactId>jackson-core-asl</artifactId>
> < Version> 1.9.9-redhat-1

I updated the version in the latest BOM to 1.9.9.redhat-3. Please retest.

Comment 6 Paul Gier 2014-07-08 16:27:41 UTC
There appears to be a mistake in the pom for jackson-mapper-lgpl-1.9.9.pom
It doesn't have the -redhat-X suffix.

Comment 7 Paul Gier 2014-07-08 16:29:13 UTC
Ignore previous comment, looks like that problem was already fixed:
https://brewweb.devel.redhat.com/buildinfo?buildID=368242

Comment 9 Nikoleta Hlavickova 2014-07-16 09:49:58 UTC
  <dependency>
    <groupId>org.codehaus.jackson</groupId>
    <artifactId>jackson-mapper-asl</artifactId>
    <version>1.9.9.redhat-3</version>
  </dependency>

can be resolved using jboss-javaee-6.0-with-tools BOM in EAP 6.3.0.ER10