Update dependency versions in pom
[aai/gizmo.git] / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 org.onap.aai
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.oparent</groupId>
27         <artifactId>oparent</artifactId>
28         <version>1.1.1</version>
29         <relativePath />
30     </parent>
31
32     <groupId>org.onap.aai.gizmo</groupId>
33     <artifactId>gizmo</artifactId>
34     <version>1.3.0-SNAPSHOT</version>
35     <name>aai-gizmo</name>
36
37     <properties>
38         <docker.location>${basedir}/target</docker.location>
39         <version.org.onap.aai.aai-common>1.2.4</version.org.onap.aai.aai-common>
40     </properties>
41
42     <dependencyManagement>
43         <dependencies>
44             <dependency>
45                 <!-- Import dependency management from Spring Boot -->
46                 <groupId>org.springframework.boot</groupId>
47                 <artifactId>spring-boot-dependencies</artifactId>
48                 <version>1.5.12.RELEASE</version>
49                 <type>pom</type>
50                 <scope>import</scope>
51             </dependency>
52         </dependencies>
53     </dependencyManagement>
54
55     <dependencies>
56         <dependency>
57             <groupId>org.springframework.boot</groupId>
58             <artifactId>spring-boot-starter-web</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>org.springframework.boot</groupId>
62             <artifactId>spring-boot-starter-jetty</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>org.springframework.boot</groupId>
66             <artifactId>spring-boot-starter</artifactId>
67             <exclusions>
68                 <exclusion>
69                     <groupId>ch.qos.logback</groupId>
70                     <artifactId>logback-classic</artifactId>
71                 </exclusion>
72             </exclusions>
73         </dependency>
74         <dependency>
75             <groupId>org.springframework.boot</groupId>
76             <artifactId>spring-boot-starter-jersey</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>org.springframework.boot</groupId>
80             <artifactId>spring-boot-starter-actuator</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>org.springframework.boot</groupId>
84             <artifactId>spring-boot-configuration-processor</artifactId>
85             <optional>true</optional>
86         </dependency>
87         <dependency>
88             <groupId>org.springframework.boot</groupId>
89             <artifactId>spring-boot-starter-test</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.apache.cxf</groupId>
93             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
94             <version>3.2.4</version>
95         </dependency>
96
97         <!-- ONAP AAI-COMMON (incl. model) -->
98         <dependency>
99             <groupId>org.onap.aai.aai-common</groupId>
100             <artifactId>aai-schema</artifactId>
101             <version>${version.org.onap.aai.aai-common}</version>
102         </dependency>
103         <dependency>
104             <groupId>org.onap.aai.aai-common</groupId>
105             <artifactId>aai-schema-ingest</artifactId>
106             <version>${version.org.onap.aai.aai-common}</version>
107         </dependency>
108         <dependency>
109             <groupId>org.onap.aai.aai-common</groupId>
110             <artifactId>aai-core</artifactId>
111             <version>${version.org.onap.aai.aai-common}</version>
112             <exclusions>
113                 <exclusion>
114                     <groupId>*</groupId>
115                     <artifactId>*</artifactId>
116                 </exclusion>
117             </exclusions>
118         </dependency>
119         <dependency>
120             <groupId>org.onap.aai.aai-common</groupId>
121             <artifactId>aai-utils</artifactId>
122             <version>${version.org.onap.aai.aai-common}</version>
123         </dependency>
124         <dependency>
125             <groupId>org.onap.aai.aai-common</groupId>
126             <artifactId>aai-auth</artifactId>
127             <version>${version.org.onap.aai.aai-common}</version>
128         </dependency>
129
130         <!-- ONAP EVENT CLIENT -->
131         <dependency>
132             <groupId>org.onap.aai.event-client</groupId>
133             <artifactId>event-client-dmaap</artifactId>
134             <version>1.2.2</version>
135             <exclusions>
136                 <exclusion>
137                     <groupId>org.slf4j</groupId>
138                     <artifactId>slf4j-api</artifactId>
139                 </exclusion>
140             </exclusions>
141         </dependency>
142         <dependency>
143             <groupId>org.onap.aai.event-client</groupId>
144             <artifactId>event-client-kafka</artifactId>
145             <version>1.2.2</version>
146             <exclusions>
147                 <exclusion>
148                     <groupId>org.slf4j</groupId>
149                     <artifactId>slf4j-api</artifactId>
150                 </exclusion>
151             </exclusions>
152         </dependency>
153
154         <!-- ONAP COMMON LOGGING -->
155         <dependency>
156             <groupId>org.onap.aai.logging-service</groupId>
157             <artifactId>common-logging</artifactId>
158             <version>1.2.2</version>
159             <exclusions>
160                 <exclusion>
161                     <groupId>ch.qos.logback</groupId>
162                     <artifactId>logback-classic</artifactId>
163                 </exclusion>
164                 <exclusion>
165                     <groupId>ch.qos.logback</groupId>
166                     <artifactId>logback-core</artifactId>
167                 </exclusion>
168                 <exclusion>
169                     <groupId>org.slf4j</groupId>
170                     <artifactId>slf4j-api</artifactId>
171                 </exclusion>
172             </exclusions>
173         </dependency>
174
175         <!-- ONAP REST CLIENT -->
176         <dependency>
177             <groupId>org.onap.aai</groupId>
178             <artifactId>rest-client</artifactId>
179             <version>1.2.1</version>
180         </dependency>
181
182         <dependency>
183             <groupId>ch.qos.logback</groupId>
184             <artifactId>logback-classic</artifactId>
185             <version>1.2.3</version>
186         </dependency>
187         <dependency>
188             <groupId>ch.qos.logback</groupId>
189             <artifactId>logback-core</artifactId>
190             <version>1.2.3</version>
191             <exclusions>
192                 <exclusion>
193                     <groupId>ch.qos.logback</groupId>
194                     <artifactId>logback-classic</artifactId>
195                 </exclusion>
196             </exclusions>
197         </dependency>
198         <dependency>
199             <groupId>ch.qos.logback</groupId>
200             <artifactId>logback-access</artifactId>
201             <version>1.2.3</version>
202         </dependency>
203         <dependency>
204             <groupId>com.google.guava</groupId>
205             <artifactId>guava</artifactId>
206             <version>23.0</version>
207         </dependency>
208         <dependency>
209             <groupId>radeox</groupId>
210             <artifactId>radeox</artifactId>
211             <version>1.0-b2</version>
212         </dependency>
213         <dependency>
214             <groupId>org.codehaus.jackson</groupId>
215             <artifactId>jackson-mapper-asl</artifactId>
216             <version>1.4.5</version>
217         </dependency>
218         <dependency>
219             <groupId>dom4j</groupId>
220             <artifactId>dom4j</artifactId>
221             <version>1.6.1</version>
222             <scope>provided</scope>
223         </dependency>
224         <dependency>
225             <groupId>commons-io</groupId>
226             <artifactId>commons-io</artifactId>
227             <version>2.4</version>
228         </dependency>
229         <dependency>
230             <groupId>org.apache.commons</groupId>
231             <artifactId>commons-lang3</artifactId>
232             <version>3.3.1</version>
233         </dependency>
234         <dependency>
235             <groupId>com.google.code.gson</groupId>
236             <artifactId>gson</artifactId>
237             <version>2.6.2</version>
238         </dependency>
239         <dependency>
240             <groupId>org.eclipse.persistence</groupId>
241             <artifactId>eclipselink</artifactId>
242             <version>2.6.2</version>
243         </dependency>
244         <dependency>
245             <groupId>net.dongliu</groupId>
246             <artifactId>gson-java8-datatype</artifactId>
247             <version>1.0.3</version>
248         </dependency>
249         <dependency>
250             <groupId>com.jayway.jsonpath</groupId>
251             <artifactId>json-path</artifactId>
252             <version>2.2.0</version>
253             <exclusions>
254                 <exclusion>
255                     <groupId>org.slf4j</groupId>
256                     <artifactId>slf4j-api</artifactId>
257                 </exclusion>
258             </exclusions>
259         </dependency>
260         <dependency>
261             <groupId>org.apache.tinkerpop</groupId>
262             <artifactId>gremlin-core</artifactId>
263             <version>3.2.3</version>
264             <scope>provided</scope>
265             <exclusions>
266                 <exclusion>
267                     <groupId>org.slf4j</groupId>
268                     <artifactId>slf4j-log4j12</artifactId>
269                 </exclusion>
270                 <exclusion>
271                     <groupId>org.slf4j</groupId>
272                     <artifactId>jcl-over-slf4j</artifactId>
273                 </exclusion>
274                 <exclusion>
275                     <groupId>org.slf4j</groupId>
276                     <artifactId>slf4j-api</artifactId>
277                 </exclusion>
278             </exclusions>
279         </dependency>
280         <dependency>
281             <groupId>org.apache.tinkerpop</groupId>
282             <artifactId>tinkergraph-gremlin</artifactId>
283             <version>3.2.3</version>
284             <scope>provided</scope>
285         </dependency>
286         <dependency>
287             <groupId>org.json</groupId>
288             <artifactId>json</artifactId>
289             <version>20160212</version>
290         </dependency>
291         <dependency>
292             <groupId>org.apache.httpcomponents</groupId>
293             <artifactId>httpclient</artifactId>
294             <version>4.5.3</version>
295         </dependency>
296         <dependency>
297             <groupId>org.apache.httpcomponents</groupId>
298             <artifactId>httpcore</artifactId>
299             <version>4.4.1</version>
300         </dependency>
301
302         <!-- TEST DEPENDENCIES -->
303         <dependency>
304             <groupId>junit</groupId>
305             <artifactId>junit</artifactId>
306         </dependency>
307         <dependency>
308             <groupId>org.skyscreamer</groupId>
309             <artifactId>jsonassert</artifactId>
310             <version>1.5.0</version>
311             <scope>test</scope>
312         </dependency>
313         <dependency>
314             <groupId>org.mockito</groupId>
315             <artifactId>mockito-core</artifactId>
316             <version>1.10.19</version>
317             <scope>test</scope>
318             <exclusions>
319                 <exclusion>
320                     <groupId>org.hamcrest</groupId>
321                     <artifactId>hamcrest-library</artifactId>
322                 </exclusion>
323             </exclusions>
324         </dependency>
325     </dependencies>
326
327     <build>
328         <finalName>${project.artifactId}</finalName>
329         <plugins>
330             <plugin>
331                 <groupId>org.apache.maven.plugins</groupId>
332                 <artifactId>maven-resources-plugin</artifactId>
333                 <version>2.7</version>
334                 <executions>
335                     <execution>
336                         <id>copy-docker-file</id>
337                         <phase>package</phase>
338                         <goals>
339                             <goal>copy-resources</goal>
340                         </goals>
341                         <configuration>
342                             <outputDirectory>target</outputDirectory>
343                             <overwrite>true</overwrite>
344                             <resources>
345                                 <resource>
346                                     <directory>${basedir}/src/main/docker</directory>
347                                     <filtering>true</filtering>
348                                     <includes>
349                                         <include>**/*</include>
350                                     </includes>
351                                 </resource>
352                                 <resource>
353                                     <directory>${basedir}</directory>
354                                     <filtering>true</filtering>
355                                     <includes>
356                                         <include>bundleconfig-local/**</include>
357                                     </includes>
358                                 </resource>
359                                 <resource>
360                                     <directory>${basedir}/src/main/bin/</directory>
361                                 </resource>
362                             </resources>
363                         </configuration>
364                     </execution>
365                 </executions>
366             </plugin>
367
368             <plugin>
369                 <groupId>com.spotify</groupId>
370                 <artifactId>docker-maven-plugin</artifactId>
371                 <version>0.4.11</version>
372                 <dependencies>
373                     <dependency>
374                         <groupId>com.github.jnr</groupId>
375                         <artifactId>jnr-unixsocket</artifactId>
376                         <version>0.13</version>
377                     </dependency>
378                 </dependencies>
379                 <configuration>
380                     <verbose>true</verbose>
381                     <serverId>docker-hub</serverId>
382                     <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
383                     <dockerDirectory>${docker.location}</dockerDirectory>
384                     <imageTags>
385                         <imageTag>latest</imageTag>
386                     </imageTags>
387                     <forceTags>true</forceTags>
388                 </configuration>
389             </plugin>
390
391             <!-- license plugin -->
392             <!-- Uncomment this to add a license header to every source file -->
393             <plugin>
394                 <groupId>com.mycila</groupId>
395                 <artifactId>license-maven-plugin</artifactId>
396                 <version>3.0</version>
397                 <configuration>
398                     <header>License.txt</header>
399                     <includes>
400                         <include>src/main/java/**</include>
401                         <include>src/test/java/**</include>
402                         <include>pom.xml</include>
403                     </includes>
404                     <skipExistingHeaders>true</skipExistingHeaders>
405                 </configuration>
406                 <executions>
407                     <execution>
408                         <goals>
409                             <!-- Set goal from "check" to "format" to auto update license headers -->
410                             <goal>check</goal>
411                         </goals>
412                         <phase>process-sources</phase>
413                     </execution>
414                 </executions>
415             </plugin>
416
417             <plugin>
418                 <groupId>org.apache.maven.plugins</groupId>
419                 <artifactId>maven-site-plugin</artifactId>
420                 <version>3.3</version>
421                 <configuration>
422                     <reportPlugins>
423                         <plugin>
424                             <groupId>org.apache.maven.plugins</groupId>
425                             <artifactId>maven-checkstyle-plugin</artifactId>
426                             <version>2.17</version>
427                             <reportSets>
428                                 <reportSet>
429                                     <reports>
430                                         <report>checkstyle</report>
431                                     </reports>
432                                 </reportSet>
433                             </reportSets>
434                         </plugin>
435                     </reportPlugins>
436                 </configuration>
437             </plugin>
438             <plugin>
439                 <groupId>org.apache.maven.plugins</groupId>
440                 <artifactId>maven-deploy-plugin</artifactId>
441                 <configuration>
442                     <skip>true</skip>
443                 </configuration>
444             </plugin>
445             <plugin>
446                 <groupId>org.springframework.boot</groupId>
447                 <artifactId>spring-boot-maven-plugin</artifactId>
448                 <version>2.0.1.RELEASE</version>
449                 <executions>
450                     <execution>
451                         <goals>
452                             <goal>repackage</goal>
453                         </goals>
454                     </execution>
455                 </executions>
456             </plugin>
457             <plugin>
458                 <groupId>org.apache.maven.plugins</groupId>
459                 <artifactId>maven-dependency-plugin</artifactId>
460                 <executions>
461                     <execution>
462                         <id>unpack</id>
463                         <phase>prepare-package</phase>
464                         <goals>
465                             <goal>unpack</goal>
466                         </goals>
467                         <configuration>
468                             <artifactItems>
469                                 <artifactItem>
470                                     <groupId>org.onap.aai.aai-common</groupId>
471                                     <artifactId>aai-schema</artifactId>
472                                     <version>${version.org.onap.aai.aai-common}</version>
473                                     <type>jar</type>
474                                     <includes>oxm/</includes>
475                                     <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
476                                 </artifactItem>
477                                 <artifactItem>
478                                     <groupId>org.onap.aai.aai-common</groupId>
479                                     <artifactId>aai-core</artifactId>
480                                     <version>${version.org.onap.aai.aai-common}</version>
481                                     <type>jar</type>
482                                     <includes>dbedgerules/</includes>
483                                     <excludes>**/*.ftlh</excludes>
484                                     <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
485                                 </artifactItem>
486                             </artifactItems>
487                         </configuration>
488                     </execution>
489                 </executions>
490             </plugin>
491         </plugins>
492     </build>
493
494     <distributionManagement>
495         <site>
496             <id>ecomp-javadoc</id>
497             <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
498         </site>
499     </distributionManagement>
500 </project>