2 ============LICENSE_START=======================================================
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
12 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
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>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.1.1</version>
32 <groupId>org.onap.aai</groupId>
33 <artifactId>spike</artifactId>
34 <version>1.0.0-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.0.3.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>dom4j</groupId>
90 <artifactId>dom4j</artifactId>
94 <groupId>commons-io</groupId>
95 <artifactId>commons-io</artifactId>
96 <version>2.4</version>
100 <groupId>org.onap.aai.aai-common</groupId>
101 <artifactId>aai-schema-ingest</artifactId>
102 <version>${aaiCommonVersion}</version>
105 <!-- Common logging framework -->
107 <groupId>org.onap.aai.logging-service</groupId>
108 <artifactId>common-logging</artifactId>
109 <version>1.2.2</version>
113 <groupId>org.onap.aai.logging-service</groupId>
114 <artifactId>logging-api</artifactId>
115 <version>1.2.2</version>
119 <groupId>ch.qos.logback</groupId>
120 <artifactId>logback-core</artifactId>
124 <groupId>org.onap.aai.aai-common</groupId>
125 <artifactId>aai-core</artifactId>
126 <version>${aaiCommonVersion}</version>
130 <artifactId>*</artifactId>
136 <groupId>com.google.guava</groupId>
137 <artifactId>guava</artifactId>
138 <version>25.1-jre</version>
142 <groupId>org.eclipse.persistence</groupId>
143 <artifactId>eclipselink</artifactId>
144 <version>2.6.2</version>
148 <groupId>org.glassfish.jersey.core</groupId>
149 <artifactId>jersey-client</artifactId>
153 <groupId>org.glassfish.jersey.inject</groupId>
154 <artifactId>jersey-hk2</artifactId>
155 <version>2.26</version>
159 <groupId>com.google.code.gson</groupId>
160 <artifactId>gson</artifactId>
164 <groupId>org.onap.aai.aai-common</groupId>
165 <artifactId>aai-schema</artifactId>
166 <version>${aaiCommonVersion}</version>
170 <groupId>org.onap.aai.event-client</groupId>
171 <artifactId>event-client-api</artifactId>
172 <version>1.2.2</version>
176 <groupId>org.onap.aai.event-client</groupId>
177 <artifactId>event-client-dmaap</artifactId>
178 <version>1.2.2</version>
182 <groupId>org.onap.aai.event-client</groupId>
183 <artifactId>event-client-kafka</artifactId>
184 <version>1.2.2</version>
188 <groupId>org.apache.httpcomponents</groupId>
189 <artifactId>httpclient</artifactId>
190 <version>4.5.3</version>
194 <groupId>org.apache.httpcomponents</groupId>
195 <artifactId>httpcore</artifactId>
196 <version>4.4.1</version>
200 <groupId>org.json</groupId>
201 <artifactId>json</artifactId>
202 <version>20160212</version>
206 <groupId>org.skyscreamer</groupId>
207 <artifactId>jsonassert</artifactId>
214 <finalName>${project.artifactId}</finalName>
217 <groupId>org.springframework.boot</groupId>
218 <artifactId>spring-boot-maven-plugin</artifactId>
219 <version>2.0.3.RELEASE</version>
223 <goal>repackage</goal>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-resources-plugin</artifactId>
232 <version>2.7</version>
235 <id>copy-docker-file</id>
236 <phase>package</phase>
238 <goal>copy-resources</goal>
241 <outputDirectory>target</outputDirectory>
242 <overwrite>true</overwrite>
245 <directory>${basedir}/src/main/docker</directory>
246 <filtering>true</filtering>
248 <include>**/*</include>
252 <directory>${basedir}</directory>
253 <filtering>true</filtering>
255 <include>bundleconfig-local/**</include>
259 <directory>${basedir}/src/main/bin/</directory>
268 <groupId>org.jacoco</groupId>
269 <artifactId>jacoco-maven-plugin</artifactId>
272 <id>prepare-agent</id>
274 <goal>prepare-agent</goal>
279 <phase>package</phase>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-dependency-plugin</artifactId>
293 <phase>prepare-package</phase>
300 <groupId>org.onap.aai.aai-common</groupId>
301 <artifactId>aai-schema</artifactId>
302 <version>${aaiCommonVersion}</version>
304 <includes>oxm/</includes>
305 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
308 <groupId>org.onap.aai.aai-common</groupId>
309 <artifactId>aai-core</artifactId>
310 <version>${aaiCommonVersion}</version>
312 <includes>dbedgerules/</includes>
313 <excludes>**/*.ftlh</excludes>
314 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
323 <groupId>com.spotify</groupId>
324 <artifactId>docker-maven-plugin</artifactId>
325 <version>0.4.11</version>
327 <verbose>true</verbose>
328 <serverId>docker-hub</serverId>
329 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
330 <dockerDirectory>${docker.location}</dockerDirectory>
332 <imageTag>latest</imageTag>
334 <forceTags>true</forceTags>
339 <groupId>com.mycila</groupId>
340 <artifactId>license-maven-plugin</artifactId>
341 <version>3.0</version>
343 <header>License.txt</header>
345 <include>src/main/java/**</include>
346 <include>src/test/java/**</include>
347 <include>pom.xml</include>
349 <skipExistingHeaders>true</skipExistingHeaders>
354 <!-- Set goal to "format" to auto update license header. To verify only, set goal to "check". -->
357 <phase>process-sources</phase>