1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7 <artifactId>webseal-simulator</artifactId>
8 <packaging>war</packaging>
11 <groupId>org.openecomp.sdc</groupId>
12 <artifactId>sdc-main</artifactId>
13 <version>1.13.6-SNAPSHOT</version>
14 <relativePath>../../</relativePath>
18 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
19 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <sonar.skip>true</sonar.skip>
26 <groupId>org.hibernate.validator</groupId>
27 <artifactId>hibernate-validator</artifactId>
28 <version>${hibernate.validator.version}</version>
31 <groupId>org.eclipse.jetty</groupId>
32 <artifactId>jetty-server</artifactId>
33 <version>${jetty.version}</version>
34 <scope>compile</scope>
37 <groupId>org.eclipse.jetty</groupId>
38 <artifactId>jetty-http</artifactId>
41 <groupId>javax.servlet</groupId>
42 <artifactId>javax.servlet-api</artifactId>
47 <groupId>org.eclipse.jetty</groupId>
48 <artifactId>jetty-servlet</artifactId>
49 <version>${jetty.version}</version>
50 <scope>compile</scope>
53 <groupId>org.eclipse.jetty</groupId>
54 <artifactId>jetty-security</artifactId>
59 <groupId>org.openecomp.sdc</groupId>
60 <artifactId>common-app-api</artifactId>
61 <version>${project.version}</version>
62 <scope>compile</scope>
65 <groupId>org.apache.httpcomponents</groupId>
66 <artifactId>httpcore</artifactId>
69 <groupId>com.fasterxml.jackson.core</groupId>
70 <artifactId>jackson-core</artifactId>
73 <groupId>com.fasterxml.jackson.core</groupId>
74 <artifactId>jackson-databind</artifactId>
80 <groupId>org.apache.httpcomponents.client5</groupId>
81 <artifactId>httpclient5</artifactId>
82 <version>${httpclient.version}</version>
85 <groupId>org.apache.httpcomponents</groupId>
86 <artifactId>httpcore</artifactId>
91 <groupId>org.apache.httpcomponents</groupId>
92 <artifactId>httpcore</artifactId>
93 <version>${httpcore.version}</version>
97 <groupId>org.apache.commons</groupId>
98 <artifactId>commons-lang3</artifactId>
102 <groupId>commons-io</groupId>
103 <artifactId>commons-io</artifactId>
104 <version>${commons.io.version}</version>
108 <groupId>commons-codec</groupId>
109 <artifactId>commons-codec</artifactId>
110 <version>${commons-codec}</version>
111 <scope>compile</scope>
115 <groupId>org.eclipse.jetty</groupId>
116 <artifactId>jetty-proxy</artifactId>
117 <version>${jetty.version}</version>
118 <scope>compile</scope>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-http</artifactId>
128 <groupId>org.eclipse.jetty</groupId>
129 <artifactId>jetty-servlets</artifactId>
130 <version>${jetty.version}</version>
131 <scope>compile</scope>
134 <groupId>org.eclipse.jetty</groupId>
135 <artifactId>jetty-http</artifactId>
140 <!-- Proxy servlet -->
142 <groupId>com.typesafe</groupId>
143 <artifactId>config</artifactId>
144 <version>1.0.2</version>
145 <scope>compile</scope>
148 <groupId>org.openecomp.sdc</groupId>
149 <artifactId>openecomp-sdc-logging-api</artifactId>
150 <version>${project.version}</version>
153 <groupId>org.powermock</groupId>
154 <artifactId>powermock-module-junit4</artifactId>
161 <finalName>WSSimulator-${project.version}</finalName>
164 <groupId>com.github.sylvainlaurent.maven</groupId>
165 <artifactId>yaml-json-validator-maven-plugin</artifactId>
169 <phase>validate</phase>
171 <goal>validate</goal>
177 <include>src/main/resources/**/*.y*ml</include>
178 <include>src/test/resources/**/*.y*ml</include>
183 <include>src/main/resources/**/*.json</include>
184 <include>src/test/resources/**/*.json</include>
188 <skip>${skipYamlJsonValidator}</skip>
197 <!-- LF repositories -->
199 <id>ecomp-releases</id>
200 <name>Release Repository</name>
201 <url>${nexus.proxy}/content/repositories/releases/</url>
204 <id>ecomp-snapshots</id>
205 <name>Snapshots Repository</name>
206 <url>${nexus.proxy}/content/repositories/snapshots/</url>
209 <id>ecomp-public</id>
210 <name>Public Repository</name>
211 <url>${nexus.proxy}/content/repositories/public/</url>
213 <!-- LF repositories END-->
220 <activeByDefault>false</activeByDefault>
226 <artifactId>maven-clean-plugin</artifactId>
227 <version>3.0.0</version>
230 <id>clean-static-files</id>
238 <directory>${project.basedir}/sdc-simulator</directory>
240 <include>*.war</include>
242 <followSymlinks>false</followSymlinks>
251 <artifactId>maven-resources-plugin</artifactId>
254 <id>copy-resources-simulator</id>
255 <phase>verify</phase>
257 <goal>copy-resources</goal>
260 <outputDirectory>${project.basedir}/sdc-simulator
264 <directory>${project.basedir}/target</directory>
266 <include>WSSimulator*.war</include>
277 <groupId>io.fabric8</groupId>
278 <artifactId>docker-maven-plugin</artifactId>
280 <verbose>${verbose}</verbose>
281 <apiVersion>${docker.api.version}</apiVersion>
282 <registry>${docker.registry}</registry>
285 <username>${docker.username}</username>
286 <password>${docker.password}</password>
290 <!-- Build simulator image -->
292 <name>${docker.namespace}/sdc-simulator</name>
293 <alias>sdc-simulator</alias>
295 <cleanup>try</cleanup>
296 <dockerFileDir>${basedir}${file.separator}sdc-simulator
301 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
304 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
313 <id>clean-images</id>
314 <phase>pre-clean</phase>
320 <id>generate-images</id>
321 <phase>install</phase>
328 <phase>deploy</phase>