[
https://issues.jboss.org/browse/DROOLS-409?page=com.atlassian.jira.plugin...
]
Alexandre Porcelli commented on DROOLS-409:
-------------------------------------------
A general overview of this situation:
jboss-integration-platfor-parent:3.6.2
We don't have control over integration bom - and we have a situation where one
component of the bom (modeshape) needs to use 3.6.2 (in fact what makes modeshape needs it
is hibernate-search that uses 3.6.2)
kie-parent-with-dependencies:4.0
Kie uses UberFire for tooling and has no relation to Modeshape - so we had to overwrite
integration bom with lucene 4.0
drools-wb-jcr2vfs-migration-core:mixed versions
The issue here comes from the need to update an old JCR repository to new git based one.
The new repository is a UberFire repository, that uses lucene version 4 and old JCR
repository is a jackrabbit repository - and probably jackrabbit has lucene 2.4.1
dependency.
All this to say that would be hard to fix this issue as we need port old repositorty to
new one.
Transitive dependencies for org.apache.lucene:lucene-core
---------------------------------------------------------
Key: DROOLS-409
URL:
https://issues.jboss.org/browse/DROOLS-409
Project: Drools
Issue Type: Component Upgrade
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.Final
Environment: Fedora 19
Reporter: Michael Biarnes Kiefer
Assignee: Alexandre Porcelli
In jboss-integration-platfor-parent we have defined the version
<version.org.apache.lucene>3.6.2</version.org.apache.lucene>. The component of
org.apache.lucene:lucene-core has this version, declared in the jboss integration
platform-bom.
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>${version.org.apache.lucene}</version>
</dependency>
The module drools-wb-jcr2vfs-migration-core has transitive dependencies to lucene-core
2.4.1. and 4.0.0.
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.apache.lucene:lucene-core:2.4.1 paths to
dependency are:
+-org.drools:drools-wb-jcr2vfs-migration-core:6.1.0-SNAPSHOT
+-org.apache.lucene:lucene-core:2.4.1
and
+-org.drools:drools-wb-jcr2vfs-migration-core:6.1.0-SNAPSHOT
+-org.drools:guvnor-repository:5.6.0.CR1
+-org.drools:guvnor-repository-connector-jackrabbit:5.6.0.CR1
+-org.apache.jackrabbit:jackrabbit-core:2.2.8
+-org.apache.lucene:lucene-core:4.0.0
At least we have three different versions of lucene-core in our modules.
2.4.1, 3.6.2 and 4.0.0.
How can we fix this?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira