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