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.3.1-SNAPSHOT</version>
35 <name>aai-spike</name>
38 <docker.location>${basedir}/target</docker.location>
39 <aaiCommonVersion>1.2.4</aaiCommonVersion>
42 <dependencyManagement>
45 <!-- Import dependency management from Spring Boot -->
46 <groupId>org.springframework.boot</groupId>
47 <artifactId>spring-boot-dependencies</artifactId>
48 <version>2.1.0.RELEASE</version>
53 </dependencyManagement>
57 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-web</artifactId>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-tomcat</artifactId>
68 <groupId>org.springframework.boot</groupId>
69 <artifactId>spring-boot-starter-jetty</artifactId>
73 <groupId>org.springframework</groupId>
74 <artifactId>spring-webmvc</artifactId>
78 <groupId>org.apache.commons</groupId>
79 <artifactId>commons-lang3</artifactId>
83 <groupId>org.codehaus.jackson</groupId>
84 <artifactId>jackson-mapper-asl</artifactId>
85 <version>1.4.5</version>
89 <groupId>commons-io</groupId>
90 <artifactId>commons-io</artifactId>
91 <version>2.4</version>
95 <groupId>org.onap.aai.aai-common</groupId>
96 <artifactId>aai-schema-ingest</artifactId>
97 <version>${aaiCommonVersion}</version>
100 <!-- Common logging framework -->
102 <groupId>org.onap.aai.logging-service</groupId>
103 <artifactId>common-logging</artifactId>
104 <version>1.2.2</version>
108 <groupId>org.onap.aai.logging-service</groupId>
109 <artifactId>logging-api</artifactId>
110 <version>1.2.2</version>
114 <groupId>ch.qos.logback</groupId>
115 <artifactId>logback-core</artifactId>
119 <groupId>org.onap.aai.aai-common</groupId>
120 <artifactId>aai-core</artifactId>
121 <version>${aaiCommonVersion}</version>
125 <artifactId>*</artifactId>
131 <groupId>com.google.guava</groupId>
132 <artifactId>guava</artifactId>
137 <groupId>org.eclipse.persistence</groupId>
138 <artifactId>eclipselink</artifactId>
139 <version>2.6.2</version>
143 <groupId>org.glassfish.jersey.core</groupId>
144 <artifactId>jersey-client</artifactId>
148 <groupId>org.glassfish.jersey.inject</groupId>
149 <artifactId>jersey-hk2</artifactId>
150 <version>2.26</version>
154 <groupId>com.google.code.gson</groupId>
155 <artifactId>gson</artifactId>
159 <groupId>org.onap.aai.aai-common</groupId>
160 <artifactId>aai-schema</artifactId>
161 <version>${aaiCommonVersion}</version>
165 <groupId>org.onap.aai.event-client</groupId>
166 <artifactId>event-client-api</artifactId>
167 <version>1.3.0</version>
171 <groupId>org.onap.aai.event-client</groupId>
172 <artifactId>event-client-dmaap</artifactId>
173 <version>1.3.0</version>
177 <groupId>org.onap.aai.event-client</groupId>
178 <artifactId>event-client-kafka</artifactId>
179 <version>1.3.0</version>
183 <groupId>org.apache.httpcomponents</groupId>
184 <artifactId>httpclient</artifactId>
185 <version>4.5.3</version>
189 <groupId>org.apache.httpcomponents</groupId>
190 <artifactId>httpcore</artifactId>
191 <version>4.4.1</version>
195 <groupId>org.json</groupId>
196 <artifactId>json</artifactId>
197 <version>20160212</version>
201 <groupId>org.skyscreamer</groupId>
202 <artifactId>jsonassert</artifactId>
209 <finalName>${project.artifactId}</finalName>
212 <groupId>org.springframework.boot</groupId>
213 <artifactId>spring-boot-maven-plugin</artifactId>
214 <version>2.0.3.RELEASE</version>
218 <goal>repackage</goal>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-resources-plugin</artifactId>
227 <version>2.7</version>
230 <id>copy-docker-file</id>
231 <phase>package</phase>
233 <goal>copy-resources</goal>
236 <outputDirectory>target</outputDirectory>
237 <overwrite>true</overwrite>
240 <directory>${basedir}/src/main/docker</directory>
241 <filtering>true</filtering>
243 <include>**/*</include>
247 <directory>${basedir}</directory>
248 <filtering>true</filtering>
250 <include>bundleconfig-local/**</include>
254 <directory>${basedir}/src/main/bin/</directory>
263 <groupId>org.jacoco</groupId>
264 <artifactId>jacoco-maven-plugin</artifactId>
267 <id>prepare-agent</id>
269 <goal>prepare-agent</goal>
274 <phase>package</phase>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-dependency-plugin</artifactId>
288 <phase>prepare-package</phase>
295 <groupId>org.onap.aai.aai-common</groupId>
296 <artifactId>aai-schema</artifactId>
297 <version>${aaiCommonVersion}</version>
299 <includes>oxm/</includes>
300 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
303 <groupId>org.onap.aai.aai-common</groupId>
304 <artifactId>aai-core</artifactId>
305 <version>${aaiCommonVersion}</version>
307 <includes>dbedgerules/</includes>
308 <excludes>**/*.ftlh</excludes>
309 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
318 <groupId>com.spotify</groupId>
319 <artifactId>docker-maven-plugin</artifactId>
320 <version>0.4.11</version>
322 <verbose>true</verbose>
323 <serverId>docker-hub</serverId>
324 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
325 <dockerDirectory>${docker.location}</dockerDirectory>
327 <imageTag>latest</imageTag>
329 <forceTags>true</forceTags>
334 <groupId>com.mycila</groupId>
335 <artifactId>license-maven-plugin</artifactId>
336 <version>3.0</version>
338 <header>License.txt</header>
340 <include>src/main/java/**</include>
341 <include>src/test/java/**</include>
342 <include>pom.xml</include>
344 <skipExistingHeaders>true</skipExistingHeaders>
349 <!-- Set goal to "format" to auto update license header. To verify only, set goal to "check". -->
352 <phase>process-sources</phase>