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.8-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>commons-logging</groupId>
50 <artifactId>commons-logging-api</artifactId>
51 <version>1.0.4</version>
55 <groupId>commons-io</groupId>
56 <artifactId>commons-io</artifactId>
57 <version>${commons.io.version}</version>
61 <groupId>commons-codec</groupId>
62 <artifactId>commons-codec</artifactId>
63 <version>${commons-codec}</version>
64 <scope>compile</scope>
68 <groupId>org.eclipse.jetty</groupId>
69 <artifactId>jetty-proxy</artifactId>
70 <version>${jetty.version}</version>
71 <scope>compile</scope>
74 <groupId>org.eclipse.jetty</groupId>
75 <artifactId>jetty-http</artifactId>
81 <groupId>org.eclipse.jetty</groupId>
82 <artifactId>jetty-servlets</artifactId>
83 <version>${jetty.version}</version>
84 <scope>compile</scope>
87 <groupId>org.eclipse.jetty</groupId>
88 <artifactId>jetty-http</artifactId>
93 <!-- Proxy servlet -->
95 <groupId>com.typesafe</groupId>
96 <artifactId>config</artifactId>
97 <version>1.0.2</version>
98 <scope>compile</scope>
101 <groupId>org.openecomp.sdc</groupId>
102 <artifactId>openecomp-sdc-logging-api</artifactId>
103 <version>${project.version}</version>
106 <groupId>org.powermock</groupId>
107 <artifactId>powermock-module-junit4</artifactId>
114 <finalName>WSSimulator-${project.version}</finalName>
117 <groupId>com.github.sylvainlaurent.maven</groupId>
118 <artifactId>yaml-json-validator-maven-plugin</artifactId>
122 <phase>validate</phase>
124 <goal>validate</goal>
130 <include>src/main/resources/**/*.y*ml</include>
131 <include>src/test/resources/**/*.y*ml</include>
136 <include>src/main/resources/**/*.json</include>
137 <include>src/test/resources/**/*.json</include>
141 <skip>${skipYamlJsonValidator}</skip>
150 <!-- LF repositories -->
152 <id>ecomp-releases</id>
153 <name>Release Repository</name>
154 <url>${nexus.proxy}/content/repositories/releases/</url>
157 <id>ecomp-snapshots</id>
158 <name>Snapshots Repository</name>
159 <url>${nexus.proxy}/content/repositories/snapshots/</url>
162 <id>ecomp-public</id>
163 <name>Public Repository</name>
164 <url>${nexus.proxy}/content/repositories/public/</url>
166 <!-- LF repositories END-->
173 <activeByDefault>false</activeByDefault>
179 <artifactId>maven-clean-plugin</artifactId>
180 <version>3.0.0</version>
183 <id>clean-static-files</id>
191 <directory>${project.basedir}/sdc-simulator</directory>
193 <include>*.war</include>
195 <followSymlinks>false</followSymlinks>
204 <artifactId>maven-resources-plugin</artifactId>
207 <id>copy-resources-simulator</id>
208 <phase>verify</phase>
210 <goal>copy-resources</goal>
213 <outputDirectory>${project.basedir}/sdc-simulator
217 <directory>${project.basedir}/target</directory>
219 <include>WSSimulator*.war</include>
230 <groupId>io.fabric8</groupId>
231 <artifactId>docker-maven-plugin</artifactId>
233 <verbose>${verbose}</verbose>
234 <apiVersion>${docker.api.version}</apiVersion>
235 <registry>${docker.registry}</registry>
238 <username>${docker.username}</username>
239 <password>${docker.password}</password>
243 <!-- Build simulator image -->
245 <name>${docker.namespace}/sdc-simulator</name>
246 <alias>sdc-simulator</alias>
248 <cleanup>try</cleanup>
249 <dockerFileDir>${basedir}${file.separator}sdc-simulator
254 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
257 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
266 <id>clean-images</id>
267 <phase>pre-clean</phase>
273 <id>generate-images</id>
274 <phase>install</phase>
281 <phase>deploy</phase>