[
https://issues.apache.org/jira/browse/STANBOL-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599861#comment-13599861
]
Rupert Westenthaler commented on STANBOL-966:
---------------------------------------------
upgrading to a newer version usually requires:
* update the version in the parent pom.xml
* this will automatically also take care of all embedded jar
* check version of dependencies
* update them in the parent pom.xml. This will solve build time issues
(incl. unit tests)
* update versions in the "bundlelists" (launchers/bundlelist/** modules).
This will solve runtime issues (incl. integration tests)
If you discover that you can not upgrade an dependency in the bundlelist (e.g.
because the newer version is incompatible with some other module), than the
best thing is to embed this dependency in the module that requires the new
version and leave a TODO explaining why this dependency needs to be embedded.
In this specific case it should be because Stanbol uses
"org.apache.httpcomponents" version "4.2.1" but Solr 4.2 references to version
"4.2.3". Updating the version in the parent pom.xml should solve this issue.
The runtime Stanbol uses already version "4.2.3" - so no change in the
bundlelists will be required.
> Upgrade Solr commons to Solr 4
> ------------------------------
>
> Key: STANBOL-966
> URL: https://issues.apache.org/jira/browse/STANBOL-966
> Project: Stanbol
> Issue Type: Improvement
> Components: Commons
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Priority: Minor
> Attachments: default.solrindex.zip, entityhub.solrindex.zip,
> smartcn.solrindex.zip, STANBOL-966.1.patch, STANBOL-966.2a.patch,
> STANBOL-966.2.patch, STANBOL-966.3.patch, STANBOL-966.4.patch.zip,
> STANBOL-966.5.patch.zip, STANBOL-966.6.patch, STANBOL-966.7.patch
>
>
> It'd be nice to upgrade org.apache.stanbol.commons.solr bundles to use Solr4.
--
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