3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 Copyright © 2017-2018 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.2.0</version>
32 <groupId>org.onap.aai</groupId>
33 <artifactId>spike</artifactId>
34 <version>1.4.0-SNAPSHOT</version>
35 <name>aai-spike</name>
38 <docker.location>${basedir}/target</docker.location>
39 <aaiCommonVersion>1.2.4</aaiCommonVersion>
40 <event.client.version>1.3.1</event.client.version>
43 <dependencyManagement>
46 <!-- Import dependency management from Spring Boot -->
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-dependencies</artifactId>
49 <version>2.1.0.RELEASE</version>
54 </dependencyManagement>
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-web</artifactId>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-tomcat</artifactId>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-jetty</artifactId>
74 <groupId>org.springframework</groupId>
75 <artifactId>spring-webmvc</artifactId>
79 <groupId>org.apache.commons</groupId>
80 <artifactId>commons-lang3</artifactId>
84 <groupId>org.codehaus.jackson</groupId>
85 <artifactId>jackson-mapper-asl</artifactId>
86 <version>1.4.5</version>
90 <groupId>commons-io</groupId>
91 <artifactId>commons-io</artifactId>
92 <version>2.4</version>
96 <groupId>org.onap.aai.aai-common</groupId>
97 <artifactId>aai-schema-ingest</artifactId>
98 <version>${aaiCommonVersion}</version>
101 <!-- Common logging framework -->
103 <groupId>org.onap.aai.logging-service</groupId>
104 <artifactId>common-logging</artifactId>
105 <version>1.2.2</version>
109 <groupId>org.onap.aai.logging-service</groupId>
110 <artifactId>logging-api</artifactId>
111 <version>1.2.2</version>
115 <groupId>ch.qos.logback</groupId>
116 <artifactId>logback-core</artifactId>
120 <groupId>org.onap.aai.aai-common</groupId>
121 <artifactId>aai-core</artifactId>
122 <version>${aaiCommonVersion}</version>
126 <artifactId>*</artifactId>
132 <groupId>com.google.guava</groupId>
133 <artifactId>guava</artifactId>
138 <groupId>org.eclipse.persistence</groupId>
139 <artifactId>eclipselink</artifactId>
140 <version>2.6.2</version>
144 <groupId>org.glassfish.jersey.core</groupId>
145 <artifactId>jersey-client</artifactId>
149 <groupId>org.glassfish.jersey.inject</groupId>
150 <artifactId>jersey-hk2</artifactId>
151 <version>2.26</version>
155 <groupId>com.google.code.gson</groupId>
156 <artifactId>gson</artifactId>
160 <groupId>org.onap.aai.aai-common</groupId>
161 <artifactId>aai-schema</artifactId>
162 <version>${aaiCommonVersion}</version>
166 <groupId>org.onap.aai.event-client</groupId>
167 <artifactId>event-client-api</artifactId>
168 <version>${event.client.version}</version>
172 <groupId>org.onap.aai.event-client</groupId>
173 <artifactId>event-client-dmaap</artifactId>
174 <version>${event.client.version}</version>
178 <groupId>org.onap.aai.event-client</groupId>
179 <artifactId>event-client-kafka</artifactId>
180 <version>${event.client.version}</version>
184 <groupId>org.onap.aai.event-client</groupId>
185 <artifactId>event-client-rabbitmq</artifactId>
186 <version>${event.client.version}</version>
190 <groupId>org.apache.httpcomponents</groupId>
191 <artifactId>httpclient</artifactId>
192 <version>4.5.3</version>
196 <groupId>org.apache.httpcomponents</groupId>
197 <artifactId>httpcore</artifactId>
198 <version>4.4.1</version>
202 <groupId>org.json</groupId>
203 <artifactId>json</artifactId>
204 <version>20160212</version>
208 <groupId>org.skyscreamer</groupId>
209 <artifactId>jsonassert</artifactId>
216 <finalName>${project.artifactId}</finalName>
219 <groupId>org.springframework.boot</groupId>
220 <artifactId>spring-boot-maven-plugin</artifactId>
221 <version>2.0.3.RELEASE</version>
225 <goal>repackage</goal>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-resources-plugin</artifactId>
234 <version>2.7</version>
237 <id>copy-docker-file</id>
238 <phase>package</phase>
240 <goal>copy-resources</goal>
243 <outputDirectory>target</outputDirectory>
244 <overwrite>true</overwrite>
247 <directory>${basedir}/src/main/docker</directory>
248 <filtering>true</filtering>
250 <include>**/*</include>
254 <directory>${basedir}</directory>
255 <filtering>true</filtering>
257 <include>bundleconfig-local/**</include>
261 <directory>${basedir}/src/main/bin/</directory>
270 <groupId>org.jacoco</groupId>
271 <artifactId>jacoco-maven-plugin</artifactId>
274 <id>prepare-agent</id>
276 <goal>prepare-agent</goal>
281 <phase>package</phase>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-dependency-plugin</artifactId>
295 <phase>prepare-package</phase>
302 <groupId>org.onap.aai.aai-common</groupId>
303 <artifactId>aai-schema</artifactId>
304 <version>${aaiCommonVersion}</version>
306 <includes>oxm/</includes>
307 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
310 <groupId>org.onap.aai.aai-common</groupId>
311 <artifactId>aai-core</artifactId>
312 <version>${aaiCommonVersion}</version>
314 <includes>dbedgerules/</includes>
315 <excludes>**/*.ftlh</excludes>
316 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
325 <groupId>com.spotify</groupId>
326 <artifactId>docker-maven-plugin</artifactId>
327 <version>0.4.11</version>
329 <verbose>true</verbose>
330 <serverId>docker-hub</serverId>
331 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
332 <dockerDirectory>${docker.location}</dockerDirectory>
334 <imageTag>latest</imageTag>
336 <forceTags>true</forceTags>
341 <groupId>com.mycila</groupId>
342 <artifactId>license-maven-plugin</artifactId>
343 <version>3.0</version>
345 <header>License.txt</header>
347 <include>src/main/java/**</include>
348 <include>src/test/java/**</include>
349 <include>pom.xml</include>
351 <skipExistingHeaders>true</skipExistingHeaders>
356 <!-- Set goal to "format" to auto update license header. To verify only, set goal to "check". -->
359 <phase>process-sources</phase>