Make karaf-empty a POM package 28/31128/2
authorStephen Kitt <skitt@redhat.com>
Thu, 10 Dec 2015 09:55:56 +0000 (10:55 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 10 Dec 2015 18:28:12 +0000 (18:28 +0000)
opendaylight-karaf-empty is currently a (default) JAR package, which
causes maven-install-plugin to try to install a JAR at all costs. It
ends up copying pom.xml to opendaylight-karaf-empty-....jar which
breaks anything then processing the JARs and expecting them to be
valid (e.g. for signing). Declaring that opendaylight-karaf-empty is a
POM package still produces the Karaf distributions along with the POM,
but avoids generating an invalid JAR.

Change-Id: I766acd4fd12002a05968b286a5290461c409c92e
Signed-off-by: Stephen Kitt <skitt@redhat.com>
karaf/opendaylight-karaf-empty/pom.xml

index b069acf881a48da6ed396fe3c8880a006ef492fe..d3f0916b09b34ab77a97d9474c8a1f2ec0d40804 100644 (file)
@@ -11,6 +11,7 @@
   <artifactId>opendaylight-karaf-empty</artifactId>
   <version>1.6.0-SNAPSHOT</version>
   <name>${project.artifactId}</name>
+  <packaging>pom</packaging>
   <prerequisites>
     <maven>3.1.1</maven>
   </prerequisites>