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"
22 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>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>1.1.0</version>
32 <groupId>org.onap.aai</groupId>
33 <artifactId>champ-service</artifactId>
34 <version>1.2.0-SNAPSHOT</version>
38 <docker.location>${basedir}/target</docker.location>
39 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
40 <common.logging.groupid>org.onap.aai.logging-service</common.logging.groupid>
41 <common.logging.version>1.2.2</common.logging.version>
43 <version.com.google.guava>18.0</version.com.google.guava>
44 <version.org.apache.commons.commons-lang3>3.7</version.org.apache.commons.commons-lang3>
45 <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
46 <version.org.springframework.boot.spring-boot-dependencies>1.5.12.RELEASE</version.org.springframework.boot.spring-boot-dependencies>
49 <dependencyManagement>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-dependencies</artifactId>
54 <version>${version.org.springframework.boot.spring-boot-dependencies}</version>
59 </dependencyManagement>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-web</artifactId>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-tomcat</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-jetty</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-jersey</artifactId>
84 <groupId>dom4j</groupId>
85 <artifactId>dom4j</artifactId>
86 <version>1.6.1</version>
87 <scope>provided</scope>
92 <groupId>org.json</groupId>
93 <artifactId>json</artifactId>
94 <version>20160212</version>
98 <groupId>commons-io</groupId>
99 <artifactId>commons-io</artifactId>
100 <version>2.4</version>
104 <groupId>com.google.code.gson</groupId>
105 <artifactId>gson</artifactId>
106 <version>2.6.2</version>
110 <groupId>com.google.guava</groupId>
111 <artifactId>guava</artifactId>
112 <version>${version.com.google.guava}</version>
116 <groupId>${common.logging.groupid}</groupId>
117 <artifactId>common-logging</artifactId>
118 <version>${common.logging.version}</version>
121 <groupId>ch.qos.logback</groupId>
122 <artifactId>logback-classic</artifactId>
125 <groupId>ch.qos.logback</groupId>
126 <artifactId>logback-core</artifactId>
129 <groupId>org.slf4j</groupId>
130 <artifactId>slf4j-api</artifactId>
136 <groupId>org.eclipse.persistence</groupId>
137 <artifactId>eclipselink</artifactId>
138 <version>2.6.2</version>
142 <groupId>org.apache.commons</groupId>
143 <artifactId>commons-lang3</artifactId>
144 <version>3.7</version>
148 <groupId>org.apache.httpcomponents</groupId>
149 <artifactId>httpclient</artifactId>
150 <version>4.5.5</version>
154 <groupId>org.apache.httpcomponents</groupId>
155 <artifactId>httpclient-cache</artifactId>
156 <version>4.5.5</version>
159 <groupId>commons-logging</groupId>
160 <artifactId>commons-logging</artifactId>
166 <groupId>org.onap.aai</groupId>
167 <artifactId>champ-core</artifactId>
168 <version>1.2.0-SNAPSHOT</version>
169 <scope>compile</scope>
172 <groupId>org.apache.hbase</groupId>
173 <artifactId>hbase-client</artifactId>
176 <groupId>org.apache.httpcomponents</groupId>
177 <artifactId>httpclient</artifactId>
180 <groupId>log4j</groupId>
181 <artifactId>log4j</artifactId>
184 <groupId>log4j</groupId>
185 <artifactId>apache-log4j-extras</artifactId>
188 <groupId>org.slf4j</groupId>
189 <artifactId>slf4j-api</artifactId>
195 <groupId>org.hamcrest</groupId>
196 <artifactId>hamcrest-library</artifactId>
201 <groupId>org.skyscreamer</groupId>
202 <artifactId>jsonassert</artifactId>
203 <version>1.5.0</version>
208 <distributionManagement>
210 <id>ecomp-releases</id>
211 <name>ECOMP Release Repository</name>
212 <url>${onap.nexus.url}/content/repositories/releases/</url>
215 <id>ecomp-snapshots</id>
216 <name>ECOMP Snapshot Repository</name>
217 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
218 </snapshotRepository>
219 </distributionManagement>
222 <finalName>${project.artifactId}</finalName>
225 <groupId>org.springframework.boot</groupId>
226 <artifactId>spring-boot-maven-plugin</artifactId>
233 <goal>repackage</goal>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-resources-plugin</artifactId>
242 <version>2.7</version>
245 <id>copy-docker-file</id>
246 <phase>package</phase>
248 <goal>copy-resources</goal>
251 <outputDirectory>target</outputDirectory>
252 <overwrite>true</overwrite>
255 <directory>${basedir}/src/main/docker</directory>
256 <filtering>true</filtering>
258 <include>**/*</include>
262 <directory>${basedir}/src/main/bin/</directory>
265 <directory>../champ-service-deps-janus/target/</directory>
268 <directory>../champ-service-deps-titan/target/</directory>
271 <directory>${basedir}</directory>
273 <include>**/dynamic/**/*</include>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-deploy-plugin</artifactId>
291 <groupId>org.sonatype.plugins</groupId>
292 <artifactId>nexus-staging-maven-plugin</artifactId>
294 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
299 <groupId>com.mycila</groupId>
300 <artifactId>license-maven-plugin</artifactId>
301 <version>3.0</version>
303 <header>License.txt</header>
305 <include>src/main/java/**</include>
306 <include>src/test/java/**</include>
307 <include>pom.xml</include>
309 <skipExistingHeaders>true</skipExistingHeaders>
314 <!-- Set goal to "format" to auto update license headers -->
317 <phase>process-sources</phase>
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.name}</imageName>
330 <dockerDirectory>${docker.location}</dockerDirectory>
332 <imageTag>latest</imageTag>
334 <forceTags>true</forceTags>
339 <groupId>org.jacoco</groupId>
340 <artifactId>jacoco-maven-plugin</artifactId>
341 <version>0.7.9</version>
344 <id>default-prepare-agent</id>
346 <goal>prepare-agent</goal>
350 <id>default-report</id>
351 <phase>prepare-package</phase>