Bump master version to 1.1.0-SNAPSHOT, part 2
[vfc/nfvo/wfengine.git] / wso2bpel-ext / wso2bpel-core / wso2bpel-mgr / pom.xml
1 <?xml version="1.0"?>
2 <!--
3
4     Copyright 2016 ZTE Corporation.
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17
18 -->
19 <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">
20
21     <parent>
22         <groupId>org.openo.common-services.common-utilities.wso2bpel-ext</groupId>
23         <artifactId>wso2bpel-core-parent</artifactId>
24         <version>1.1.0-SNAPSHOT</version>
25     </parent>
26
27     <modelVersion>4.0.0</modelVersion>
28     <artifactId>wso2bpel-mgr</artifactId>
29     <name>openo/commonservice/commonutilities/wso2bpel-mgr</name>
30     <packaging>jar</packaging>
31
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.apache.maven.plugins</groupId>
36                 <artifactId>maven-compiler-plugin</artifactId>
37                 <version>3.1</version>
38                 <configuration>
39                     <source>1.7</source>
40                     <target>1.7</target>
41                     <encoding>UTF-8</encoding>
42                     <compilerArgs> 
43                         <arg>-verbose</arg>
44                         <arg>-Xlint:unchecked</arg>
45                         <arg>-Xlint:deprecation</arg>
46                         <arg>-bootclasspath</arg>
47                         <arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
48                         <arg>-extdirs</arg> 
49                         <arg>${project.basedir}/lib</arg>
50                     </compilerArgs> 
51                 </configuration>
52             </plugin>
53             <plugin>
54                 <groupId>org.eclipse.m2e</groupId>
55                 <artifactId>lifecycle-mapping</artifactId>
56                 <configuration>
57                     <lifecycleMappingMetadata>
58                         <pluginExecutions>
59                             <pluginExecution>
60                                 <pluginExecutionFilter>
61                                     <groupId>org.apache.maven.plugins</groupId>
62                                     <artifactId>maven-dependency-plugin</artifactId>
63                                     <versionRange>[2.0,)</versionRange>
64                                     <goals>
65                                         <goal>copy-dependencies</goal>
66                                     </goals>
67                                 </pluginExecutionFilter>
68                                 <action>
69                                     <ignore/>
70                                 </action>
71                             </pluginExecution>
72                         </pluginExecutions>
73                     </lifecycleMappingMetadata>
74                 </configuration>
75             </plugin>
76             <plugin>
77                 <groupId>org.apache.maven.plugins</groupId>
78                 <artifactId>maven-jar-plugin</artifactId>
79                 <configuration>
80                     <archive>
81                         <manifest>
82                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
83                         </manifest>
84                     </archive>
85                 </configuration>
86             </plugin>
87             <plugin>
88                 <groupId>org.apache.maven.plugins</groupId>
89                 <artifactId>maven-shade-plugin</artifactId>
90                 <configuration>
91                     <createDependencyReducedPom>true</createDependencyReducedPom>
92                     <filters>
93                         <filter>
94                             <artifact>*:*</artifact>
95                             <excludes>
96                                 <exclude>META-INF/*.SF</exclude>
97                                 <exclude>META-INF/*.DSA</exclude>
98                                 <exclude>META-INF/*.RSA</exclude>
99                             </excludes>
100                         </filter>
101                     </filters>
102                 </configuration>
103                 <executions>
104                     <execution>
105                         <phase>package</phase>
106                         <goals>
107                             <goal>shade</goal>
108                         </goals>
109                         <configuration>
110                             <transformers>
111                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
112                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
113                                     <mainClass>org.openo.carbon.bpel.Wso2BpelApplication</mainClass>
114                                 </transformer>
115                             </transformers>
116                         </configuration>
117                     </execution>
118                 </executions>
119             </plugin>
120             <plugin>
121                 <groupId>org.apache.maven.plugins</groupId>
122                 <artifactId>maven-dependency-plugin</artifactId>
123                 <executions>
124                     <execution>
125                         <id>copy-dependencies</id>
126                         <phase>package</phase>
127                         <goals>
128                             <goal>copy-dependencies</goal>
129                         </goals>
130                         <configuration>
131                             <artifactItems>
132                                 <artifactItem>
133                                     <groupId>io.dropwizard</groupId>
134                                     <artifactId>dropwizard-core</artifactId>
135                                     <version>${dropwizard.version}</version>
136                                     <overWrite>true</overWrite>
137                                 </artifactItem>
138                             </artifactItems>
139                         </configuration>
140                     </execution>
141                 </executions>
142             </plugin>
143         </plugins>
144     </build>
145
146     <dependencies>
147         <dependency>
148             <groupId>io.dropwizard</groupId>
149             <artifactId>dropwizard-core</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>io.dropwizard</groupId>
153             <artifactId>dropwizard-assets</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>io.dropwizard</groupId>
157             <artifactId>dropwizard-hibernate</artifactId>
158         </dependency>
159         <!-- lombok -->
160         <dependency>
161             <groupId>org.projectlombok</groupId>
162             <artifactId>lombok</artifactId>            
163         </dependency>
164         <dependency>
165             <groupId>io.swagger</groupId>
166             <artifactId>swagger-jersey2-jaxrs</artifactId>
167         </dependency>
168         <!-- jersey -->
169         <dependency>
170             <groupId>org.glassfish.jersey.core</groupId>
171             <artifactId>jersey-server</artifactId>
172         </dependency>
173         <dependency>
174             <groupId>org.glassfish.jersey.media</groupId>
175             <artifactId>jersey-media-multipart</artifactId>
176         </dependency>
177         <dependency>
178             <groupId>org.glassfish.jersey.containers</groupId>
179             <artifactId>jersey-container-servlet-core</artifactId>
180         </dependency>
181         <!-- consumer -->
182         <dependency>
183             <groupId>com.eclipsesource.jaxrs</groupId>
184             <artifactId>consumer</artifactId>
185             <exclusions>
186                 <exclusion>
187                     <groupId>com.eclipsesource.jaxrs</groupId>
188                     <artifactId>jersey-all</artifactId>
189                 </exclusion>
190             </exclusions>
191         </dependency>
192         <!-- gson -->
193         <dependency>
194             <groupId>com.google.code.gson</groupId>
195             <artifactId>gson</artifactId>
196         </dependency>
197         <!-- UT -->
198         <dependency>
199             <groupId>junit</groupId>
200             <artifactId>junit</artifactId>
201             <scope>test</scope>
202         </dependency>
203         <dependency>
204             <groupId>org.powermock</groupId>
205             <artifactId>powermock-module-junit4</artifactId>
206             <scope>test</scope>
207         </dependency>
208         <dependency>
209             <groupId>org.powermock</groupId>
210             <artifactId>powermock-api-mockito</artifactId>
211             <scope>test</scope>
212         </dependency>
213         <dependency>
214             <groupId>org.apache.ant</groupId>
215             <artifactId>ant</artifactId>
216             <scope>test</scope>
217         </dependency>
218         <!-- UT end -->
219     </dependencies>
220 </project>