Merge "Apply wiki's recommandation on DLUX's core - part 1"
authorMaxime Millette-Coulombe <mmcoulombe@inocybe.com>
Wed, 19 Oct 2016 13:09:29 +0000 (13:09 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 19 Oct 2016 13:09:29 +0000 (13:09 +0000)
archetype/src/main/resources/archetype-resources/__rootArtifactId__-bundle/pom.xml
features/pom.xml
features/src/main/features/features.xml

index 8bc38fe01b469ec41e814073db6b220a46dd5bcf..07a3fb4fd82af743f01316dffc070605afa17e3d 100644 (file)
@@ -33,6 +33,7 @@
             <groupId>${groupId}</groupId>
             <artifactId>${rootArtifactId}-module</artifactId>
             <version>${version}</version>
+            <scope>provided</scope>
         </dependency>
     </dependencies>
     <build>
@@ -61,7 +62,7 @@
                             <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
                             <groupId>${groupId}</groupId>
                             <includeArtifactIds>${rootArtifactId}-module</includeArtifactIds>
-                            <excludes>META-INF\/**</excludes>
+                            <excludes>META-INF\/**,*/node\/**,*/node_modules\/**</excludes>
                             <excludeTransitive>true</excludeTransitive>
                             <ignorePermissions>false</ignorePermissions>
                         </configuration>
index f5ce7c8d4529074d27f346a7be48bffd794c90fe..de76f4886a86f27fc53961897c51f392c60a597a 100644 (file)
          <version>1.8.0-SNAPSHOT</version>
          <type>zip</type>
       </dependency>
-      <dependency>
-          <groupId>com.google.guava</groupId>
-          <artifactId>guava</artifactId>
-      </dependency>
       <dependency>
           <groupId>org.opendaylight.dlux</groupId>
           <artifactId>loader</artifactId>
index 8ee80f59b6ee5669ccb65206196e1a1fde66a90b..e056ce21a5d685615b0b2a49641af555ef6c9f72 100644 (file)
@@ -15,7 +15,6 @@
     <feature name='odl-dlux-core' version='${project.version}' description="Opendaylight dlux minimal feature">
         <feature>http</feature>
         <feature version="${restconf.version}">odl-restconf</feature>
-        <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.dlux/loader/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.dlux/loader.implementation/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.dlux/dlux.core/{{VERSION}}</bundle>