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