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