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.11.9-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>javax.servlet</groupId>
27 <artifactId>javax.servlet-api</artifactId>
28 <version>${javax.servlet.version}</version>
32 <groupId>org.apache.httpcomponents</groupId>
33 <artifactId>httpclient</artifactId>
34 <version>${httpclient.version}</version>
37 <groupId>org.apache.httpcomponents</groupId>
38 <artifactId>httpcore</artifactId>
43 <groupId>org.apache.httpcomponents</groupId>
44 <artifactId>httpcore</artifactId>
45 <version>${httpcore.version}</version>
49 <groupId>org.apache.commons</groupId>
50 <artifactId>commons-lang3</artifactId>
54 <groupId>commons-logging</groupId>
55 <artifactId>commons-logging-api</artifactId>
56 <version>1.0.4</version>
60 <groupId>commons-io</groupId>
61 <artifactId>commons-io</artifactId>
62 <version>${commons.io.version}</version>
66 <groupId>commons-codec</groupId>
67 <artifactId>commons-codec</artifactId>
68 <version>${commons-codec}</version>
69 <scope>compile</scope>
73 <groupId>org.eclipse.jetty</groupId>
74 <artifactId>jetty-proxy</artifactId>
75 <version>${jetty.version}</version>
76 <scope>compile</scope>
79 <groupId>org.eclipse.jetty</groupId>
80 <artifactId>jetty-http</artifactId>
86 <groupId>org.eclipse.jetty</groupId>
87 <artifactId>jetty-servlets</artifactId>
88 <version>${jetty.version}</version>
89 <scope>compile</scope>
92 <groupId>org.eclipse.jetty</groupId>
93 <artifactId>jetty-http</artifactId>
98 <!-- Proxy servlet -->
100 <groupId>com.typesafe</groupId>
101 <artifactId>config</artifactId>
102 <version>1.0.2</version>
103 <scope>compile</scope>
106 <groupId>org.openecomp.sdc</groupId>
107 <artifactId>openecomp-sdc-logging-api</artifactId>
108 <version>${project.version}</version>
111 <groupId>org.powermock</groupId>
112 <artifactId>powermock-module-junit4</artifactId>
119 <finalName>WSSimulator-${project.version}</finalName>
122 <groupId>com.github.sylvainlaurent.maven</groupId>
123 <artifactId>yaml-json-validator-maven-plugin</artifactId>
127 <phase>validate</phase>
129 <goal>validate</goal>
135 <include>src/main/resources/**/*.y*ml</include>
136 <include>src/test/resources/**/*.y*ml</include>
141 <include>src/main/resources/**/*.json</include>
142 <include>src/test/resources/**/*.json</include>
146 <skip>${skipYamlJsonValidator}</skip>
155 <!-- LF repositories -->
157 <id>ecomp-releases</id>
158 <name>Release Repository</name>
159 <url>${nexus.proxy}/content/repositories/releases/</url>
162 <id>ecomp-snapshots</id>
163 <name>Snapshots Repository</name>
164 <url>${nexus.proxy}/content/repositories/snapshots/</url>
167 <id>ecomp-public</id>
168 <name>Public Repository</name>
169 <url>${nexus.proxy}/content/repositories/public/</url>
171 <!-- LF repositories END-->
178 <activeByDefault>false</activeByDefault>
184 <artifactId>maven-clean-plugin</artifactId>
185 <version>3.0.0</version>
188 <id>clean-static-files</id>
196 <directory>${project.basedir}/sdc-simulator</directory>
198 <include>*.war</include>
200 <followSymlinks>false</followSymlinks>
209 <artifactId>maven-resources-plugin</artifactId>
212 <id>copy-resources-simulator</id>
213 <phase>verify</phase>
215 <goal>copy-resources</goal>
218 <outputDirectory>${project.basedir}/sdc-simulator
222 <directory>${project.basedir}/target</directory>
224 <include>WSSimulator*.war</include>
235 <groupId>io.fabric8</groupId>
236 <artifactId>docker-maven-plugin</artifactId>
238 <verbose>${verbose}</verbose>
239 <apiVersion>${docker.api.version}</apiVersion>
240 <registry>${docker.registry}</registry>
243 <username>${docker.username}</username>
244 <password>${docker.password}</password>
248 <!-- Build simulator image -->
250 <name>${docker.namespace}/sdc-simulator</name>
251 <alias>sdc-simulator</alias>
253 <cleanup>try</cleanup>
254 <dockerFileDir>${basedir}${file.separator}sdc-simulator
259 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
262 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
271 <id>clean-images</id>
272 <phase>pre-clean</phase>
278 <id>generate-images</id>
279 <phase>install</phase>
286 <phase>deploy</phase>