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 <event.client.version>1.4.0-SNAPSHOT</event.client.version>
40 <version.aai-schema>1.4.1-SNAPSHOT</version.aai-schema>
41 <version.aai-schema-ingest>1.4.1-SNAPSHOT</version.aai-schema-ingest>
44 <dependencyManagement>
47 <!-- Import dependency management from Spring Boot -->
48 <groupId>org.springframework.boot</groupId>
49 <artifactId>spring-boot-dependencies</artifactId>
50 <version>1.5.17.RELEASE</version>
55 </dependencyManagement>
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-web</artifactId>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-tomcat</artifactId>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-jetty</artifactId>
75 <groupId>org.springframework</groupId>
76 <artifactId>spring-webmvc</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-test</artifactId>
87 <groupId>org.onap.aai.aai-common</groupId>
88 <artifactId>aai-schema</artifactId>
89 <version>${version.aai-schema}</version>
92 <groupId>org.onap.aai.aai-common</groupId>
93 <artifactId>aai-schema-ingest</artifactId>
94 <version>${version.aai-schema-ingest}</version>
97 <groupId>org.powermock</groupId>
98 <artifactId>*</artifactId>
103 <!-- EVENT CLIENT -->
105 <groupId>org.onap.aai.event-client</groupId>
106 <artifactId>event-client-api</artifactId>
107 <version>${event.client.version}</version>
110 <groupId>org.onap.aai.event-client</groupId>
111 <artifactId>event-client-dmaap</artifactId>
112 <version>${event.client.version}</version>
115 <groupId>com.sun.jersey</groupId>
116 <artifactId>jersey-client</artifactId>
121 <groupId>org.onap.aai.event-client</groupId>
122 <artifactId>event-client-kafka</artifactId>
123 <version>${event.client.version}</version>
126 <groupId>org.onap.aai.event-client</groupId>
127 <artifactId>event-client-rabbitmq</artifactId>
128 <version>${event.client.version}</version>
132 <groupId>org.apache.commons</groupId>
133 <artifactId>commons-lang3</artifactId>
134 <version>3.7</version>
138 <groupId>org.codehaus.jackson</groupId>
139 <artifactId>jackson-mapper-asl</artifactId>
140 <version>1.4.5</version>
144 <groupId>commons-io</groupId>
145 <artifactId>commons-io</artifactId>
146 <version>2.4</version>
149 <!-- Common logging framework -->
151 <groupId>org.onap.aai.logging-service</groupId>
152 <artifactId>common-logging</artifactId>
153 <version>1.2.2</version>
157 <groupId>org.onap.aai.logging-service</groupId>
158 <artifactId>logging-api</artifactId>
159 <version>1.2.2</version>
163 <groupId>ch.qos.logback</groupId>
164 <artifactId>logback-core</artifactId>
168 <groupId>com.google.guava</groupId>
169 <artifactId>guava</artifactId>
173 <groupId>org.eclipse.persistence</groupId>
174 <artifactId>eclipselink</artifactId>
175 <version>2.6.2</version>
179 <groupId>org.glassfish.jersey.core</groupId>
180 <artifactId>jersey-client</artifactId>
184 <groupId>org.glassfish.jersey.inject</groupId>
185 <artifactId>jersey-hk2</artifactId>
186 <version>2.26</version>
190 <groupId>com.google.code.gson</groupId>
191 <artifactId>gson</artifactId>
195 <groupId>org.apache.httpcomponents</groupId>
196 <artifactId>httpclient</artifactId>
197 <version>4.5.3</version>
201 <groupId>org.apache.httpcomponents</groupId>
202 <artifactId>httpcore</artifactId>
203 <version>4.4.1</version>
207 <groupId>org.json</groupId>
208 <artifactId>json</artifactId>
209 <version>20160212</version>
213 <groupId>org.skyscreamer</groupId>
214 <artifactId>jsonassert</artifactId>
219 <groupId>org.mockito</groupId>
220 <artifactId>mockito-core</artifactId>
221 <version>2.15.0</version>
228 <finalName>${project.artifactId}</finalName>
231 <groupId>org.springframework.boot</groupId>
232 <artifactId>spring-boot-maven-plugin</artifactId>
233 <version>1.5.17.RELEASE</version>
237 <goal>repackage</goal>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-resources-plugin</artifactId>
246 <version>2.7</version>
249 <id>copy-docker-file</id>
250 <phase>package</phase>
252 <goal>copy-resources</goal>
255 <outputDirectory>target</outputDirectory>
256 <overwrite>true</overwrite>
259 <directory>${basedir}/src/main/docker</directory>
260 <filtering>true</filtering>
262 <include>**/*</include>
266 <directory>${basedir}</directory>
267 <filtering>true</filtering>
269 <include>bundleconfig-local/**</include>
273 <directory>${basedir}/src/main/bin/</directory>
282 <groupId>org.jacoco</groupId>
283 <artifactId>jacoco-maven-plugin</artifactId>
286 <id>prepare-agent</id>
288 <goal>prepare-agent</goal>
293 <phase>package</phase>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-dependency-plugin</artifactId>
307 <phase>prepare-package</phase>
314 <groupId>org.onap.aai.aai-common</groupId>
315 <artifactId>aai-schema</artifactId>
316 <version>${version.aai-schema}</version>
318 <includes>onap/**/</includes>
319 <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
328 <groupId>com.spotify</groupId>
329 <artifactId>docker-maven-plugin</artifactId>
330 <version>0.4.11</version>
332 <verbose>true</verbose>
333 <serverId>docker-hub</serverId>
334 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
335 <dockerDirectory>${docker.location}</dockerDirectory>
337 <imageTag>latest</imageTag>
339 <forceTags>true</forceTags>
344 <groupId>com.mycila</groupId>
345 <artifactId>license-maven-plugin</artifactId>
346 <version>3.0</version>
348 <header>License.txt</header>
350 <include>src/main/java/**</include>
351 <include>src/test/java/**</include>
352 <include>pom.xml</include>
354 <skipExistingHeaders>true</skipExistingHeaders>
359 <!-- Set goal to "format" to auto update license header. To verify only, set goal to "check". -->
362 <phase>process-sources</phase>