diff options
author | huangjian <huang.jian12@zte.com.cn> | 2016-09-14 23:59:44 +0800 |
---|---|---|
committer | huangjian <huang.jian12@zte.com.cn> | 2016-09-14 23:59:44 +0800 |
commit | 906a4ce648cbcef097f7da2888f88e082a0b8d5c (patch) | |
tree | c62e060ce1c910612d0cb18bb04d4d184e51a927 /wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml | |
parent | f84ace36fe23ab9cdb698dcce9d6dacd9f89e7a8 (diff) |
Add wso2bpel-ext code
Change-Id: I774e0ede1668ee8b4ef03bb48a2fb2971fbd3757
Signed-off-by: huangjian <huang.jian12@zte.com.cn>
Diffstat (limited to 'wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml')
-rw-r--r-- | wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml new file mode 100644 index 0000000..af35250 --- /dev/null +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml @@ -0,0 +1,153 @@ +<!-- + + Copyright 2016 [ZTE] and others. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<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> + <artifactId>distribution</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <modelVersion>4.0.0</modelVersion> + <artifactId>standalone</artifactId> + <!--name>openo/commonservice/commonutilities/distribution/standalone</name--> + <packaging>pom</packaging> + + <properties> + <packagename>openo-commonservice-commonutilities</packagename> + </properties> + + <build> + <plugins> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-resources</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target/assembly/</outputDirectory> + <resources> + <resource> + <directory>src/main/assembly/</directory> + <filtering>false</filtering> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + <overwrite>true</overwrite> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-jar</id> + <goals> + <goal>copy</goal> + </goals> + <phase>prepare-package</phase> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.openo.common-services.common-utilities</groupId> + <artifactId>wso2bpel-mgr</artifactId> + <type>jar</type> + <overWrite>true</overWrite> + <outputDirectory>target/assembly/</outputDirectory> + <destFileName>wso2bpel-service.jar</destFileName> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>zip</id> + <phase>package</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks name="${project.artifactId}"> + <zip destfile="target/${packagename}-${project.version}.zip" update="true"> + <zipfileset dir="target/assembly" includes="**" /> + </zip> + <copy todir="target/assembly/lib"> + <fileset dir="../../wso2bpel-mgr/lib"> + <include name="*" /> + </fileset> + </copy> + <copy todir="target/assembly/lib"> + <fileset dir="../../wso2bpel-mgr/target/dependency"> + <include name="*" /> + </fileset> + </copy> + <copy todir="target/assembly/classes"> + <fileset dir="../../wso2bpel-mgr/target/classes"> + <include name="**/*" /> + </fileset> + </copy> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/${packagename}-${project.version}.zip</file> + <type>zip</type> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.openo.common-services.common-utilities</groupId> + <artifactId>wso2bpel-mgr</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> +</project> + |