rename the assembly setting 97/82997/1
authorliboNet <libo.zhu@intel.com>
Fri, 22 Mar 2019 19:10:37 +0000 (03:10 +0800)
committerliboNet <libo.zhu@intel.com>
Fri, 22 Mar 2019 19:11:31 +0000 (03:11 +0800)
To fix the packing assembly  issue.
there should be a zip file generated

Change-Id: I82bc9fc87be1bcf8b87e75e9f8f5870efa9ea7cf
Issue-ID: MULTICLOUD-546
Signed-off-by: liboNet <libo.zhu@intel.com>
artifactbroker/packages/pom.xml
artifactbroker/packages/src/main/package/assembly.xml [moved from artifactbroker/packages/src/main/package/tarball/assembly.xml with 99% similarity]

index a90cd49..29548b1 100644 (file)
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <appendAssemblyId>false</appendAssemblyId>
+                    <descriptors>
+                        <descriptor>src/main/package/assembly.xml</descriptor>
+                    </descriptors>
+                    <finalName>${project.artifactId}-${project.version}</finalName>
+                </configuration>
                 <executions>
                     <execution>
                         <id>generate-complete-tar</id>
                         <goals>
                             <goal>single</goal>
                         </goals>
-                        <configuration>
-                            <appendAssemblyId>false</appendAssemblyId>
-                            <descriptors>
-                                <descriptor>src/main/package/tarball/assembly.xml</descriptor>
-                            </descriptors>
-                        </configuration>
                     </execution>
                 </executions>
             </plugin>
@@ -19,7 +19,7 @@
 -->
 
 <assembly>
-    <id>tarball</id>
+    <id>zip</id>
     <formats>
         <format>zip</format>
     </formats>