You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/01/27 11:40:39 UTC
[jira] [Commented] (SM-2802) Elasticsearch bundle should embed
joda-time packages
[ https://issues.apache.org/jira/browse/SM-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119008#comment-15119008 ]
Jean-Baptiste Onofré commented on SM-2802:
------------------------------------------
https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git;a=commit;h=d71fc950107a4abfba7d0268af87ff23a910737c
> Elasticsearch bundle should embed joda-time packages
> ----------------------------------------------------
>
> Key: SM-2802
> URL: https://issues.apache.org/jira/browse/SM-2802
> Project: ServiceMix
> Issue Type: Bug
> Components: bundles
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: bundles-2016.01
>
>
> In order to avoid classloader issue, elasticsearch 2.x bundle should embed joda time packages.
> {code}
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <configuration>
> <instructions>
> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
> <Export-Package>org.elasticsearch.*;version=${pkgVersion};-split-package:=merge-first</Export-Package>
> <Import-Package> <!-- Only the below have been investigated from functionality used by Pulse
> prototype, i.e. don't expect all of ES to work! -->
> com.google.common.*,
> com.twitter.jsr166e,
> com.tdunning.math.stats,
> org.jboss.netty.*,
> com.carrotsearch.hppc.*,
> com.fasterxml.jackson.core.*,
> com.fasterxml.jackson.dataformat.smile.*,
> *;resolution:=optional
> </Import-Package>
> <Private-Package>
> org.joda.time.*;-split-package:=merge-first,
> org.apache.lucene.*;-split-package:=merge-first,
> META-INF.services;-split-package:=merge-first, <!-- This might be OK
> to be just 'first' as I'm assembling all the META-INF/servcies from lucene
> myself in src/main/resources -->
> config
> </Private-Package>
> </instructions>
> </configuration>
> </plugin>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)