1 <?xml version="1.0" encoding="UTF-8"?>
5 Copyright (c) 2017 Orange. All rights reserved.
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.externalapi-nbi</groupId>
25 <artifactId>nbi-rest-services</artifactId>
26 <version>1.0.0-SNAPSHOT</version>
27 <packaging>jar</packaging>
29 <name>nbi-rest-services</name>
32 <groupId>org.springframework.boot</groupId>
33 <artifactId>spring-boot-starter-parent</artifactId>
34 <version>1.5.10.RELEASE</version>
35 <relativePath /> <!-- lookup parent from repository -->
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42 <nexusproxy>https://nexus.onap.org</nexusproxy>
43 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
46 <java.version>1.8</java.version>
47 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
48 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
49 <timestamp>${maven.build.timestamp}</timestamp>
50 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
52 <docker.tag>${project.version}-${timestamp}</docker.tag>
53 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
58 <id>maven2-repository.java.net</id>
59 <name>Java.net Repository for Maven</name>
60 <url>http://download.java.net/maven/2/</url>
61 <layout>default</layout>
64 <id>ecomp-snapshots</id>
65 <name>Snapshot Repository</name>
66 <url>https://nexus.onap.org/content/repositories/releases/</url>
69 <id>ecomp-staging</id>
70 <name>Staging Repository</name>
71 <url>https://nexus.onap.org/content/repositories/staging/</url>
78 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
85 <groupId>org.springframework.boot</groupId>
86 <artifactId>spring-boot-starter-web</artifactId>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot-starter-data-jpa</artifactId>
95 <groupId>org.apache.commons</groupId>
96 <artifactId>commons-io</artifactId>
97 <version>1.3.2</version>
101 <groupId>commons-beanutils</groupId>
102 <artifactId>commons-beanutils</artifactId>
103 <version>1.9.3</version>
107 <groupId>javax.validation</groupId>
108 <artifactId>validation-api</artifactId>
109 <version>2.0.1.Final</version>
113 <groupId>org.apache.commons</groupId>
114 <artifactId>commons-lang3</artifactId>
115 <version>3.4</version>
121 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-starter-data-mongodb</artifactId>
128 <groupId>mysql</groupId>
129 <artifactId>mysql-connector-java</artifactId>
132 <groupId>org.mariadb.jdbc</groupId>
133 <artifactId>mariadb-java-client</artifactId>
134 <version>1.1.7</version>
140 <groupId>io.swagger</groupId>
141 <artifactId>swagger-annotations</artifactId>
142 <version>1.5.18</version>
148 <groupId>com.fasterxml.jackson.dataformat</groupId>
149 <artifactId>jackson-dataformat-yaml</artifactId>
150 <version>2.8.0</version>
156 <groupId>com.bazaarvoice.jolt</groupId>
157 <artifactId>jolt-core</artifactId>
158 <version>0.1.0</version>
161 <groupId>com.fasterxml.jackson.core</groupId>
162 <artifactId>jackson-databind</artifactId>
168 <groupId>com.bazaarvoice.jolt</groupId>
169 <artifactId>json-utils</artifactId>
170 <version>0.1.0</version>
176 <groupId>org.springframework.boot</groupId>
177 <artifactId>spring-boot-starter-test</artifactId>
184 <groupId>com.h2database</groupId>
185 <artifactId>h2</artifactId>
190 <groupId>de.flapdoodle.embed</groupId>
191 <artifactId>de.flapdoodle.embed.mongo</artifactId>
192 <version>${embedded-mongo.version}</version>
196 <!-- test wiremock -->
199 <groupId>org.springframework.cloud</groupId>
200 <artifactId>spring-cloud-contract-wiremock</artifactId>
201 <version>1.0.0.RELEASE</version>
206 <groupId>org.eclipse.jetty</groupId>
207 <artifactId>jetty-server</artifactId>
208 <version>9.4.7.RC0</version>
213 <groupId>org.eclipse.jetty</groupId>
214 <artifactId>jetty-servlet</artifactId>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-servlets</artifactId>
227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-devtools</artifactId>
229 <scope>runtime</scope>
237 <groupId>org.springframework.boot</groupId>
238 <artifactId>spring-boot-maven-plugin</artifactId>
241 <groupId>org.sonatype.plugins</groupId>
242 <artifactId>nexus-staging-maven-plugin</artifactId>
243 <version>1.6.7</version>
244 <extensions>true</extensions>
246 <nexusUrl>${nexusproxy}</nexusUrl>
247 <stagingProfileId>176c31dfe190a</stagingProfileId>
248 <serverId>ecomp-staging</serverId>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-site-plugin</artifactId>
254 <version>3.6</version>
257 <groupId>org.apache.maven.wagon</groupId>
258 <artifactId>wagon-webdav-jackrabbit</artifactId>
259 <version>2.10</version>
264 <groupId>com.mycila</groupId>
265 <artifactId>license-maven-plugin</artifactId>
266 <version>3.0</version>
268 <header>LICENSE.TXT</header>
270 <include>src/main/java/**</include>
271 <include>src/test/java/**</include>
272 <include>pom.xml</include>
274 <skipExistingHeaders>true</skipExistingHeaders>
280 <!-- Set goal to "format" to auto update license headers -->
283 <phase>process-sources</phase>
298 <groupId>io.fabric8</groupId>
299 <artifactId>docker-maven-plugin</artifactId>
300 <version>0.19.1</version>
302 <verbose>true</verbose>
303 <apiVersion>1.23</apiVersion>
304 <pullRegistry>${docker.pull.registry}</pullRegistry>
305 <pushRegistry>${docker.push.registry}</pushRegistry>
308 <name>onap/externalapi/nbi</name>
309 <alias>onap/externalapi/nbi</alias>
311 <cleanup>true</cleanup>
313 <tag>${docker.tag}</tag>
314 <tag>${docker.latest.tag}</tag>
316 <dockerFileDir>${project.basedir}</dockerFileDir>
323 <id>clean-images</id>
324 <phase>pre-clean</phase>
329 <removeAll>true</removeAll>
334 <id>generate-images</id>
335 <phase>package</phase>
342 <phase>deploy</phase>