Revert "Revert "Bug 3656: Use karaf-plugin""
authorEd Warnicke <hagbard@gmail.com>
Thu, 18 Jun 2015 17:37:00 +0000 (17:37 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 18 Jun 2015 19:03:57 +0000 (19:03 +0000)
This reverts commit bcaf186a62d27a72c0bb9e0c382261594707044c.

Change-Id: I49e180a2a2bc3acea606f61fe696fbfb87643507
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
distributions/karaf/pom.xml

index b7a415257963ad4f7e248e93c4fe812fa26d30ae..b74bed6c1b2503cda1460f8b0ba3fc07cd7b77ce 100644 (file)
              <ignorePermissions>false</ignorePermissions>
             </configuration>
           </execution>
-          <execution>
-            <id>copy-dependencies</id>
-            <phase>prepare-package</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
-              <excludeArtifactIds>distribution.vtn-coordinator</excludeArtifactIds>
-              <overWriteReleases>false</overWriteReleases>
-              <overWriteSnapshots>true</overWriteSnapshots>
-              <overWriteIfNewer>true</overWriteIfNewer>
-              <useRepositoryLayout>true</useRepositoryLayout>
-              <addParentPoms>true</addParentPoms>
-              <copyPom>true</copyPom>
-            </configuration>
-          </execution>
           <execution>
             <id>copy-externalapps</id>
             <phase>prepare-package</phase>
             </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>karaf-plugin</artifactId>
+        <version>1.5.0-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <id>populate-local-repo</id>
+            <goals>
+              <goal>populate-local-repo</goal>
+            </goals>
+            <configuration>
+              <localRepo>${project.build.directory}/assembly/system</localRepo>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <scm>