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.8</jackson.version>
18 <!-- Skip assembling the zip by default -->
19 <skipassembly>true</skipassembly>
20 <!-- Tests usually require some setup that maven cannot do, so skip. -->
21 <skiptests>true</skiptests>
22 <!-- this should be commented for local debugging -->
23 <!-- <deployenv>local</deployenv> -->
24 <nexusproxy>https://nexus.onap.org</nexusproxy>
25 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
26 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
27 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
29 <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it -->
30 <coberturaBuildPhase>none</coberturaBuildPhase>
32 <!-- will build docker-maven-plugin by default; enable the profile "no-docker" to disable it -->
33 <skipDockerBuild>false</skipDockerBuild>
34 <dockerBuildPhase>package</dockerBuildPhase>
35 <dockerPushPhase>deploy</dockerPushPhase>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
44 <nexusproxy>https://nexus.onap.org</nexusproxy>
45 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
46 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
47 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
48 <sitePath>content/sites/site/org/openecomp/vid/${project.version}</sitePath>
53 <id>oss-snapshots</id>
54 <name>oss Central - Snapshots</name>
55 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
64 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
66 <id>doclint-java8-disable</id>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-javadoc-plugin</artifactId>
75 <version>2.10.4</version>
77 <additionalparam>-Xdoclint:none</additionalparam>
87 <coberturaBuildPhase>package</coberturaBuildPhase>
94 <skipDockerBuild>true</skipDockerBuild>
95 <dockerBuildPhase>none</dockerBuildPhase>
96 <dockerPushPhase>none</dockerPushPhase>
101 <id>docker-proxy</id>
102 <!-- activate profile if environment variable `http_proxy` is set -->
105 <name>env.http_proxy</name>
109 <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
118 <groupId>org.mock-server</groupId>
119 <artifactId>mockserver-netty</artifactId>
120 <version>3.11</version>
123 <groupId>org.springframework</groupId>
124 <artifactId>spring-web</artifactId>
125 <version>${springframework.version}</version>
128 <groupId>org.springframework</groupId>
129 <artifactId>spring-webmvc</artifactId>
130 <version>${springframework.version}</version>
133 <groupId>com.fasterxml.jackson.core</groupId>
134 <artifactId>jackson-core</artifactId>
135 <version>${jackson.version}</version>
138 <groupId>com.fasterxml.jackson.core</groupId>
139 <artifactId>jackson-annotations</artifactId>
140 <version>${jackson.version}</version>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-databind</artifactId>
145 <version>${jackson.version}</version>
148 <groupId>javax.xml.bind</groupId>
149 <artifactId>jaxb-api</artifactId>
150 <version>2.2.11</version>
154 <groupId>org.hibernate</groupId>
155 <artifactId>hibernate-entitymanager</artifactId>
156 <version>${hibernate.version}</version>
159 <groupId>org.hibernate</groupId>
160 <artifactId>hibernate-core</artifactId>
161 <version>${hibernate.version}</version>
165 <groupId>org.mariadb.jdbc</groupId>
166 <artifactId>mariadb-java-client</artifactId>
167 <version>2.2.6</version>
171 <groupId>org.hibernate.javax.persistence</groupId>
172 <artifactId>hibernate-jpa-2.1-api</artifactId>
173 <version>1.0.0.Final</version>
177 <groupId>com.google.code.gson</groupId>
178 <artifactId>gson</artifactId>
179 <version>2.8.0</version>
185 <finalName>vidSimulator</finalName>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-compiler-plugin</artifactId>
190 <version>3.1</version>
198 <groupId>io.fabric8</groupId>
199 <artifactId>docker-maven-plugin</artifactId>
200 <version>0.27.2</version>
203 <skip>${skipDockerBuild}</skip>
206 <name>onap/vid-simulator</name>
208 <cleanup>remove</cleanup>
209 <dockerFileDir>${project.basedir}</dockerFileDir>
211 <tag>${project.version}</tag>
221 <id>generate-image</id>
222 <phase>${dockerBuildPhase}</phase>
230 <phase>${dockerPushPhase}</phase>