1. The publish package name add system type
[vfc/nfvo/wfengine.git] / wso2bpel-ext / wso2bpel-core / distribution / standalone / pom.xml
index efc892c..3e7e4fd 100644 (file)
@@ -18,7 +18,7 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
-        <groupId>org.openo.common-services.common-utilities</groupId>
+        <groupId>org.openo.common-services.common-utilities.wso2bpel-ext</groupId>
         <artifactId>distribution</artifactId>
         <version>1.0.0-SNAPSHOT</version>
     </parent>
                         <configuration>
                             <artifactItems>
                                 <artifactItem>
-                                    <groupId>org.openo.common-services.common-utilities</groupId>
+                                    <groupId>org.openo.common-services.common-utilities.wso2bpel-ext</groupId>
                                     <artifactId>wso2bpel-mgr</artifactId>
                                     <type>jar</type>
                                     <overWrite>true</overWrite>
                         <configuration>
                             <artifactItems>
                                 <artifactItem>
-                                    <groupId>org.openo.common-services.common-utilities</groupId>
+                                    <groupId>org.openo.common-services.common-utilities.wso2bpel-ext</groupId>
                                     <artifactId>wso2bpel-mgr</artifactId>
                                     <type>jar</type>
                                     <overWrite>true</overWrite>
                             <goal>run</goal>
                         </goals>
                         <configuration>
-                            <tasks name="distribution">
+                            <target name="distribution">
                                 <copy todir="target/assembly/linux64/lib">
                                     <fileset dir="../../wso2bpel-mgr/lib">
                                         <include name="*" />
                                         <include name="*" />
                                     </fileset>
                                 </copy>
-                                <tar destfile="${version.output}/${packagename}-${project.version}.tar.gz" longfile="posix" compression="gzip">
+                                <tar destfile="${version.output}/${packagename}-${project.version}-linux64.tar.gz" longfile="posix" compression="gzip">
                                     <tarfileset dir="target/assembly/linux64" filemode="0644" dirmode="0755">
                                         <exclude name="**/*.sh"/>
                                     </tarfileset>
                                         <include name="**/*.sh"/>
                                     </tarfileset>
                                 </tar>
-                                <attachartifact file="${version.output}/${packagename}-${project.version}.tar.gz" classifier="linux64" type="tar.gz"/>
-                                <zip destfile="${version.output}/${packagename}-${project.version}.zip" update="true">
+                                <attachartifact file="${version.output}/${packagename}-${project.version}-linux64.tar.gz" classifier="linux64" type="tar.gz"/>
+                                <zip destfile="${version.output}/${packagename}-${project.version}-win64.zip" update="true">
                                     <zipfileset dir="target/assembly/win64" includes="**"/>
                                 </zip>
-                                <attachartifact file="${version.output}/${packagename}-${project.version}.zip" classifier="win64" type="zip"/>
-                            </tasks>
+                                <attachartifact file="${version.output}/${packagename}-${project.version}-win64.zip" classifier="win64" type="zip"/>
+                            </target>
                         </configuration>
                     </execution>
                 </executions>
 
     <dependencies>
         <dependency>
-            <groupId>org.openo.common-services.common-utilities</groupId>
+            <groupId>org.openo.common-services.common-utilities.wso2bpel-ext</groupId>
             <artifactId>wso2bpel-mgr</artifactId>
             <version>${project.version}</version>
         </dependency>