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.8.4-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>servlet-api</artifactId>
28 <version>2.5</version>
29 <scope>compile</scope>
33 <groupId>org.apache.httpcomponents</groupId>
34 <artifactId>httpclient</artifactId>
35 <version>4.5.3</version>
40 <groupId>commons-logging</groupId>
41 <artifactId>commons-logging-api</artifactId>
42 <version>1.0.4</version>
46 <groupId>commons-io</groupId>
47 <artifactId>commons-io</artifactId>
48 <version>2.4</version>
52 <groupId>commons-codec</groupId>
53 <artifactId>commons-codec</artifactId>
54 <version>1.9</version>
55 <scope>compile</scope>
59 <groupId>org.eclipse.jetty</groupId>
60 <artifactId>jetty-proxy</artifactId>
61 <version>${jetty.version}</version>
62 <scope>compile</scope>
65 <groupId>org.eclipse.jetty</groupId>
66 <artifactId>jetty-http</artifactId>
72 <groupId>org.eclipse.jetty</groupId>
73 <artifactId>jetty-servlets</artifactId>
74 <version>${jetty.version}</version>
75 <scope>compile</scope>
78 <groupId>org.eclipse.jetty</groupId>
79 <artifactId>jetty-http</artifactId>
84 <!-- Proxy servlet -->
86 <groupId>com.typesafe</groupId>
87 <artifactId>config</artifactId>
88 <version>1.0.2</version>
89 <scope>compile</scope>
92 <groupId>org.openecomp.sdc</groupId>
93 <artifactId>openecomp-sdc-logging-api</artifactId>
94 <version>${project.version}</version>
99 <finalName>WSSimulator-${project.version}</finalName>
102 <groupId>com.github.sylvainlaurent.maven</groupId>
103 <artifactId>yaml-json-validator-maven-plugin</artifactId>
107 <phase>validate</phase>
109 <goal>validate</goal>
115 <include>src/main/resources/**/*.y*ml</include>
116 <include>src/test/resources/**/*.y*ml</include>
121 <include>src/main/resources/**/*.json</include>
122 <include>src/test/resources/**/*.json</include>
126 <skip>${skipYamlJsonValidator}</skip>
135 <!-- LF repositories -->
137 <id>ecomp-releases</id>
138 <name>Release Repository</name>
139 <url>${nexus.proxy}/content/repositories/releases/</url>
142 <id>ecomp-snapshots</id>
143 <name>Snapshots Repository</name>
144 <url>${nexus.proxy}/content/repositories/snapshots/</url>
147 <id>ecomp-public</id>
148 <name>Public Repository</name>
149 <url>${nexus.proxy}/content/repositories/public/</url>
151 <!-- LF repositories END-->
158 <activeByDefault>false</activeByDefault>
164 <artifactId>maven-clean-plugin</artifactId>
165 <version>3.0.0</version>
168 <id>clean-static-files</id>
176 <directory>${project.basedir}/sdc-simulator</directory>
178 <include>*.war</include>
180 <followSymlinks>false</followSymlinks>
189 <artifactId>maven-resources-plugin</artifactId>
192 <id>copy-resources-simulator</id>
193 <phase>verify</phase>
195 <goal>copy-resources</goal>
198 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
201 <directory>${project.basedir}/target</directory>
203 <include>WSSimulator*.war</include>
214 <groupId>io.fabric8</groupId>
215 <artifactId>docker-maven-plugin</artifactId>
217 <apiVersion>${docker.api.version}</apiVersion>
218 <registry>nexus3.onap.org:10001</registry>
221 <username>docker</username>
222 <password>docker</password>
226 <!-- Build simulator image -->
228 <name>onap/sdc-simulator</name>
229 <alias>sdc-simulator</alias>
231 <cleanup>try</cleanup>
232 <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
236 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
238 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
246 <id>clean-images</id>
247 <phase>pre-clean</phase>
253 <id>generate-images</id>
254 <phase>install</phase>
261 <phase>deploy</phase>