From: Tuukka Lehtonen Date: Thu, 18 Aug 2016 10:21:50 +0000 (+0300) Subject: Use Require-Bundle in lucene bundles to avoid class loading problems. X-Git-Tag: v1.25.0~161 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F36%2F1;p=simantics%2Fplatform.git Use Require-Bundle in lucene bundles to avoid class loading problems. Change-Id: Ia5cb73cf8658fa245a79b7ac8ecc5a157b1d90a2 --- diff --git a/releng/org.simantics.sdk.build.p2.site/pom.xml b/releng/org.simantics.sdk.build.p2.site/pom.xml index 42fb59d55..5233c9796 100644 --- a/releng/org.simantics.sdk.build.p2.site/pom.xml +++ b/releng/org.simantics.sdk.build.p2.site/pom.xml @@ -11,7 +11,7 @@ 2.1.7.b1 4.9.0 - 4.9.0.b0001 + 4.9.0.b0002 org.apache.lucene4 @@ -110,6 +110,7 @@ ${lucene.prefix}.core ${lucene.version.actual} + *;version="${lucene.version}" @@ -118,7 +119,9 @@ ${lucene.prefix}.queries ${lucene.version.actual} - org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional + ${lucene.prefix}.core;bundle-version="${lucene.version}" + *;version="${lucene.version}" + !org.apache.lucene.*,*;resolution:=optional @@ -127,7 +130,9 @@ ${lucene.prefix}.sandbox ${lucene.version.actual} - org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional + ${lucene.prefix}.core;bundle-version="${lucene.version}" + *;version="${lucene.version}" + !org.apache.lucene.*,*;resolution:=optional @@ -136,7 +141,9 @@ ${lucene.prefix}.queryparser ${lucene.version.actual} - org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional + ${lucene.prefix}.core;bundle-version="${lucene.version}",${lucene.prefix}.queries;bundle-version="${lucene.version},${lucene.prefix}.sandbox;bundle-version="${lucene.version}" + *;version="${lucene.version}" + !org.apache.lucene.*,*;resolution:=optional @@ -145,7 +152,9 @@ ${lucene.prefix}.analyzers-common ${lucene.version.actual} - org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional + ${lucene.prefix}.core;bundle-version="${lucene.version}" + *;version="${lucene.version}" + !org.apache.lucene.*,*;resolution:=optional diff --git a/releng/org.simantics.sdk.build.targetdefinition/org.simantics.sdk.build.targetdefinition.target b/releng/org.simantics.sdk.build.targetdefinition/org.simantics.sdk.build.targetdefinition.target index 7a8c6280e..c8a0298a8 100644 --- a/releng/org.simantics.sdk.build.targetdefinition/org.simantics.sdk.build.targetdefinition.target +++ b/releng/org.simantics.sdk.build.targetdefinition/org.simantics.sdk.build.targetdefinition.target @@ -75,9 +75,9 @@ - + - + @@ -91,20 +91,20 @@ - + - + - + - + @@ -121,12 +121,12 @@ - + - + @@ -156,8 +156,8 @@ - - + +