1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016, Huawei Technologies Co., Ltd.
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
9 http://www.apache.org/licenses/LICENSE-2.0
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.
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 <groupId>org.openo.baseservice</groupId>
21 <artifactId>common-setting</artifactId>
22 <version>1.0.1-SNAPSHOT</version>
23 <packaging>pom</packaging>
24 <name>common-setting</name>
27 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28 <maven.test.skip>false</maven.test.skip>
29 <maven.test.failure.ignore>false</maven.test.failure.ignore>
30 <finalName>${project.artifactId}-${project.version}</finalName>
31 <release.dir>${basedir}/target</release.dir>
32 <slf4j.version>1.6.1</slf4j.version>
35 <bundle.name>${project.artifactId}-${project.version}</bundle.name>
36 <pkgzip.dir>${basedir}/../release/pkgzip</pkgzip.dir>
37 <excludesFile>**/*$*</excludesFile>
41 <connection>scm:git:ssh://git.open-o.org:29418/common-services-common-utilities.git</connection>
42 <developerConnection>scm:git:ssh://git.open-o.org:29418/common-services-common-utilities.git</developerConnection>
44 <url>https://wiki.open-o.orgiew/Common_Services</url>
48 <module>common-util</module>
49 <module>rest-client</module>
52 <dependencyManagement>
55 <groupId>commons-io</groupId>
56 <artifactId>commons-io</artifactId>
57 <version>2.4</version>
60 <groupId>org.apache.commons</groupId>
61 <artifactId>org.apache.commons.lang</artifactId>
62 <version>2.6.0</version>
65 <groupId>org.apache.commons</groupId>
66 <artifactId>org.apache.commons.logging</artifactId>
67 <version>1.1.1</version>
70 <groupId>org.apache.commons</groupId>
71 <artifactId>org.apache.commons.codec</artifactId>
72 <version>1.9.0</version>
76 <groupId>org.slf4j</groupId>
77 <artifactId>slf4j-api</artifactId>
78 <version>${slf4j.version}</version>
81 <groupId>org.slf4j</groupId>
82 <artifactId>slf4j-log4j12</artifactId>
83 <version>${slf4j.version}</version>
86 <groupId>log4j</groupId>
87 <artifactId>log4j</artifactId>
88 <version>1.2.16</version>
91 <groupId>org.mybatis</groupId>
92 <artifactId>mybatis-spring</artifactId>
93 <version>1.2.0</version>
96 <groupId>org.mybatis</groupId>
97 <artifactId>mybatis</artifactId>
98 <version>3.2.7</version>
101 <groupId>org.apache.commons</groupId>
102 <artifactId>commons-lang3</artifactId>
103 <version>3.1</version>
106 <groupId>org.codehaus.jackson</groupId>
107 <artifactId>jackson-mapper-asl</artifactId>
108 <version>1.9.2</version>
111 <groupId>net.sf.json-lib</groupId>
112 <artifactId>json-lib</artifactId>
113 <version>2.4</version>
114 <classifier>jdk15</classifier>
117 <groupId>org.eclipse.jetty.aggregate</groupId>
118 <artifactId>jetty-all</artifactId>
119 <version>8.1.16.v20140903</version>
122 <groupId>org.eclipse.jetty.orbit</groupId>
123 <artifactId>javax.servlet</artifactId>
124 <version>3.0.0.v201112011016</version>
125 <scope>provided</scope>
128 <groupId>redis.clients</groupId>
129 <artifactId>jedis</artifactId>
130 <version>2.8.0</version>
133 <groupId>org.apache.commons</groupId>
134 <artifactId>commons-dbcp2</artifactId>
135 <version>2.0.1</version>
138 <groupId>org.codehaus.jackson</groupId>
139 <artifactId>jackson-mapper-asl</artifactId>
140 <version>1.9.2</version>
143 </dependencyManagement>
148 <directory>${resources.dir}</directory>
151 <directory>${project.build.directory}/generated-resources</directory>
154 <directory>${basedir}/src/main/java</directory>
156 <exclude>**/*.java</exclude>
160 <directory>${basedir}/src/main/resources</directory>
165 <directory>${basedir}/src/test/java</directory>
167 <exclude>**/*.java</exclude>
171 <directory>${basedir}/src/test/resources</directory>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-antrun-plugin</artifactId>
179 <version>1.6</version>
182 <groupId>ant-contrib</groupId>
183 <artifactId>ant-contrib</artifactId>
184 <version>1.0b3</version>
187 <groupId>ant</groupId>
188 <artifactId>ant</artifactId>
193 <groupId>com.google.js</groupId>
194 <artifactId>closure-compiler</artifactId>
195 <version>1.0.0</version>
198 <groupId>com.google.closure-stylesheets</groupId>
199 <artifactId>closure-stylesheets</artifactId>
200 <version>20140426</version>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-clean-plugin</artifactId>
207 <version>2.4.1</version>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-release-plugin</artifactId>
212 <version>2.5.2</version>
214 <checkModificationExcludes>
215 <checkModificationExclude>**/*.java</checkModificationExclude>
216 </checkModificationExcludes>
217 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-release-plugin</artifactId>
230 <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId>
231 <version>2.4-fixed</version> <configuration> <srcLocation>${srcLocation}</srcLocation>
232 <classOutputDir>${classOutputDir}</classOutputDir> </configuration> </plugin -->
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-deploy-plugin</artifactId>
237 <version>2.7</version>
239 <retryFailedDeploymentCount>2</retryFailedDeploymentCount>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-javadoc-plugin</artifactId>
248 <version>2.6.1</version>
250 <aggregate>true</aggregate>
251 <stylesheetfile>${javadoc.loc}/javadoc.css</stylesheetfile>
252 <overview>${javadoc.loc}/overview.html</overview>
253 <excludePackageNames>org.apache.*,*.impl</excludePackageNames>
254 <breakiterator>true</breakiterator>
256 <failOnError>false</failOnError>
257 <verbose>false</verbose>
258 <show>protected</show>
260 <charset>gb2312</charset>
261 <encoding>UTF-8</encoding>
262 <docencoding>gb2312</docencoding>
263 <maxmemory>256M</maxmemory>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-compiler-plugin</artifactId>
269 <version>3.3</version>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-jar-plugin</artifactId>
278 <version>2.3.1</version>
280 <finalName>${bundle.name}</finalName>
281 <outputDirectory>${release.dir}</outputDirectory>
286 <artifactId>maven-clean-plugin</artifactId>
288 <failOnError>false</failOnError>
291 <directory>${release.dir}</directory>
293 <include>${bundle.name}.${project.packaging}</include>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-javadoc-plugin</artifactId>
307 <version>2.6.1</version>
309 <aggregate>true</aggregate>