You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (Commented) (JIRA)" <ji...@apache.org> on 2011/12/05 22:40:40 UTC

[jira] [Commented] (STANBOL-407) EntityHub-Yard-Solr build fails - bad dependency version: com.ibm.icu

    [ https://issues.apache.org/jira/browse/STANBOL-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163068#comment-13163068 ] 

Rupert Westenthaler commented on STANBOL-407:
---------------------------------------------

I had the same problem after updating from SVN. However this was a little surprise for me, because for Lucene/Solr 3.2 (the version currently used by STANBOL) icu4j is provided by lucene-icu4j.

After some testing I come the conclusion that the recent removal of the <scope>provided</scope> from the dependencies in the STANBOL parent POM has somehow caused the the com.ibm.icu/icu4j to override the "org.apache.lucene/lucene-icu4j" included in the org.apache.stanbol.commons.solr.core bundle.

However I would still like to keep icu4j version 3.4.4 as currently used by aperture (part of the enhancer/engines/metaxa engine).

Finally I decided to:

* define version 3.4.4 for com.ibm.icu/icu4j in the POM of the Metaxa engine
* remove org.apache.lucene/lucene-icu4j and replace it with com.ibm.icu/icu4j version 4.8.1.1 . Starting from Solr 3.3 "org.apache.lucene/lucene-icu4j" was replaced by the standard icu4j. So my assumption was that version 4.8 should be also OK for Solr 3.2. In anyway we will upgrade to Solr 3.5 rather sooner than later.

I will commit this changes shortly.

best
Rupert

p.s. I assume that this is limited to maven 3 because Jenkins (https://builds.apache.org/job/stanbol-trunk-1.6/) does not report this.
                
> EntityHub-Yard-Solr build fails - bad dependency version: com.ibm.icu
> ---------------------------------------------------------------------
>
>                 Key: STANBOL-407
>                 URL: https://issues.apache.org/jira/browse/STANBOL-407
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Entity Hub
>            Reporter: andy olliver
>
> Test phase of maven build for EntityHub-Yard-Solr fails due to dependency version clash.
> stanbol_parent pom declares dependency:
>   <dependency>
>       <groupId>com.ibm.icu</groupId>
>       <artifactId>icu4j</artifactId>
>       <version>3.4.4</version>
>    </dependency>
> whereas lucene.icu requires version 4.8
> setting version in stanbol_parent pom to 4.8 seems to fix the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira