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