1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.vid</groupId>
7 <artifactId>vid-ext-services-simulator</artifactId>
8 <version>1.0.0</version>
9 <name>VID Simulator</name>
10 <packaging>war</packaging>
11 <description>VID Simulator for mocking external peers</description>
14 <encoding>UTF-8</encoding>
15 <springframework.version>5.1.9.RELEASE</springframework.version>
16 <hibernate.version>5.3.4.Final</hibernate.version>
17 <jackson.version>2.9.9</jackson.version>
18 <jackson.databind.version>2.9.9.3</jackson.databind.version>
19 <!-- Skip assembling the zip by default -->
20 <skipassembly>true</skipassembly>
21 <!-- Tests usually require some setup that maven cannot do, so skip. -->
22 <skiptests>true</skiptests>
23 <!-- this should be commented for local debugging -->
24 <!-- <deployenv>local</deployenv> -->
25 <nexusproxy>https://nexus.onap.org</nexusproxy>
26 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
27 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
28 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
30 <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it -->
31 <coberturaBuildPhase>none</coberturaBuildPhase>
33 <!-- will build docker-maven-plugin by default; enable the profile "no-docker" to disable it -->
34 <skipDockerBuild>false</skipDockerBuild>
35 <dockerBuildPhase>package</dockerBuildPhase>
36 <dockerPushPhase>deploy</dockerPushPhase>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
45 <nexusproxy>https://nexus.onap.org</nexusproxy>
46 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
47 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
48 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
49 <sitePath>content/sites/site/org/openecomp/vid/${project.version}</sitePath>
54 <id>oss-snapshots</id>
55 <name>oss Central - Snapshots</name>
56 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
65 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
67 <id>doclint-java8-disable</id>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-javadoc-plugin</artifactId>
76 <version>2.10.4</version>
78 <additionalparam>-Xdoclint:none</additionalparam>
88 <coberturaBuildPhase>package</coberturaBuildPhase>
95 <skipDockerBuild>true</skipDockerBuild>
96 <dockerBuildPhase>none</dockerBuildPhase>
97 <dockerPushPhase>none</dockerPushPhase>
102 <id>docker-proxy</id>
103 <!-- activate profile if environment variable `http_proxy` is set -->
106 <name>env.http_proxy</name>
110 <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
119 <groupId>org.mock-server</groupId>
120 <artifactId>mockserver-netty</artifactId>
121 <version>3.11</version>
124 <groupId>org.springframework</groupId>
125 <artifactId>spring-web</artifactId>
126 <version>${springframework.version}</version>
129 <groupId>org.springframework</groupId>
130 <artifactId>spring-webmvc</artifactId>
131 <version>${springframework.version}</version>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-core</artifactId>
136 <version>${jackson.version}</version>
139 <groupId>com.fasterxml.jackson.core</groupId>
140 <artifactId>jackson-annotations</artifactId>
141 <version>${jackson.version}</version>
144 <groupId>com.fasterxml.jackson.core</groupId>
145 <artifactId>jackson-databind</artifactId>
146 <version>${jackson.databind.version}</version>
149 <groupId>javax.xml.bind</groupId>
150 <artifactId>jaxb-api</artifactId>
151 <version>2.2.11</version>
155 <groupId>org.hibernate</groupId>
156 <artifactId>hibernate-entitymanager</artifactId>
157 <version>${hibernate.version}</version>
160 <groupId>org.hibernate</groupId>
161 <artifactId>hibernate-core</artifactId>
162 <version>${hibernate.version}</version>
166 <groupId>org.mariadb.jdbc</groupId>
167 <artifactId>mariadb-java-client</artifactId>
168 <version>2.2.6</version>
172 <groupId>org.hibernate.javax.persistence</groupId>
173 <artifactId>hibernate-jpa-2.1-api</artifactId>
174 <version>1.0.0.Final</version>
178 <groupId>com.google.code.gson</groupId>
179 <artifactId>gson</artifactId>
180 <version>2.8.0</version>
186 <finalName>vidSimulator</finalName>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-compiler-plugin</artifactId>
191 <version>3.1</version>
199 <groupId>io.fabric8</groupId>
200 <artifactId>docker-maven-plugin</artifactId>
201 <version>0.27.2</version>
204 <skip>${skipDockerBuild}</skip>
207 <name>onap/vid-simulator</name>
209 <cleanup>remove</cleanup>
210 <dockerFileDir>${project.basedir}</dockerFileDir>
212 <tag>${project.version}</tag>
222 <id>generate-image</id>
223 <phase>${dockerBuildPhase}</phase>
231 <phase>${dockerPushPhase}</phase>