Inherit from oparent
[vfc/nfvo/wfengine.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   Copyright (c) 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     </modules>
64
65         <dependencyManagement>
66                 <dependencies>
67                         <dependency>
68                                 <groupId>commons-io</groupId>
69                                 <artifactId>commons-io</artifactId>
70                                 <version>2.4</version>
71                         </dependency>
72                         <dependency>
73                                 <groupId>org.apache.commons</groupId>
74                                 <artifactId>org.apache.commons.lang</artifactId>
75                                 <version>2.6.0</version>
76                         </dependency>
77                         <dependency>
78                                 <groupId>org.apache.commons</groupId>
79                                 <artifactId>org.apache.commons.logging</artifactId>
80                                 <version>1.1.1</version>
81                         </dependency>
82                         <dependency>
83                                 <groupId>org.apache.commons</groupId>
84                                 <artifactId>org.apache.commons.codec</artifactId>
85                                 <version>1.9.0</version>
86                         </dependency>
87
88                         <dependency>
89                                 <groupId>org.slf4j</groupId>
90                                 <artifactId>slf4j-api</artifactId>
91                                 <version>${slf4j.version}</version>
92                         </dependency>
93                         <dependency>
94                                 <groupId>org.slf4j</groupId>
95                                 <artifactId>slf4j-log4j12</artifactId>
96                                 <version>${slf4j.version}</version>
97                         </dependency>
98                         <dependency>
99                                 <groupId>log4j</groupId>
100                                 <artifactId>log4j</artifactId>
101                                 <version>1.2.16</version>
102                         </dependency>
103                         <dependency>
104                                 <groupId>org.mybatis</groupId>
105                                 <artifactId>mybatis-spring</artifactId>
106                                 <version>1.2.0</version>
107                         </dependency>
108                         <dependency>
109                                 <groupId>org.mybatis</groupId>
110                                 <artifactId>mybatis</artifactId>
111                                 <version>3.2.7</version>
112                         </dependency>
113                         <dependency>
114                                 <groupId>org.apache.commons</groupId>
115                                 <artifactId>commons-lang3</artifactId>
116                                 <version>3.1</version>
117                         </dependency>
118                         <dependency>
119                                 <groupId>org.codehaus.jackson</groupId>
120                                 <artifactId>jackson-mapper-asl</artifactId>
121                                 <version>1.9.2</version>
122                         </dependency>
123                         <dependency>
124                                 <groupId>net.sf.json-lib</groupId>
125                                 <artifactId>json-lib</artifactId>
126                                 <version>2.4</version>
127                                 <classifier>jdk15</classifier>
128                         </dependency>
129                         <dependency>
130                                 <groupId>org.eclipse.jetty.aggregate</groupId>
131                             <artifactId>jetty-all</artifactId>
132                             <version>8.1.16.v20140903</version>
133                         </dependency>
134                         <dependency>
135                                 <groupId>org.eclipse.jetty.orbit</groupId>
136                                 <artifactId>javax.servlet</artifactId>
137                                 <version>3.0.0.v201112011016</version>
138                                 <scope>provided</scope>
139                         </dependency>
140                         <dependency>
141                                 <groupId>redis.clients</groupId>
142                                 <artifactId>jedis</artifactId>
143                                 <version>2.8.0</version>
144                         </dependency>
145                         <dependency>
146                                 <groupId>org.apache.commons</groupId>
147                                 <artifactId>commons-dbcp2</artifactId>
148                                 <version>2.0.1</version>
149                         </dependency>
150                         <dependency>
151                                 <groupId>org.codehaus.jackson</groupId>
152                                 <artifactId>jackson-mapper-asl</artifactId>
153                                 <version>1.9.2</version>
154                         </dependency>
155                 </dependencies>
156         </dependencyManagement>
157
158         <build>
159                 <resources>
160                         <resource>
161                                 <directory>${resources.dir}</directory>
162                         </resource>
163                         <resource>
164                                 <directory>${project.build.directory}/generated-resources</directory>
165                         </resource>
166                         <resource>
167                                 <directory>${basedir}/src/main/java</directory>
168                                 <excludes>
169                                         <exclude>**/*.java</exclude>
170                                 </excludes>
171                         </resource>
172                         <resource>
173                                 <directory>${basedir}/src/main/resources</directory>
174                         </resource>
175                 </resources>
176                 <testResources>
177                         <testResource>
178                                 <directory>${basedir}/src/test/java</directory>
179                                 <excludes>
180                                         <exclude>**/*.java</exclude>
181                                 </excludes>
182                         </testResource>
183                         <testResource>
184                                 <directory>${basedir}/src/test/resources</directory>
185                         </testResource>
186                 </testResources>
187                 <pluginManagement>
188                         <plugins>
189                                 <plugin>
190                                         <groupId>org.apache.maven.plugins</groupId>
191                                         <artifactId>maven-antrun-plugin</artifactId>
192                                         <version>1.6</version>
193                                         <dependencies>
194                                                 <dependency>
195                                                         <groupId>ant-contrib</groupId>
196                                                         <artifactId>ant-contrib</artifactId>
197                                                         <version>1.0b3</version>
198                                                         <exclusions>
199                                                                 <exclusion>
200                                                                         <groupId>ant</groupId>
201                                                                         <artifactId>ant</artifactId>
202                                                                 </exclusion>
203                                                         </exclusions>
204                                                 </dependency>
205                                                 <dependency>
206                                                         <groupId>com.google.js</groupId>
207                                                         <artifactId>closure-compiler</artifactId>
208                                                         <version>1.0.0</version>
209                                                 </dependency>
210                                                 <dependency>
211                                                         <groupId>com.google.closure-stylesheets</groupId>
212                                                         <artifactId>closure-stylesheets</artifactId>
213                                                         <version>20140426</version>
214                                                 </dependency>
215                                         </dependencies>
216                                 </plugin>
217                                 <plugin>
218                                         <groupId>org.apache.maven.plugins</groupId>
219                                         <artifactId>maven-clean-plugin</artifactId>
220                                         <version>2.4.1</version>
221                                 </plugin>
222                                 <plugin>
223                                         <groupId>org.apache.maven.plugins</groupId>
224                                         <artifactId>maven-release-plugin</artifactId>
225                                         <version>2.5.2</version>
226                                         <configuration>
227                                                 <checkModificationExcludes>
228                                                         <checkModificationExclude>**/*.java</checkModificationExclude>
229                                                 </checkModificationExcludes>
230                                                 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
231                                         </configuration>
232                                 </plugin>
233
234                         </plugins>
235                 </pluginManagement>
236                 <plugins>
237                         <!--Release -->
238                         <plugin>
239                                 <groupId>org.apache.maven.plugins</groupId>
240                                 <artifactId>maven-release-plugin</artifactId>
241                         </plugin>
242
243                         <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> 
244                                 <version>2.4-fixed</version> <configuration> <srcLocation>${srcLocation}</srcLocation> 
245                                 <classOutputDir>${classOutputDir}</classOutputDir> </configuration> </plugin -->
246
247                         <plugin>
248                                 <groupId>org.apache.maven.plugins</groupId>
249                                 <artifactId>maven-deploy-plugin</artifactId>
250                                 <version>2.7</version>
251                                 <configuration>
252                                         <retryFailedDeploymentCount>2</retryFailedDeploymentCount>
253                                 </configuration>
254                         </plugin>
255
256
257                         <!-- javadoc -->
258                         <plugin>
259                                 <groupId>org.apache.maven.plugins</groupId>
260                                 <artifactId>maven-javadoc-plugin</artifactId>
261                                 <version>2.6.1</version>
262                                 <configuration>
263                                         <aggregate>true</aggregate>
264                                         <stylesheetfile>${javadoc.loc}/javadoc.css</stylesheetfile>
265                                         <overview>${javadoc.loc}/overview.html</overview>
266                                         <excludePackageNames>org.apache.*,*.impl</excludePackageNames>
267                                         <breakiterator>true</breakiterator>
268                                         <quiet>true</quiet>
269                                         <failOnError>false</failOnError>
270                                         <verbose>false</verbose>
271                                         <show>protected</show>
272                                         <source>1.5</source>
273                                         <charset>gb2312</charset>
274                                         <encoding>UTF-8</encoding>
275                                         <docencoding>gb2312</docencoding>
276                                         <maxmemory>256M</maxmemory>
277                                 </configuration>
278                         </plugin>
279                         <plugin>
280                                 <groupId>org.apache.maven.plugins</groupId>
281                                 <artifactId>maven-compiler-plugin</artifactId>
282                                 <version>3.3</version>
283                                 <configuration>
284                                         <source>1.7</source>
285                                         <target>1.7</target>
286                                 </configuration>
287                         </plugin>
288                         <plugin>
289                                 <groupId>org.apache.maven.plugins</groupId>
290                                 <artifactId>maven-jar-plugin</artifactId>
291                                 <version>2.3.1</version>
292                                 <configuration>
293                                         <finalName>${bundle.name}</finalName>
294                                         <outputDirectory>${release.dir}</outputDirectory>
295                                 </configuration>
296                         </plugin>
297                         <!-- clean -->
298                         <plugin>
299                                 <artifactId>maven-clean-plugin</artifactId>
300                                 <configuration>
301                                         <failOnError>false</failOnError>
302                                         <filesets>
303                                                 <fileset>
304                                                         <directory>${release.dir}</directory>
305                                                         <includes>
306                                                                 <include>${bundle.name}.${project.packaging}</include>
307                                                         </includes>
308                                                 </fileset>
309                                         </filesets>
310                                 </configuration>
311                         </plugin>
312
313                 </plugins>
314         </build>
315         <reporting>
316                 <plugins>
317                         <plugin>
318                                 <groupId>org.apache.maven.plugins</groupId>
319                                 <artifactId>maven-javadoc-plugin</artifactId>
320                                 <version>2.6.1</version>
321                                 <configuration>
322                                         <aggregate>true</aggregate>
323                                         <quiet>true</quiet>
324                                         <show>public</show>
325                                 </configuration>
326                         </plugin>
327                 </plugins>
328         </reporting>
329
330 </project>