Details
-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
7.7.1.GA
-
None
Description
Hi,
there is following dependency issue in the product - specifically in offline env.
When I attempt to build the KJAR, it attempts to resolve drools-scenario-simulation-backend dependency.
This dependency depends on following:
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency>
The version of jackson-databind seems to be defined in kie-parent:
Like this:
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.10.1-redhat-00001</version> </dependency>
The jackson-databind depends on following version of jackson-annotations:
<jackson.version.annotations> 2.9.10.redhat-00003 </jackson.version.annotations>
However, in kie-parent, following version for jackson-annotations is defined:
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.9.9.redhat-00001</version> </dependency>
In offliner.txt, following version is defined:
/com/fasterxml/jackson/core/jackson-annotations/2.3.0/jackson-annotations-2.3.0.pom /com/fasterxml/jackson/core/jackson-annotations/2.3.1/jackson-annotations-2.3.1.jar /com/fasterxml/jackson/core/jackson-annotations/2.3.1/jackson-annotations-2.3.1.pom /com/fasterxml/jackson/core/jackson-annotations/2.9.9.redhat-00001/jackson-annotations-2.9.9.redhat-00001.jar /com/fasterxml/jackson/core/jackson-annotations/2.9.9.redhat-00001/jackson-annotations-2.9.9.redhat-00001.pom /com/fasterxml/jackson/core/jackson-annotations/2.9.9.redhat-00001/jackson-annotations-2.9.9.redhat-00001-sources.jar
Since jackson-databind depends on jackson-annotations:2.9.10.redhat-00003 - which is NOT defined in offliner.txt the KJAR build fails with artifact (jackson-annotations:2.9.10.redhat-00003) not found.