Add wso2bpel-ext code
[vfc/nfvo/wfengine.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   Copyright 2016 Huawei Technologies Co., Ltd.
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 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19         <modelVersion>4.0.0</modelVersion>
20
21         <parent>
22           <groupId>org.openo.oparent</groupId>
23           <artifactId>oparent</artifactId>
24           <version>1.0.0-SNAPSHOT</version>
25           <relativePath></relativePath>
26         </parent>
27
28         <groupId>org.openo.common-services.common-utilities</groupId>
29         <artifactId>common-setting</artifactId>
30         <version>1.0.1-SNAPSHOT</version>
31         <packaging>pom</packaging>
32         <name>common-setting</name>
33
34         <properties>
35                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36                 <maven.test.skip>false</maven.test.skip>
37                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
38                 <finalName>${project.artifactId}-${project.version}</finalName>
39                 <release.dir>${basedir}/target</release.dir>
40                 <slf4j.version>1.6.1</slf4j.version>
41
42
43                 <bundle.name>${project.artifactId}-${project.version}</bundle.name>
44                 <pkgzip.dir>${basedir}/../release/pkgzip</pkgzip.dir>
45                 <excludesFile>**/*$*</excludesFile>
46     
47         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48         <nexusproxy>https://nexus.open-o.org/content</nexusproxy>
49         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
51     </properties>
52
53      <scm>
54         <connection>scm:git:ssh://git.open-o.org:29418/common-services-common-utilities.git</connection>
55         <developerConnection>scm:git:ssh://git.open-o.org:29418/common-services-common-utilities.git</developerConnection>
56         <tag>HEAD</tag>
57         <url>https://wiki.open-o.orgiew/Common_Services</url>
58     </scm>
59     
60     <modules>
61         <module>common-util</module>
62         <module>rest-client</module>
63         <!--
64         <module>winery</module>
65         -->
66         <module>wso2bpel-ext</module>
67     </modules>
68
69         <dependencyManagement>
70                 <dependencies>
71                         <dependency>
72                                 <groupId>commons-io</groupId>
73                                 <artifactId>commons-io</artifactId>
74                                 <version>2.4</version>
75                         </dependency>
76                         <dependency>
77                                 <groupId>org.apache.commons</groupId>
78                                 <artifactId>org.apache.commons.lang</artifactId>
79                                 <version>2.6.0</version>
80                         </dependency>
81                         <dependency>
82                                 <groupId>org.apache.commons</groupId>
83                                 <artifactId>org.apache.commons.logging</artifactId>
84                                 <version>1.1.1</version>
85                         </dependency>
86                         <dependency>
87                                 <groupId>org.apache.commons</groupId>
88                                 <artifactId>org.apache.commons.codec</artifactId>
89                                 <version>1.9.0</version>
90                         </dependency>
91
92                         <dependency>
93                                 <groupId>org.slf4j</groupId>
94                                 <artifactId>slf4j-api</artifactId>
95                                 <version>${slf4j.version}</version>
96                         </dependency>
97                         <dependency>
98                                 <groupId>org.slf4j</groupId>
99                                 <artifactId>slf4j-log4j12</artifactId>
100                                 <version>${slf4j.version}</version>
101                         </dependency>
102                         <dependency>
103                                 <groupId>log4j</groupId>
104                                 <artifactId>log4j</artifactId>
105                                 <version>1.2.16</version>
106                         </dependency>
107                         <dependency>
108                                 <groupId>org.mybatis</groupId>
109                                 <artifactId>mybatis-spring</artifactId>
110                                 <version>1.2.0</version>
111                         </dependency>
112                         <dependency>
113                                 <groupId>org.mybatis</groupId>
114                                 <artifactId>mybatis</artifactId>
115                                 <version>3.2.7</version>
116                         </dependency>
117                         <dependency>
118                                 <groupId>org.apache.commons</groupId>
119                                 <artifactId>commons-lang3</artifactId>
120                                 <version>3.1</version>
121                         </dependency>
122                         <dependency>
123                                 <groupId>org.codehaus.jackson</groupId>
124                                 <artifactId>jackson-mapper-asl</artifactId>
125                                 <version>1.9.2</version>
126                         </dependency>
127                         <dependency>
128                                 <groupId>net.sf.json-lib</groupId>
129                                 <artifactId>json-lib</artifactId>
130                                 <version>2.4</version>
131                                 <classifier>jdk15</classifier>
132                         </dependency>
133                         <dependency>
134                                 <groupId>org.eclipse.jetty.aggregate</groupId>
135                             <artifactId>jetty-all</artifactId>
136                             <version>8.1.16.v20140903</version>
137                         </dependency>
138                         <dependency>
139                                 <groupId>org.eclipse.jetty.orbit</groupId>
140                                 <artifactId>javax.servlet</artifactId>
141                                 <version>3.0.0.v201112011016</version>
142                                 <scope>provided</scope>
143                         </dependency>
144                         <dependency>
145                                 <groupId>redis.clients</groupId>
146                                 <artifactId>jedis</artifactId>
147                                 <version>2.8.0</version>
148                         </dependency>
149                         <dependency>
150                                 <groupId>org.apache.commons</groupId>
151                                 <artifactId>commons-dbcp2</artifactId>
152                                 <version>2.0.1</version>
153                         </dependency>
154                         <dependency>
155                                 <groupId>org.codehaus.jackson</groupId>
156                                 <artifactId>jackson-mapper-asl</artifactId>
157                                 <version>1.9.2</version>
158                         </dependency>
159                 </dependencies>
160         </dependencyManagement>
161
162         <build>
163                 <resources>
164                         <resource>
165                                 <directory>${resources.dir}</directory>
166                         </resource>
167                         <resource>
168                                 <directory>${project.build.directory}/generated-resources</directory>
169                         </resource>
170                         <resource>
171                                 <directory>${basedir}/src/main/java</directory>
172                                 <excludes>
173                                         <exclude>**/*.java</exclude>
174                                 </excludes>
175                         </resource>
176                         <resource>
177                                 <directory>${basedir}/src/main/resources</directory>
178                         </resource>
179                 </resources>
180                 <testResources>
181                         <testResource>
182                                 <directory>${basedir}/src/test/java</directory>
183                                 <excludes>
184                                         <exclude>**/*.java</exclude>
185                                 </excludes>
186                         </testResource>
187                         <testResource>
188                                 <directory>${basedir}/src/test/resources</directory>
189                         </testResource>
190                 </testResources>
191                 <pluginManagement>
192                         <plugins>
193                                 <plugin>
194                                         <groupId>org.apache.maven.plugins</groupId>
195                                         <artifactId>maven-antrun-plugin</artifactId>
196                                         <version>1.6</version>
197                                         <dependencies>
198                                                 <dependency>
199                                                         <groupId>ant-contrib</groupId>
200                                                         <artifactId>ant-contrib</artifactId>
201                                                         <version>1.0b3</version>
202                                                         <exclusions>
203                                                                 <exclusion>
204                                                                         <groupId>ant</groupId>
205                                                                         <artifactId>ant</artifactId>
206                                                                 </exclusion>
207                                                         </exclusions>
208                                                 </dependency>
209                                                 <dependency>
210                                                         <groupId>com.google.js</groupId>
211                                                         <artifactId>closure-compiler</artifactId>
212                                                         <version>1.0.0</version>
213                                                 </dependency>
214                                                 <dependency>
215                                                         <groupId>com.google.closure-stylesheets</groupId>
216                                                         <artifactId>closure-stylesheets</artifactId>
217                                                         <version>20140426</version>
218                                                 </dependency>
219                                         </dependencies>
220                                 </plugin>
221                                 <plugin>
222                                         <groupId>org.apache.maven.plugins</groupId>
223                                         <artifactId>maven-clean-plugin</artifactId>
224                                         <version>2.4.1</version>
225                                 </plugin>
226                                 <plugin>
227                                         <groupId>org.apache.maven.plugins</groupId>
228                                         <artifactId>maven-release-plugin</artifactId>
229                                         <version>2.5.2</version>
230                                         <configuration>
231                                                 <checkModificationExcludes>
232                                                         <checkModificationExclude>**/*.java</checkModificationExclude>
233                                                 </checkModificationExcludes>
234                                                 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
235                                         </configuration>
236                                 </plugin>
237
238                         </plugins>
239                 </pluginManagement>
240                 <plugins>
241                         <!--Release -->
242                         <plugin>
243                                 <groupId>org.apache.maven.plugins</groupId>
244                                 <artifactId>maven-release-plugin</artifactId>
245                         </plugin>
246
247                         <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> 
248                                 <version>2.4-fixed</version> <configuration> <srcLocation>${srcLocation}</srcLocation> 
249                                 <classOutputDir>${classOutputDir}</classOutputDir> </configuration> </plugin -->
250
251                         <plugin>
252                                 <groupId>org.apache.maven.plugins</groupId>
253                                 <artifactId>maven-deploy-plugin</artifactId>
254                                 <version>2.7</version>
255                                 <configuration>
256                                         <retryFailedDeploymentCount>2</retryFailedDeploymentCount>
257                                 </configuration>
258                         </plugin>
259
260
261                         <!-- javadoc -->
262                         <plugin>
263                                 <groupId>org.apache.maven.plugins</groupId>
264                                 <artifactId>maven-javadoc-plugin</artifactId>
265                                 <version>2.6.1</version>
266                                 <configuration>
267                                         <aggregate>true</aggregate>
268                                         <stylesheetfile>${javadoc.loc}/javadoc.css</stylesheetfile>
269                                         <overview>${javadoc.loc}/overview.html</overview>
270                                         <excludePackageNames>org.apache.*,*.impl</excludePackageNames>
271                                         <breakiterator>true</breakiterator>
272                                         <quiet>true</quiet>
273                                         <failOnError>false</failOnError>
274                                         <verbose>false</verbose>
275                                         <show>protected</show>
276                                         <source>1.5</source>
277                                         <charset>gb2312</charset>
278                                         <encoding>UTF-8</encoding>
279                                         <docencoding>gb2312</docencoding>
280                                         <maxmemory>256M</maxmemory>
281                                 </configuration>
282                         </plugin>
283                         <plugin>
284                                 <groupId>org.apache.maven.plugins</groupId>
285                                 <artifactId>maven-compiler-plugin</artifactId>
286                                 <version>3.3</version>
287                                 <configuration>
288                                         <source>1.7</source>
289                                         <target>1.7</target>
290                                 </configuration>
291                         </plugin>
292                         <plugin>
293                                 <groupId>org.apache.maven.plugins</groupId>
294                                 <artifactId>maven-jar-plugin</artifactId>
295                                 <version>2.3.1</version>
296                                 <configuration>
297                                         <finalName>${bundle.name}</finalName>
298                                         <outputDirectory>${release.dir}</outputDirectory>
299                                 </configuration>
300                         </plugin>
301                         <!-- clean -->
302                         <plugin>
303                                 <artifactId>maven-clean-plugin</artifactId>
304                                 <configuration>
305                                         <failOnError>false</failOnError>
306                                         <filesets>
307                                                 <fileset>
308                                                         <directory>${release.dir}</directory>
309                                                         <includes>
310                                                                 <include>${bundle.name}.${project.packaging}</include>
311                                                         </includes>
312                                                 </fileset>
313                                         </filesets>
314                                 </configuration>
315                         </plugin>
316
317                 </plugins>
318         </build>
319         <reporting>
320                 <plugins>
321                         <plugin>
322                                 <groupId>org.apache.maven.plugins</groupId>
323                                 <artifactId>maven-javadoc-plugin</artifactId>
324                                 <version>2.6.1</version>
325                                 <configuration>
326                                         <aggregate>true</aggregate>
327                                         <quiet>true</quiet>
328                                         <show>public</show>
329                                 </configuration>
330                         </plugin>
331                 </plugins>
332         </reporting>
333
334 </project>