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