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>
40 <module>common-util</module>
41 <module>rest-client</module>
44 <distributionManagement>
47 <url>http://113.200.115.170:4096/nexus/content/repositories/OPEN-O_Release</url>
51 <url>http://113.200.115.170:4096/nexus/content/repositories/OPEN-O_SnapShots</url>
53 </distributionManagement>
54 <dependencyManagement>
57 <groupId>commons-io</groupId>
58 <artifactId>commons-io</artifactId>
59 <version>2.4</version>
62 <groupId>org.apache.commons</groupId>
63 <artifactId>com.springsource.org.apache.commons.lang</artifactId>
64 <version>2.6.0</version>
67 <groupId>org.apache.commons</groupId>
68 <artifactId>com.springsource.org.apache.commons.logging</artifactId>
69 <version>1.1.1</version>
72 <groupId>org.apache.commons</groupId>
73 <artifactId>com.springsource.org.apache.commons.codec</artifactId>
74 <version>1.9.0</version>
78 <groupId>org.slf4j</groupId>
79 <artifactId>slf4j-api</artifactId>
80 <version>${slf4j.version}</version>
83 <groupId>org.slf4j</groupId>
84 <artifactId>com.springsource.slf4j.log4j</artifactId>
85 <version>${slf4j.version}</version>
88 <groupId>org.apache.log4j</groupId>
89 <artifactId>com.springsource.org.apache.log4j</artifactId>
90 <version>1.2.16</version>
93 <groupId>org.mybatis</groupId>
94 <artifactId>mybatis-spring</artifactId>
95 <version>1.2.0</version>
98 <groupId>org.mybatis</groupId>
99 <artifactId>mybatis</artifactId>
100 <version>3.2.7</version>
103 <groupId>org.apache.commons</groupId>
104 <artifactId>commons-lang3</artifactId>
105 <version>3.1</version>
108 <groupId>org.codehaus.jackson</groupId>
109 <artifactId>jackson-mapper-asl</artifactId>
110 <version>1.9.2</version>
113 <groupId>net.sf.json-lib</groupId>
114 <artifactId>json-lib</artifactId>
115 <version>2.4</version>
116 <classifier>jdk15</classifier>
119 <groupId>org.eclipse.jetty.aggregate</groupId>
120 <artifactId>jetty-all</artifactId>
121 <version>8.1.16.v20140903</version>
124 <groupId>org.eclipse.jetty.orbit</groupId>
125 <artifactId>javax.servlet</artifactId>
126 <version>3.0.0.v201112011016</version>
127 <scope>provided</scope>
130 <groupId>redis.clients</groupId>
131 <artifactId>jedis</artifactId>
132 <version>2.8.0</version>
135 <groupId>org.apache.commons</groupId>
136 <artifactId>commons-dbcp2</artifactId>
137 <version>2.0.1</version>
140 <groupId>org.codehaus.jackson</groupId>
141 <artifactId>jackson-mapper-asl</artifactId>
142 <version>1.9.2</version>
145 </dependencyManagement>
150 <directory>${resources.dir}</directory>
153 <directory>${project.build.directory}/generated-resources</directory>
156 <directory>${basedir}/src/main/java</directory>
158 <exclude>**/*.java</exclude>
162 <directory>${basedir}/src/main/resources</directory>
167 <directory>${basedir}/src/test/java</directory>
169 <exclude>**/*.java</exclude>
173 <directory>${basedir}/src/test/resources</directory>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-antrun-plugin</artifactId>
181 <version>1.6</version>
184 <groupId>ant-contrib</groupId>
185 <artifactId>ant-contrib</artifactId>
186 <version>1.0b3</version>
189 <groupId>ant</groupId>
190 <artifactId>ant</artifactId>
195 <groupId>com.google.js</groupId>
196 <artifactId>closure-compiler</artifactId>
197 <version>1.0.0</version>
200 <groupId>com.google.closure-stylesheets</groupId>
201 <artifactId>closure-stylesheets</artifactId>
202 <version>20140426</version>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-clean-plugin</artifactId>
209 <version>2.4.1</version>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-release-plugin</artifactId>
214 <version>2.5.2</version>
216 <checkModificationExcludes>
217 <checkModificationExclude>**/*.java</checkModificationExclude>
218 </checkModificationExcludes>
219 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-release-plugin</artifactId>
232 <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId>
233 <version>2.4-fixed</version> <configuration> <srcLocation>${srcLocation}</srcLocation>
234 <classOutputDir>${classOutputDir}</classOutputDir> </configuration> </plugin -->
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-deploy-plugin</artifactId>
239 <version>2.7</version>
241 <retryFailedDeploymentCount>2</retryFailedDeploymentCount>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-javadoc-plugin</artifactId>
250 <version>2.6.1</version>
252 <aggregate>true</aggregate>
253 <stylesheetfile>${javadoc.loc}/javadoc.css</stylesheetfile>
254 <overview>${javadoc.loc}/overview.html</overview>
255 <excludePackageNames>org.apache.*,*.impl</excludePackageNames>
256 <breakiterator>true</breakiterator>
258 <failOnError>false</failOnError>
259 <verbose>false</verbose>
260 <show>protected</show>
262 <charset>gb2312</charset>
263 <encoding>UTF-8</encoding>
264 <docencoding>gb2312</docencoding>
265 <maxmemory>256M</maxmemory>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-compiler-plugin</artifactId>
271 <version>3.3</version>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-jar-plugin</artifactId>
280 <version>2.3.1</version>
282 <finalName>${bundle.name}</finalName>
283 <outputDirectory>${release.dir}</outputDirectory>
288 <artifactId>maven-clean-plugin</artifactId>
290 <failOnError>false</failOnError>
293 <directory>${release.dir}</directory>
295 <include>${bundle.name}.${project.packaging}</include>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-javadoc-plugin</artifactId>
309 <version>2.6.1</version>
311 <aggregate>true</aggregate>