Bug 1037676 - Missing dependency for jackson-core-asl
Summary: Missing dependency for jackson-core-asl
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER10
: EAP 6.3.0
Assignee: David Walluck
QA Contact: Nikoleta Hlavickova
Russell Dickenson
URL:
Whiteboard:
: 995164 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-03 15:18 UTC by Shay Matasaro
Modified: 2018-12-03 20:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 14:37:28 UTC
Type: Bug


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.