Do not install or deploy the karaf artifact 73/36373/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 16 Mar 2016 23:20:13 +0000 (19:20 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 29 Mar 2016 18:14:49 +0000 (14:14 -0400)
The karaf artifact is only used for testing. It does not need to be
released to the world.

Change-Id: I11aef8e696b1df41550f6e574a8e042d81cf5582
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
distribution-karaf/pom.xml

index 7f4129a15ebaa6a1b8c077e7a8927ae443e0b694..10307a18f475fc25a5bf07d8d910044f922fad29 100644 (file)
   </dependencies>
 
   <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
+    <plugins>
+
+      <!-- DO NOT install or deploy the karaf artifact -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-install-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
   <scm>