BUG-6140: controll karaf zip and tar.gz creation 02/41202/2
authorMichal Rehak <mirehak@cisco.com>
Fri, 1 Jul 2016 10:02:16 +0000 (12:02 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 2 Jul 2016 15:48:53 +0000 (15:48 +0000)
    - added 2 new properties in order to easy switch configuration
      via cli or child-pom

Change-Id: I617ac958e12097260264880e3c9f45fa1e1428a1
Signed-off-by: Michal Rehak <mirehak@cisco.com>
karaf/karaf-parent/pom.xml

index 1404ed4..30a8ed6 100644 (file)
@@ -30,6 +30,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
           is not.
      -->
     <karaf.maven.version>3.0.1</karaf.maven.version>
+    <karaf.archiveTarGz>true</karaf.archiveTarGz>
+    <karaf.archiveZip>true</karaf.archiveZip>
   </properties>
   <dependencyManagement>
     <dependencies>
@@ -259,6 +261,10 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
               <goals>
                 <goal>instance-create-archive</goal>
               </goals>
+              <configuration>
+                <archiveTarGz>${karaf.archiveTarGz}</archiveTarGz>
+                <archiveZip>${karaf.archiveZip}</archiveZip>
+              </configuration>
             </execution>
           </executions>
         </plugin>

©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.