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.12.0-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.openecomp.sdc</groupId>
27 <artifactId>common-app-api</artifactId>
28 <version>${project.version}</version>
29 <scope>compile</scope>
32 <groupId>org.apache.httpcomponents</groupId>
33 <artifactId>httpcore</artifactId>
38 <groupId>javax.servlet</groupId>
39 <artifactId>javax.servlet-api</artifactId>
40 <version>${javax.servlet.version}</version>
44 <groupId>org.apache.httpcomponents</groupId>
45 <artifactId>httpclient</artifactId>
46 <version>${httpclient.version}</version>
49 <groupId>org.apache.httpcomponents</groupId>
50 <artifactId>httpcore</artifactId>
55 <groupId>org.apache.httpcomponents</groupId>
56 <artifactId>httpcore</artifactId>
57 <version>${httpcore.version}</version>
61 <groupId>org.apache.commons</groupId>
62 <artifactId>commons-lang3</artifactId>
66 <groupId>commons-logging</groupId>
67 <artifactId>commons-logging-api</artifactId>
68 <version>1.0.4</version>
72 <groupId>commons-io</groupId>
73 <artifactId>commons-io</artifactId>
74 <version>${commons.io.version}</version>
78 <groupId>commons-codec</groupId>
79 <artifactId>commons-codec</artifactId>
80 <version>${commons-codec}</version>
81 <scope>compile</scope>
85 <groupId>org.eclipse.jetty</groupId>
86 <artifactId>jetty-proxy</artifactId>
87 <version>${jetty.version}</version>
88 <scope>compile</scope>
91 <groupId>org.eclipse.jetty</groupId>
92 <artifactId>jetty-http</artifactId>
98 <groupId>org.eclipse.jetty</groupId>
99 <artifactId>jetty-servlets</artifactId>
100 <version>${jetty.version}</version>
101 <scope>compile</scope>
104 <groupId>org.eclipse.jetty</groupId>
105 <artifactId>jetty-http</artifactId>
110 <!-- Proxy servlet -->
112 <groupId>com.typesafe</groupId>
113 <artifactId>config</artifactId>
114 <version>1.0.2</version>
115 <scope>compile</scope>
118 <groupId>org.openecomp.sdc</groupId>
119 <artifactId>openecomp-sdc-logging-api</artifactId>
120 <version>${project.version}</version>
123 <groupId>org.powermock</groupId>
124 <artifactId>powermock-module-junit4</artifactId>
131 <finalName>WSSimulator-${project.version}</finalName>
134 <groupId>com.github.sylvainlaurent.maven</groupId>
135 <artifactId>yaml-json-validator-maven-plugin</artifactId>
139 <phase>validate</phase>
141 <goal>validate</goal>
147 <include>src/main/resources/**/*.y*ml</include>
148 <include>src/test/resources/**/*.y*ml</include>
153 <include>src/main/resources/**/*.json</include>
154 <include>src/test/resources/**/*.json</include>
158 <skip>${skipYamlJsonValidator}</skip>
167 <!-- LF repositories -->
169 <id>ecomp-releases</id>
170 <name>Release Repository</name>
171 <url>${nexus.proxy}/content/repositories/releases/</url>
174 <id>ecomp-snapshots</id>
175 <name>Snapshots Repository</name>
176 <url>${nexus.proxy}/content/repositories/snapshots/</url>
179 <id>ecomp-public</id>
180 <name>Public Repository</name>
181 <url>${nexus.proxy}/content/repositories/public/</url>
183 <!-- LF repositories END-->
190 <activeByDefault>false</activeByDefault>
196 <artifactId>maven-clean-plugin</artifactId>
197 <version>3.0.0</version>
200 <id>clean-static-files</id>
208 <directory>${project.basedir}/sdc-simulator</directory>
210 <include>*.war</include>
212 <followSymlinks>false</followSymlinks>
221 <artifactId>maven-resources-plugin</artifactId>
224 <id>copy-resources-simulator</id>
225 <phase>verify</phase>
227 <goal>copy-resources</goal>
230 <outputDirectory>${project.basedir}/sdc-simulator
234 <directory>${project.basedir}/target</directory>
236 <include>WSSimulator*.war</include>
247 <groupId>io.fabric8</groupId>
248 <artifactId>docker-maven-plugin</artifactId>
250 <verbose>${verbose}</verbose>
251 <apiVersion>${docker.api.version}</apiVersion>
252 <registry>${docker.registry}</registry>
255 <username>${docker.username}</username>
256 <password>${docker.password}</password>
260 <!-- Build simulator image -->
262 <name>${docker.namespace}/sdc-simulator</name>
263 <alias>sdc-simulator</alias>
265 <cleanup>try</cleanup>
266 <dockerFileDir>${basedir}${file.separator}sdc-simulator
271 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
274 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
283 <id>clean-images</id>
284 <phase>pre-clean</phase>
290 <id>generate-images</id>
291 <phase>install</phase>
298 <phase>deploy</phase>