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.1-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>
60 <groupId>org.apache.httpcomponents</groupId>
61 <artifactId>httpclient</artifactId>
62 <version>4.5.3</version>
66 <groupId>org.apache.httpcomponents</groupId>
67 <artifactId>httpclient-cache</artifactId>
68 <version>4.5.3</version>
71 </dependencyManagement>
75 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-starter-web</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-tomcat</artifactId>
83 <groupId>ch.qos.logback</groupId>
84 <artifactId>logback-classic</artifactId>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot-starter-jetty</artifactId>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-starter-jersey</artifactId>
100 <groupId>dom4j</groupId>
101 <artifactId>dom4j</artifactId>
102 <version>1.6.1</version>
103 <scope>provided</scope>
107 <groupId>org.json</groupId>
108 <artifactId>json</artifactId>
109 <version>20160212</version>
113 <groupId>commons-io</groupId>
114 <artifactId>commons-io</artifactId>
115 <version>2.4</version>
119 <groupId>com.google.code.gson</groupId>
120 <artifactId>gson</artifactId>
121 <version>2.6.2</version>
125 <groupId>com.google.guava</groupId>
126 <artifactId>guava</artifactId>
127 <version>${version.com.google.guava}</version>
131 <groupId>${common.logging.groupid}</groupId>
132 <artifactId>common-logging</artifactId>
133 <version>${common.logging.version}</version>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-classic</artifactId>
140 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-core</artifactId>
144 <groupId>org.slf4j</groupId>
145 <artifactId>slf4j-api</artifactId>
151 <groupId>org.eclipse.persistence</groupId>
152 <artifactId>eclipselink</artifactId>
153 <version>2.6.2</version>
157 <groupId>org.apache.commons</groupId>
158 <artifactId>commons-lang3</artifactId>
159 <version>3.7</version>
163 <groupId>org.onap.aai</groupId>
164 <artifactId>champ-core</artifactId>
165 <version>1.2.1-SNAPSHOT</version>
166 <scope>compile</scope>
169 <groupId>org.apache.hbase</groupId>
170 <artifactId>hbase-client</artifactId>
173 <groupId>log4j</groupId>
174 <artifactId>log4j</artifactId>
177 <groupId>log4j</groupId>
178 <artifactId>apache-log4j-extras</artifactId>
181 <groupId>org.slf4j</groupId>
182 <artifactId>slf4j-api</artifactId>
188 <groupId>org.hamcrest</groupId>
189 <artifactId>hamcrest-library</artifactId>
194 <groupId>org.skyscreamer</groupId>
195 <artifactId>jsonassert</artifactId>
196 <version>1.5.0</version>
201 <groupId>ch.qos.logback</groupId>
202 <artifactId>logback-classic</artifactId>
203 <version>1.2.3</version>
207 <groupId>ch.qos.logback</groupId>
208 <artifactId>logback-core</artifactId>
209 <version>1.2.3</version>
213 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
214 <artifactId>dmaapClient</artifactId>
215 <version>1.1.5</version>
219 <distributionManagement>
221 <id>ecomp-releases</id>
222 <name>ECOMP Release Repository</name>
223 <url>${onap.nexus.url}/content/repositories/releases/</url>
226 <id>ecomp-snapshots</id>
227 <name>ECOMP Snapshot Repository</name>
228 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
229 </snapshotRepository>
230 </distributionManagement>
233 <finalName>${project.artifactId}</finalName>
236 <groupId>org.springframework.boot</groupId>
237 <artifactId>spring-boot-maven-plugin</artifactId>
244 <goal>repackage</goal>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-resources-plugin</artifactId>
253 <version>2.7</version>
256 <id>copy-docker-file</id>
257 <phase>package</phase>
259 <goal>copy-resources</goal>
262 <outputDirectory>target</outputDirectory>
263 <overwrite>true</overwrite>
266 <directory>${basedir}/src/main/docker</directory>
267 <filtering>true</filtering>
269 <include>**/*</include>
273 <directory>${basedir}/src/main/bin/</directory>
276 <directory>../champ-service-deps-janus/target/</directory>
279 <directory>../champ-service-deps-titan/target/</directory>
282 <directory>${basedir}</directory>
284 <include>**/dynamic/**/*</include>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-deploy-plugin</artifactId>
302 <groupId>org.sonatype.plugins</groupId>
303 <artifactId>nexus-staging-maven-plugin</artifactId>
305 <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
310 <groupId>com.mycila</groupId>
311 <artifactId>license-maven-plugin</artifactId>
312 <version>3.0</version>
314 <header>License.txt</header>
316 <include>src/main/java/**</include>
317 <include>src/test/java/**</include>
318 <include>pom.xml</include>
320 <skipExistingHeaders>true</skipExistingHeaders>
325 <!-- Set goal to "format" to auto update license headers -->
328 <phase>process-sources</phase>
334 <groupId>com.spotify</groupId>
335 <artifactId>docker-maven-plugin</artifactId>
336 <version>0.4.11</version>
338 <verbose>true</verbose>
339 <serverId>docker-hub</serverId>
340 <imageName>${docker.push.registry}/onap/${project.name}</imageName>
341 <dockerDirectory>${docker.location}</dockerDirectory>
343 <imageTag>latest</imageTag>
345 <forceTags>true</forceTags>