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.10.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>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>
39 <groupId>commons-logging</groupId>
40 <artifactId>commons-logging-api</artifactId>
41 <version>1.0.4</version>
45 <groupId>commons-io</groupId>
46 <artifactId>commons-io</artifactId>
47 <version>${commons.io.version}</version>
51 <groupId>commons-codec</groupId>
52 <artifactId>commons-codec</artifactId>
53 <version>${commons-codec}</version>
54 <scope>compile</scope>
58 <groupId>org.eclipse.jetty</groupId>
59 <artifactId>jetty-proxy</artifactId>
60 <version>${jetty.version}</version>
61 <scope>compile</scope>
64 <groupId>org.eclipse.jetty</groupId>
65 <artifactId>jetty-http</artifactId>
71 <groupId>org.eclipse.jetty</groupId>
72 <artifactId>jetty-servlets</artifactId>
73 <version>${jetty.version}</version>
74 <scope>compile</scope>
77 <groupId>org.eclipse.jetty</groupId>
78 <artifactId>jetty-http</artifactId>
83 <!-- Proxy servlet -->
85 <groupId>com.typesafe</groupId>
86 <artifactId>config</artifactId>
87 <version>1.0.2</version>
88 <scope>compile</scope>
91 <groupId>org.openecomp.sdc</groupId>
92 <artifactId>openecomp-sdc-logging-api</artifactId>
93 <version>${project.version}</version>
96 <groupId>org.powermock</groupId>
97 <artifactId>powermock-module-junit4</artifactId>
104 <finalName>WSSimulator-${project.version}</finalName>
107 <groupId>com.github.sylvainlaurent.maven</groupId>
108 <artifactId>yaml-json-validator-maven-plugin</artifactId>
112 <phase>validate</phase>
114 <goal>validate</goal>
120 <include>src/main/resources/**/*.y*ml</include>
121 <include>src/test/resources/**/*.y*ml</include>
126 <include>src/main/resources/**/*.json</include>
127 <include>src/test/resources/**/*.json</include>
131 <skip>${skipYamlJsonValidator}</skip>
140 <!-- LF repositories -->
142 <id>ecomp-releases</id>
143 <name>Release Repository</name>
144 <url>${nexus.proxy}/content/repositories/releases/</url>
147 <id>ecomp-snapshots</id>
148 <name>Snapshots Repository</name>
149 <url>${nexus.proxy}/content/repositories/snapshots/</url>
152 <id>ecomp-public</id>
153 <name>Public Repository</name>
154 <url>${nexus.proxy}/content/repositories/public/</url>
156 <!-- LF repositories END-->
163 <activeByDefault>false</activeByDefault>
169 <artifactId>maven-clean-plugin</artifactId>
170 <version>3.0.0</version>
173 <id>clean-static-files</id>
181 <directory>${project.basedir}/sdc-simulator</directory>
183 <include>*.war</include>
185 <followSymlinks>false</followSymlinks>
194 <artifactId>maven-resources-plugin</artifactId>
197 <id>copy-resources-simulator</id>
198 <phase>verify</phase>
200 <goal>copy-resources</goal>
203 <outputDirectory>${project.basedir}/sdc-simulator
207 <directory>${project.basedir}/target</directory>
209 <include>WSSimulator*.war</include>
220 <groupId>io.fabric8</groupId>
221 <artifactId>docker-maven-plugin</artifactId>
223 <verbose>${verbose}</verbose>
224 <apiVersion>${docker.api.version}</apiVersion>
225 <registry>nexus3.onap.org:10001</registry>
228 <username>docker</username>
229 <password>docker</password>
233 <!-- Build simulator image -->
235 <name>onap/sdc-simulator</name>
236 <alias>sdc-simulator</alias>
238 <cleanup>try</cleanup>
239 <dockerFileDir>${basedir}${file.separator}sdc-simulator
244 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
247 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
256 <id>clean-images</id>
257 <phase>pre-clean</phase>
263 <id>generate-images</id>
264 <phase>install</phase>
271 <phase>deploy</phase>