Future-proof the dummy JAR construction 59/26859/3
authorStephen Kitt <skitt@redhat.com>
Fri, 11 Sep 2015 15:48:08 +0000 (17:48 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 16 Sep 2015 18:30:36 +0000 (18:30 +0000)
The shade plugin needs a JAR, and the contents of the project
contribute to a standard JAR rather than a test JAR. Add a JAR goal to
the maven-jar-plugin so the shade plugin can find its artifact
(otherwise the build breaks with forthcoming version upgrades).

Change-Id: If4853eb81208134d536040de8e6e934b38ef762f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
opendaylight/md-sal/sal-dummy-distributed-datastore/pom.xml

index ac81905..32505af 100644 (file)
         <executions>
           <execution>
             <goals>
+              <goal>jar</goal>
               <goal>test-jar</goal>
             </goals>
           </execution>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.