Update aai-common artifact versions to 1.2.4
[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
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.oparent</groupId>
28         <artifactId>oparent</artifactId>
29         <version>1.1.0</version>
30         <relativePath />
31     </parent>
32
33     <groupId>org.onap.aai.gizmo</groupId>
34     <artifactId>gizmo</artifactId>
35     <version>1.2.0-SNAPSHOT</version>
36     <name>aai-gizmo</name>
37
38
39     <properties>
40         <docker.location>${basedir}/target</docker.location>
41         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
42         <testRouteOffer>workstation</testRouteOffer>
43         <testEnv>DEV</testEnv>
44         <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
45     </properties>
46
47     <dependencyManagement>
48         <dependencies>
49             <dependency>
50                 <!-- Import dependency management from Spring Boot -->
51                 <groupId>org.springframework.boot</groupId>
52                 <artifactId>spring-boot-dependencies</artifactId>
53                 <version>1.5.12.RELEASE</version>
54                 <type>pom</type>
55                 <scope>import</scope>
56             </dependency>
57         </dependencies>
58     </dependencyManagement>
59
60     <dependencies>
61         <dependency>
62             <groupId>org.springframework.boot</groupId>
63             <artifactId>spring-boot-starter-web</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.springframework.boot</groupId>
67             <artifactId>spring-boot-starter-jetty</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.springframework.boot</groupId>
71             <artifactId>spring-boot-starter</artifactId>
72             <exclusions>
73                 <exclusion>
74                         <groupId>ch.qos.logback</groupId>
75                         <artifactId>logback-classic</artifactId>
76                 </exclusion>
77             </exclusions>
78         </dependency>
79         <dependency>
80             <groupId>org.springframework.boot</groupId>
81             <artifactId>spring-boot-starter-jersey</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-actuator</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.apache.cxf</groupId>
89             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
90             <version>3.2.4</version>
91         </dependency>
92         <dependency>
93             <groupId>ch.qos.logback</groupId>
94             <artifactId>logback-classic</artifactId>
95             <version>1.2.3</version>
96         </dependency>
97         <dependency>
98             <groupId>ch.qos.logback</groupId>
99             <artifactId>logback-core</artifactId>
100             <version>1.2.3</version>
101             <exclusions>
102                 <exclusion>
103                     <groupId>ch.qos.logback</groupId>
104                     <artifactId>logback-classic</artifactId>
105                 </exclusion>
106             </exclusions>
107         </dependency> 
108         <dependency>
109             <groupId>com.google.guava</groupId>
110             <artifactId>guava</artifactId>
111             <version>23.0</version>
112         </dependency>
113         <dependency>
114             <groupId>radeox</groupId>
115             <artifactId>radeox</artifactId>
116             <version>1.0-b2</version>
117         </dependency>
118         <dependency>
119             <groupId>org.codehaus.jackson</groupId>
120             <artifactId>jackson-mapper-asl</artifactId>
121             <version>1.4.5</version>
122         </dependency>
123         <dependency>
124             <groupId>org.mockito</groupId>
125             <artifactId>mockito-all</artifactId>
126             <version>1.9.5</version>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>dom4j</groupId>
131             <artifactId>dom4j</artifactId>
132             <version>1.6.1</version>
133             <scope>provided</scope>
134         </dependency>
135         <dependency>
136             <groupId>commons-io</groupId>
137             <artifactId>commons-io</artifactId>
138             <version>2.4</version>
139         </dependency>
140         <dependency>
141             <groupId>org.apache.commons</groupId>
142             <artifactId>commons-lang3</artifactId>
143             <version>3.3.1</version>
144         </dependency>
145         <dependency>
146             <groupId>com.google.code.gson</groupId>
147             <artifactId>gson</artifactId>
148             <version>2.6.2</version>
149         </dependency>
150         <!-- Common logging framework -->
151         <dependency>
152             <groupId>org.onap.aai.logging-service</groupId>
153             <artifactId>common-logging</artifactId>
154             <version>1.2.2</version>
155             <exclusions>
156                 <exclusion>
157                     <groupId>ch.qos.logback</groupId>
158                     <artifactId>logback-classic</artifactId>
159                 </exclusion>
160                 <exclusion>
161                     <groupId>ch.qos.logback</groupId>
162                     <artifactId>logback-core</artifactId>
163                 </exclusion>
164                 <exclusion>
165                     <groupId>org.slf4j</groupId>
166                     <artifactId>slf4j-api</artifactId>
167                 </exclusion>
168             </exclusions>
169         </dependency>
170         <dependency>
171             <groupId>org.onap.aai.event-client</groupId>
172             <artifactId>event-client-dmaap</artifactId>
173             <version>1.2.1</version>
174             <exclusions>
175                 <exclusion>
176                     <groupId>org.slf4j</groupId>
177                     <artifactId>slf4j-api</artifactId>
178                 </exclusion>
179             </exclusions>
180         </dependency>
181         <dependency>
182             <groupId>org.onap.aai.aai-common</groupId>
183             <artifactId>aai-schema</artifactId>
184             <version>1.2.4</version>
185         </dependency>
186         <dependency>
187             <groupId>org.onap.aai.aai-common</groupId>
188             <artifactId>aai-utils</artifactId>
189             <version>1.2.4</version>
190         </dependency>
191         <dependency>
192             <groupId>org.onap.aai.aai-common</groupId>
193             <artifactId>aai-core</artifactId>
194             <version>1.2.4</version>
195             <exclusions>
196                 <exclusion>
197                     <groupId>*</groupId>
198                     <artifactId>*</artifactId>
199                 </exclusion>
200             </exclusions>
201         </dependency>
202         <dependency>
203             <groupId>org.onap.aai.aai-common</groupId>
204             <artifactId>aai-auth</artifactId>
205             <version>1.2.4</version>
206         </dependency>
207         <dependency>
208             <groupId>org.eclipse.persistence</groupId>
209             <artifactId>eclipselink</artifactId>
210             <version>2.6.2</version>
211         </dependency>
212         <dependency>
213             <groupId>org.onap.aai</groupId>
214             <artifactId>rest-client</artifactId>
215             <version>1.2.1</version>
216         </dependency>
217         <dependency>
218             <groupId>net.dongliu</groupId>
219             <artifactId>gson-java8-datatype</artifactId>
220             <version>1.0.3</version>
221         </dependency>
222         <dependency>
223             <groupId>com.jayway.jsonpath</groupId>
224             <artifactId>json-path</artifactId>
225             <version>2.2.0</version>
226             <exclusions>
227                 <exclusion>
228                     <groupId>org.slf4j</groupId>
229                     <artifactId>slf4j-api</artifactId>
230                 </exclusion>
231             </exclusions>
232         </dependency>
233         <!-- AAI-CORE specific dependencies -->
234         <dependency>
235             <groupId>org.apache.tinkerpop</groupId>
236             <artifactId>gremlin-core</artifactId>
237             <version>3.2.3</version>
238             <scope>provided</scope>
239             <exclusions>
240                 <exclusion>
241                     <groupId>org.slf4j</groupId>
242                     <artifactId>slf4j-log4j12</artifactId>
243                 </exclusion>
244                 <exclusion>
245                     <groupId>org.slf4j</groupId>
246                     <artifactId>jcl-over-slf4j</artifactId>
247                 </exclusion>
248                 <exclusion>
249                     <groupId>org.slf4j</groupId>
250                     <artifactId>slf4j-api</artifactId>
251                 </exclusion>
252             </exclusions>
253         </dependency>
254         <dependency>
255             <groupId>org.apache.tinkerpop</groupId>
256             <artifactId>tinkergraph-gremlin</artifactId>
257             <version>3.2.3</version>
258             <scope>provided</scope>
259         </dependency>
260         <dependency>
261             <groupId>org.json</groupId>
262             <artifactId>json</artifactId>
263             <version>20160212</version>
264         </dependency>
265         <dependency>
266             <groupId>junit</groupId>
267             <artifactId>junit</artifactId>
268         </dependency>
269         <dependency>
270             <groupId>org.skyscreamer</groupId>
271             <artifactId>jsonassert</artifactId>
272             <version>1.5.0</version>
273             <scope>test</scope>
274         </dependency>
275         <dependency>
276             <groupId>org.hamcrest</groupId>
277             <artifactId>hamcrest-library</artifactId>
278             <version>${version.org.hamcrest.hamcrest-library}</version>
279             <scope>test</scope>
280         </dependency>
281         <dependency>
282             <groupId>org.apache.httpcomponents</groupId>
283             <artifactId>httpclient</artifactId>
284             <version>4.5.3</version>
285         </dependency>
286         <dependency>
287             <groupId>org.apache.httpcomponents</groupId>
288             <artifactId>httpcore</artifactId>
289             <version>4.4.1</version>
290         </dependency>
291         <dependency>
292             <groupId>org.springframework.boot</groupId>
293             <artifactId>
294                     spring-boot-configuration-processor
295                 </artifactId>
296             <optional>true</optional>
297         </dependency>
298     </dependencies>
299
300     <build>
301         <finalName>${project.artifactId}</finalName>
302         <plugins>
303             <plugin>
304                 <groupId>org.apache.maven.plugins</groupId>
305                 <artifactId>maven-resources-plugin</artifactId>
306                 <version>2.7</version>
307                 <executions>
308                     <execution>
309                         <id>copy-docker-file</id>
310                         <phase>package</phase>
311                         <goals>
312                             <goal>copy-resources</goal>
313                         </goals>
314                         <configuration>
315                             <outputDirectory>target</outputDirectory>
316                             <overwrite>true</overwrite>
317                             <resources>
318                                 <resource>
319                                     <directory>${basedir}/src/main/docker</directory>
320                                     <filtering>true</filtering>
321                                     <includes>
322                                         <include>**/*</include>
323                                     </includes>
324                                 </resource>
325                                 <resource>
326                                     <directory>${basedir}/src/main/bin/</directory>
327                                 </resource>
328                             </resources>
329                         </configuration>
330                     </execution>
331                 </executions>
332             </plugin>
333
334             <plugin>
335                 <groupId>com.spotify</groupId>
336                 <artifactId>docker-maven-plugin</artifactId>
337                 <version>0.4.11</version>
338                 <configuration>
339                     <verbose>true</verbose>
340                     <serverId>docker-hub</serverId>
341                     <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
342                     <dockerDirectory>${docker.location}</dockerDirectory>
343                     <imageTags>
344                         <imageTag>latest</imageTag>
345                     </imageTags>
346                     <forceTags>true</forceTags>
347                 </configuration>
348             </plugin>
349
350             <!-- license plugin -->
351             <!-- Uncomment this to add a license header to every source file -->
352             <plugin>
353                 <groupId>com.mycila</groupId>
354                 <artifactId>license-maven-plugin</artifactId>
355                 <version>3.0</version>
356                 <configuration>
357                     <header>License.txt</header>
358                     <includes>
359                         <include>src/main/java/**</include>
360                         <include>src/test/java/**</include>
361                     </includes>
362                 </configuration>
363                 <executions>
364                     <execution>
365                         <goals>
366                             <goal>format</goal>
367                         </goals>
368                         <phase>process-sources</phase>
369                     </execution>
370                 </executions>
371             </plugin>
372
373             <plugin>
374                 <groupId>org.apache.maven.plugins</groupId>
375                 <artifactId>maven-site-plugin</artifactId>
376                 <version>3.3</version>
377                 <configuration>
378                     <reportPlugins>
379                         <plugin>
380                             <groupId>org.apache.maven.plugins</groupId>
381                             <artifactId>maven-checkstyle-plugin</artifactId>
382                             <version>2.17</version>
383                             <reportSets>
384                                 <reportSet>
385                                     <reports>
386                                         <report>checkstyle</report>
387                                     </reports>
388                                 </reportSet>
389                             </reportSets>
390                         </plugin>
391                     </reportPlugins>
392                 </configuration>
393             </plugin>
394
395             <plugin>
396                 <groupId>org.apache.maven.plugins</groupId>
397                 <artifactId>maven-deploy-plugin</artifactId>
398                 <configuration>
399                     <skip>true</skip>
400                 </configuration>
401             </plugin>
402             <plugin>
403                 <groupId>org.springframework.boot</groupId>
404                 <artifactId>spring-boot-maven-plugin</artifactId>
405                 <version>2.0.1.RELEASE</version>
406                 <executions>
407                     <execution>
408                         <goals>
409                             <goal>repackage</goal>
410                         </goals>
411                     </execution>
412                 </executions>
413             </plugin>
414         </plugins>
415     </build>
416
417     <distributionManagement>
418         <site>
419             <id>ecomp-javadoc</id>
420             <url>dav:https://ecomp-nexus:8443/repository/aai/gizmo-javadoc/${project.version}</url>
421         </site>
422     </distributionManagement>
423 </project>