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.aai</groupId>
28 <artifactId>champ</artifactId>
29 <version>1.4.0-SNAPSHOT</version>
32 <groupId>org.onap.aai.champ</groupId>
33 <artifactId>champ-service</artifactId>
36 <docker.location>${basedir}/target</docker.location>
37 <docker.name>champ</docker.name>
38 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
39 <common.logging.groupid>org.onap.aai.logging-service</common.logging.groupid>
40 <common.logging.version>1.2.2</common.logging.version>
42 <version.org.apache.commons.commons-lang3>3.7</version.org.apache.commons.commons-lang3>
43 <version.org.hamcrest.hamcrest-library>1.3</version.org.hamcrest.hamcrest-library>
44 <version.org.springframework.boot.spring-boot-dependencies>1.5.15.RELEASE</version.org.springframework.boot.spring-boot-dependencies>
47 <dependencyManagement>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-dependencies</artifactId>
52 <version>${version.org.springframework.boot.spring-boot-dependencies}</version>
58 <groupId>org.apache.httpcomponents</groupId>
59 <artifactId>httpclient</artifactId>
60 <version>4.5.3</version>
64 <groupId>org.apache.httpcomponents</groupId>
65 <artifactId>httpclient-cache</artifactId>
66 <version>4.5.3</version>
69 </dependencyManagement>
73 <groupId>org.springframework.boot</groupId>
74 <artifactId>spring-boot-starter-web</artifactId>
77 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-starter-tomcat</artifactId>
81 <groupId>ch.qos.logback</groupId>
82 <artifactId>logback-classic</artifactId>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-jetty</artifactId>
93 <groupId>org.springframework.boot</groupId>
94 <artifactId>spring-boot-starter-jersey</artifactId>
98 <groupId>org.json</groupId>
99 <artifactId>json</artifactId>
100 <version>20160212</version>
104 <groupId>commons-io</groupId>
105 <artifactId>commons-io</artifactId>
106 <version>2.4</version>
110 <groupId>com.google.code.gson</groupId>
111 <artifactId>gson</artifactId>
112 <version>2.6.2</version>
116 <groupId>com.google.guava</groupId>
117 <artifactId>guava</artifactId>
121 <groupId>${common.logging.groupid}</groupId>
122 <artifactId>common-logging</artifactId>
123 <version>${common.logging.version}</version>
126 <groupId>ch.qos.logback</groupId>
127 <artifactId>logback-classic</artifactId>
130 <groupId>ch.qos.logback</groupId>
131 <artifactId>logback-core</artifactId>
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-api</artifactId>
141 <groupId>org.eclipse.persistence</groupId>
142 <artifactId>eclipselink</artifactId>
143 <version>2.6.2</version>
147 <groupId>org.apache.commons</groupId>
148 <artifactId>commons-lang3</artifactId>
149 <version>3.7</version>
153 <groupId>org.onap.aai.champ.champ-lib</groupId>
154 <artifactId>champ-core</artifactId>
155 <version>${project.version}</version>
156 <scope>compile</scope>
159 <groupId>org.apache.hbase</groupId>
160 <artifactId>hbase-client</artifactId>
163 <groupId>log4j</groupId>
164 <artifactId>log4j</artifactId>
167 <groupId>log4j</groupId>
168 <artifactId>apache-log4j-extras</artifactId>
171 <groupId>org.slf4j</groupId>
172 <artifactId>slf4j-api</artifactId>
178 <groupId>org.hamcrest</groupId>
179 <artifactId>hamcrest-library</artifactId>
184 <groupId>org.skyscreamer</groupId>
185 <artifactId>jsonassert</artifactId>
186 <version>1.5.0</version>
191 <groupId>ch.qos.logback</groupId>
192 <artifactId>logback-classic</artifactId>
193 <version>1.2.3</version>
197 <groupId>ch.qos.logback</groupId>
198 <artifactId>logback-core</artifactId>
199 <version>1.2.3</version>
203 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
204 <artifactId>dmaapClient</artifactId>
205 <version>1.1.5</version>
209 <distributionManagement>
211 <id>ecomp-releases</id>
212 <name>ECOMP Release Repository</name>
213 <url>${onap.nexus.url}/content/repositories/releases/</url>
216 <id>ecomp-snapshots</id>
217 <name>ECOMP Snapshot Repository</name>
218 <url>${onap.nexus.url}/content/repositories/snapshots/</url>
219 </snapshotRepository>
220 </distributionManagement>
223 <finalName>${project.artifactId}</finalName>
226 <groupId>org.springframework.boot</groupId>
227 <artifactId>spring-boot-maven-plugin</artifactId>
234 <goal>repackage</goal>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-resources-plugin</artifactId>
243 <version>2.7</version>
246 <id>copy-docker-file</id>
247 <phase>package</phase>
249 <goal>copy-resources</goal>
252 <outputDirectory>target</outputDirectory>
253 <overwrite>true</overwrite>
256 <directory>${basedir}/src/main/docker</directory>
257 <filtering>true</filtering>
259 <include>**/*</include>
263 <directory>${basedir}/src/main/bin/</directory>
266 <directory>../champ-service-deps-janus/target/</directory>
269 <directory>../champ-service-deps-titan/target/</directory>
272 <directory>${basedir}</directory>
274 <include>**/dynamic/**/*</include>
284 <groupId>com.mycila</groupId>
285 <artifactId>license-maven-plugin</artifactId>
286 <version>3.0</version>
288 <header>License.txt</header>
290 <include>src/main/java/**</include>
291 <include>src/test/java/**</include>
292 <include>pom.xml</include>
294 <skipExistingHeaders>true</skipExistingHeaders>
299 <!-- Set goal to "format" to auto update license headers -->
302 <phase>process-sources</phase>
308 <groupId>com.spotify</groupId>
309 <artifactId>docker-maven-plugin</artifactId>
310 <version>0.4.11</version>
312 <verbose>true</verbose>
313 <serverId>docker-hub</serverId>
314 <imageName>${docker.push.registry}/onap/${docker.name}</imageName>
315 <dockerDirectory>${docker.location}</dockerDirectory>
317 <imageTag>latest</imageTag>
319 <forceTags>true</forceTags>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-deploy-plugin</artifactId>
329 <groupId>org.sonatype.plugins</groupId>
330 <artifactId>nexus-staging-maven-plugin</artifactId>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-site-plugin</artifactId>