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