Do not wrap Guava as a bundle in features' definition 29/47229/1
authorAlexis de Talhouët <adetalhouet@inocybe.com>
Tue, 18 Oct 2016 21:38:35 +0000 (17:38 -0400)
committerAlexis de Talhouët <adetalhouet@inocybe.com>
Thu, 20 Oct 2016 21:41:14 +0000 (21:41 +0000)
As it will refresh the bundle when the feature is loaded,
because it will certainly be already installed, and hence
will refresh all bundles depending on Guava.

Also, this is not necessary.

This patch is not directly tied to BUG-6956 but it's a result of it

Change-Id: I79a3adac4dd8d21757f8c7756b0239413ee55589
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit 5679203b147817962534344db273e4f2109fd949)

features/config-persister/pom.xml
features/config-persister/src/main/features/features.xml

index de81a6a2b27c0e5caecdef684d99b14492f5a71f..4f81c9781dcee11515d6a629d746a0e3b722b5c1 100644 (file)
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>config-persister-feature-adapter</artifactId>
     </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
index 57eda21f15257e63a4e22a0fd202679d5c422b4a..9a2fb9dd5b485c4b797c660e3dc62903dea62c0d 100644 (file)
@@ -22,7 +22,6 @@
     <bundle>mvn:org.opendaylight.controller/config-persister-impl/{{VERSION}}</bundle>
     <bundle>mvn:org.opendaylight.controller/config-persister-feature-adapter/{{VERSION}}</bundle>
 
-    <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
     <bundle>mvn:commons-io/commons-io/{{VERSION}}</bundle>
     <bundle>mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle>
     <bundle>wrap:mvn:javax.validation/validation-api/{{VERSION}}</bundle>