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.3-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.hibernate.validator</groupId>
27 <artifactId>hibernate-validator</artifactId>
28 <version>${hibernate.validator.version}</version>
31 <groupId>org.eclipse.jetty</groupId>
32 <artifactId>jetty-server</artifactId>
33 <version>${jetty.version}</version>
34 <scope>compile</scope>
37 <groupId>org.eclipse.jetty</groupId>
38 <artifactId>jetty-http</artifactId>
41 <groupId>javax.servlet</groupId>
42 <artifactId>javax.servlet-api</artifactId>
47 <groupId>org.eclipse.jetty</groupId>
48 <artifactId>jetty-servlet</artifactId>
49 <version>${jetty.version}</version>
50 <scope>compile</scope>
53 <groupId>org.eclipse.jetty</groupId>
54 <artifactId>jetty-security</artifactId>
59 <groupId>org.openecomp.sdc</groupId>
60 <artifactId>common-app-api</artifactId>
61 <version>${project.version}</version>
62 <scope>compile</scope>
65 <groupId>org.apache.httpcomponents</groupId>
66 <artifactId>httpcore</artifactId>
72 <groupId>org.apache.httpcomponents</groupId>
73 <artifactId>httpclient</artifactId>
74 <version>${httpclient.version}</version>
77 <groupId>org.apache.httpcomponents</groupId>
78 <artifactId>httpcore</artifactId>
83 <groupId>org.apache.httpcomponents</groupId>
84 <artifactId>httpcore</artifactId>
85 <version>${httpcore.version}</version>
89 <groupId>org.apache.commons</groupId>
90 <artifactId>commons-lang3</artifactId>
94 <groupId>commons-logging</groupId>
95 <artifactId>commons-logging-api</artifactId>
96 <version>1.0.4</version>
100 <groupId>commons-io</groupId>
101 <artifactId>commons-io</artifactId>
102 <version>${commons.io.version}</version>
106 <groupId>commons-codec</groupId>
107 <artifactId>commons-codec</artifactId>
108 <version>${commons-codec}</version>
109 <scope>compile</scope>
113 <groupId>org.eclipse.jetty</groupId>
114 <artifactId>jetty-proxy</artifactId>
115 <version>${jetty.version}</version>
116 <scope>compile</scope>
119 <groupId>org.eclipse.jetty</groupId>
120 <artifactId>jetty-http</artifactId>
126 <groupId>org.eclipse.jetty</groupId>
127 <artifactId>jetty-servlets</artifactId>
128 <version>${jetty.version}</version>
129 <scope>compile</scope>
132 <groupId>org.eclipse.jetty</groupId>
133 <artifactId>jetty-http</artifactId>
138 <!-- Proxy servlet -->
140 <groupId>com.typesafe</groupId>
141 <artifactId>config</artifactId>
142 <version>1.0.2</version>
143 <scope>compile</scope>
146 <groupId>org.openecomp.sdc</groupId>
147 <artifactId>openecomp-sdc-logging-api</artifactId>
148 <version>${project.version}</version>
151 <groupId>org.powermock</groupId>
152 <artifactId>powermock-module-junit4</artifactId>
159 <finalName>WSSimulator-${project.version}</finalName>
162 <groupId>com.github.sylvainlaurent.maven</groupId>
163 <artifactId>yaml-json-validator-maven-plugin</artifactId>
167 <phase>validate</phase>
169 <goal>validate</goal>
175 <include>src/main/resources/**/*.y*ml</include>
176 <include>src/test/resources/**/*.y*ml</include>
181 <include>src/main/resources/**/*.json</include>
182 <include>src/test/resources/**/*.json</include>
186 <skip>${skipYamlJsonValidator}</skip>
195 <!-- LF repositories -->
197 <id>ecomp-releases</id>
198 <name>Release Repository</name>
199 <url>${nexus.proxy}/content/repositories/releases/</url>
202 <id>ecomp-snapshots</id>
203 <name>Snapshots Repository</name>
204 <url>${nexus.proxy}/content/repositories/snapshots/</url>
207 <id>ecomp-public</id>
208 <name>Public Repository</name>
209 <url>${nexus.proxy}/content/repositories/public/</url>
211 <!-- LF repositories END-->
218 <activeByDefault>false</activeByDefault>
224 <artifactId>maven-clean-plugin</artifactId>
225 <version>3.0.0</version>
228 <id>clean-static-files</id>
236 <directory>${project.basedir}/sdc-simulator</directory>
238 <include>*.war</include>
240 <followSymlinks>false</followSymlinks>
249 <artifactId>maven-resources-plugin</artifactId>
252 <id>copy-resources-simulator</id>
253 <phase>verify</phase>
255 <goal>copy-resources</goal>
258 <outputDirectory>${project.basedir}/sdc-simulator
262 <directory>${project.basedir}/target</directory>
264 <include>WSSimulator*.war</include>
275 <groupId>io.fabric8</groupId>
276 <artifactId>docker-maven-plugin</artifactId>
278 <verbose>${verbose}</verbose>
279 <apiVersion>${docker.api.version}</apiVersion>
280 <registry>${docker.registry}</registry>
283 <username>${docker.username}</username>
284 <password>${docker.password}</password>
288 <!-- Build simulator image -->
290 <name>${docker.namespace}/sdc-simulator</name>
291 <alias>sdc-simulator</alias>
293 <cleanup>try</cleanup>
294 <dockerFileDir>${basedir}${file.separator}sdc-simulator
299 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
302 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
311 <id>clean-images</id>
312 <phase>pre-clean</phase>
318 <id>generate-images</id>
319 <phase>install</phase>
326 <phase>deploy</phase>