Do not wrap Guava as a bundle in features' definition 24/47224/1
authorAlexis de Talhouët <adetalhouet@inocybe.com>
Tue, 18 Oct 2016 21:30:19 +0000 (17:30 -0400)
committerRobert Varga <nite@hq.sk>
Thu, 20 Oct 2016 21:03:43 +0000 (21:03 +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: If2fff1c6326fb8b53786d59e94c364cf0f3292c3
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit 622a8cf869f13ad75777e39612c9a26374132e3b)

features/bgp/pom.xml
features/bgp/src/main/features/features.xml
features/extras/pom.xml
features/extras/src/main/features/features.xml
features/pcep/pom.xml
features/pcep/src/main/features/features.xml
features/rsvp/pom.xml
features/rsvp/src/main/features/features.xml

index 396eefc6d61124cbebe6b2d3fa6e2c2deedd4dcb..39ea939aaebe4e306fa82a6ee7b95a2b190df47d 100644 (file)
         <groupId>io.netty</groupId>
         <artifactId>netty-buffer</artifactId>
       </dependency>
-
-      <dependency>
-          <groupId>com.google.guava</groupId>
-          <artifactId>guava</artifactId>
-      </dependency>
   </dependencies>
 
   <!--
index b2d8ba1a25859e5fd2014f6a7b2b299a64b9ed43..6352b5cdd2f787ad83835739e78374286b525ad2 100644 (file)
@@ -57,7 +57,6 @@
 
     <feature name='odl-bgpcep-bgp-dependencies' version='${project.version}'>
         <!--  concepts -->
-        <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
         <feature version='${mdsal.model.version}'>odl-mdsal-models</feature>
         <feature version='${yangtools.version}'>odl-yangtools-yang-data</feature>
         <bundle>mvn:org.opendaylight.bgpcep/concepts/{{VERSION}}</bundle>
index a4b14c91f55e9e837aa11e077dbc27f03fff5228..14f046ed47928094d314509df7c80c2f0cdb921f 100644 (file)
         <groupId>io.netty</groupId>
         <artifactId>netty-buffer</artifactId>
       </dependency>
-
-      <dependency>
-          <groupId>com.google.guava</groupId>
-          <artifactId>guava</artifactId>
-      </dependency>
   </dependencies>
 
   <!--
index b302e854968cfb5b019d7ac1adedd5c97429e188..d2c487613140fcadde081c5e34d89ffb9b4804c0 100644 (file)
@@ -19,7 +19,6 @@
 
     <feature name='odl-bgpcep-dependencies' version='${project.version}'>
         <!--  concepts -->
-        <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
         <feature version='${mdsal.model.version}'>odl-mdsal-models</feature>
         <bundle>mvn:org.opendaylight.bgpcep/concepts/{{VERSION}}</bundle>
         <!-- util -->
index f182fd2a9bb1cfd0b3c62dca730d373df401843d..86b6e3839f667408ab232adb5a1b262e04b91afa 100644 (file)
         <groupId>io.netty</groupId>
         <artifactId>netty-buffer</artifactId>
       </dependency>
-
-      <dependency>
-          <groupId>com.google.guava</groupId>
-          <artifactId>guava</artifactId>
-      </dependency>
   </dependencies>
 
   <!--
index 9fe4e1ed1d9fd0ef00eb14b9b96bd58ddf9271f4..a0ab7bb4869e852663e8ea49957af09afc1e25c9 100644 (file)
@@ -37,7 +37,6 @@
 
     <feature name='odl-bgpcep-pcep-dependencies' version='${project.version}'>
         <!--  concepts -->
-        <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
         <feature version='${mdsal.model.version}'>odl-mdsal-models</feature>
         <bundle>mvn:org.opendaylight.bgpcep/concepts/{{VERSION}}</bundle>
         <!-- util -->
index 0aa6eee098f8cd5ee46462e5ebc938c1411fb00e..a78403be45584167d50564af4ea886cfe6955def 100644 (file)
             <groupId>${project.groupId}</groupId>
             <artifactId>bgp-concepts</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
             <artifactId>features-mdsal-model</artifactId>
index b6e32ccd0751b5b33bf869b82151fa6b721f9fea..7cb515ce148695fd6143df43cc1e896bec163c9b 100644 (file)
@@ -23,7 +23,6 @@
 
     <feature name='odl-bgpcep-rsvp-dependencies' version='${project.version}'>
         <!--  concepts -->
-        <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
         <feature version='${mdsal.binding.base}'>odl-mdsal-models</feature>
         <bundle>mvn:org.opendaylight.bgpcep/concepts/{{VERSION}}</bundle>
         <!-- util -->