Make karaf-empty a POM package 27/31127/1
authorStephen Kitt <skitt@redhat.com>
Thu, 10 Dec 2015 09:55:56 +0000 (10:55 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 10 Dec 2015 09:55:56 +0000 (10:55 +0100)
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 fb01dfc2a68e93659562bf1c4e1de3d4476d8899..4293ebf9c1b03c8168b1db4d6a08f1d946f8ede6 100644 (file)
@@ -11,6 +11,7 @@
   <artifactId>opendaylight-karaf-empty</artifactId>
   <version>1.5.4-SNAPSHOT</version>
   <name>${project.artifactId}</name>
+  <packaging>pom</packaging>
   <prerequisites>
     <maven>3.1.1</maven>
   </prerequisites>