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