1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2016, Huawei Technologies Co., Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you
3 may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
4 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS
5 IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
6 governing permissions and limitations under the License. -->
7 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
9 <modelVersion>4.0.0</modelVersion>
10 <groupId>org.openo.baseservice</groupId>
11 <artifactId>common-setting</artifactId>
12 <version>1.0.1-SNAPSHOT</version>
13 <packaging>pom</packaging>
14 <name>common-setting</name>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <maven.test.skip>false</maven.test.skip>
19 <maven.test.failure.ignore>false</maven.test.failure.ignore>
20 <finalName>${project.artifactId}-${project.version}</finalName>
21 <release.dir>${basedir}/target</release.dir>
22 <slf4j.version>1.6.1</slf4j.version>
25 <bundle.name>${project.artifactId}-${project.version}</bundle.name>
26 <pkgzip.dir>${basedir}/../release/pkgzip</pkgzip.dir>
27 <excludesFile>**/*$*</excludesFile>
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 <nexusproxy>https://nexus.open-o.org/content</nexusproxy>
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35 <distributionManagement>
37 <id>open-o-releases</id>
38 <url>${nexusproxy}/repositories/releases</url>
41 <id>open-o-snapshots</id>
42 <url>${nexusproxy}/repositories/snapshots</url>
44 </distributionManagement>
47 <connection>scm:git:ssh://git.open-o.org:29418/common-services-common-utilities.git</connection>
48 <developerConnection>scm:git:ssh://git.open-o.org:29418/common-services-common-utilities.git</developerConnection>
50 <url>https://wiki.open-o.orgiew/Common_Services</url>
54 <module>common-util</module>
55 <module>rest-client</module>
58 <dependencyManagement>
61 <groupId>commons-io</groupId>
62 <artifactId>commons-io</artifactId>
63 <version>2.4</version>
66 <groupId>org.apache.commons</groupId>
67 <artifactId>org.apache.commons.lang</artifactId>
68 <version>2.6.0</version>
71 <groupId>org.apache.commons</groupId>
72 <artifactId>org.apache.commons.logging</artifactId>
73 <version>1.1.1</version>
76 <groupId>org.apache.commons</groupId>
77 <artifactId>org.apache.commons.codec</artifactId>
78 <version>1.9.0</version>
82 <groupId>org.slf4j</groupId>
83 <artifactId>slf4j-api</artifactId>
84 <version>${slf4j.version}</version>
87 <groupId>org.slf4j</groupId>
88 <artifactId>slf4j-log4j12</artifactId>
89 <version>${slf4j.version}</version>
92 <groupId>log4j</groupId>
93 <artifactId>log4j</artifactId>
94 <version>1.2.16</version>
97 <groupId>org.mybatis</groupId>
98 <artifactId>mybatis-spring</artifactId>
99 <version>1.2.0</version>
102 <groupId>org.mybatis</groupId>
103 <artifactId>mybatis</artifactId>
104 <version>3.2.7</version>
107 <groupId>org.apache.commons</groupId>
108 <artifactId>commons-lang3</artifactId>
109 <version>3.1</version>
112 <groupId>org.codehaus.jackson</groupId>
113 <artifactId>jackson-mapper-asl</artifactId>
114 <version>1.9.2</version>
117 <groupId>net.sf.json-lib</groupId>
118 <artifactId>json-lib</artifactId>
119 <version>2.4</version>
120 <classifier>jdk15</classifier>
123 <groupId>org.eclipse.jetty.aggregate</groupId>
124 <artifactId>jetty-all</artifactId>
125 <version>8.1.16.v20140903</version>
128 <groupId>org.eclipse.jetty.orbit</groupId>
129 <artifactId>javax.servlet</artifactId>
130 <version>3.0.0.v201112011016</version>
131 <scope>provided</scope>
134 <groupId>redis.clients</groupId>
135 <artifactId>jedis</artifactId>
136 <version>2.8.0</version>
139 <groupId>org.apache.commons</groupId>
140 <artifactId>commons-dbcp2</artifactId>
141 <version>2.0.1</version>
144 <groupId>org.codehaus.jackson</groupId>
145 <artifactId>jackson-mapper-asl</artifactId>
146 <version>1.9.2</version>
149 </dependencyManagement>
154 <directory>${resources.dir}</directory>
157 <directory>${project.build.directory}/generated-resources</directory>
160 <directory>${basedir}/src/main/java</directory>
162 <exclude>**/*.java</exclude>
166 <directory>${basedir}/src/main/resources</directory>
171 <directory>${basedir}/src/test/java</directory>
173 <exclude>**/*.java</exclude>
177 <directory>${basedir}/src/test/resources</directory>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-antrun-plugin</artifactId>
185 <version>1.6</version>
188 <groupId>ant-contrib</groupId>
189 <artifactId>ant-contrib</artifactId>
190 <version>1.0b3</version>
193 <groupId>ant</groupId>
194 <artifactId>ant</artifactId>
199 <groupId>com.google.js</groupId>
200 <artifactId>closure-compiler</artifactId>
201 <version>1.0.0</version>
204 <groupId>com.google.closure-stylesheets</groupId>
205 <artifactId>closure-stylesheets</artifactId>
206 <version>20140426</version>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-clean-plugin</artifactId>
213 <version>2.4.1</version>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-release-plugin</artifactId>
218 <version>2.5.2</version>
220 <checkModificationExcludes>
221 <checkModificationExclude>**/*.java</checkModificationExclude>
222 </checkModificationExcludes>
223 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-release-plugin</artifactId>
236 <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4-fixed</version>
237 <configuration> <srcLocation>${srcLocation}</srcLocation> <classOutputDir>${classOutputDir}</classOutputDir> </configuration>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-deploy-plugin</artifactId>
243 <version>2.7</version>
245 <retryFailedDeploymentCount>2</retryFailedDeploymentCount>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-javadoc-plugin</artifactId>
254 <version>2.6.1</version>
256 <aggregate>true</aggregate>
257 <stylesheetfile>${javadoc.loc}/javadoc.css</stylesheetfile>
258 <overview>${javadoc.loc}/overview.html</overview>
259 <excludePackageNames>org.apache.*,*.impl</excludePackageNames>
260 <breakiterator>true</breakiterator>
262 <failOnError>false</failOnError>
263 <verbose>false</verbose>
264 <show>protected</show>
266 <charset>gb2312</charset>
267 <encoding>UTF-8</encoding>
268 <docencoding>gb2312</docencoding>
269 <maxmemory>256M</maxmemory>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-compiler-plugin</artifactId>
275 <version>3.3</version>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-jar-plugin</artifactId>
284 <version>2.3.1</version>
286 <finalName>${bundle.name}</finalName>
287 <outputDirectory>${release.dir}</outputDirectory>
292 <artifactId>maven-clean-plugin</artifactId>
294 <failOnError>false</failOnError>
297 <directory>${release.dir}</directory>
299 <include>${bundle.name}.${project.packaging}</include>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-javadoc-plugin</artifactId>
313 <version>2.6.1</version>
315 <aggregate>true</aggregate>