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.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>
43 <groupId>org.eclipse.jetty</groupId>
44 <artifactId>jetty-servlet</artifactId>
45 <version>${jetty.version}</version>
46 <scope>compile</scope>
49 <groupId>org.eclipse.jetty</groupId>
50 <artifactId>jetty-security</artifactId>
55 <groupId>org.openecomp.sdc</groupId>
56 <artifactId>common-app-api</artifactId>
57 <version>${project.version}</version>
58 <scope>compile</scope>
61 <groupId>org.apache.httpcomponents</groupId>
62 <artifactId>httpcore</artifactId>
67 <groupId>javax.servlet</groupId>
68 <artifactId>javax.servlet-api</artifactId>
69 <version>${javax.servlet.version}</version>
73 <groupId>org.apache.httpcomponents</groupId>
74 <artifactId>httpclient</artifactId>
75 <version>${httpclient.version}</version>
78 <groupId>org.apache.httpcomponents</groupId>
79 <artifactId>httpcore</artifactId>
84 <groupId>org.apache.httpcomponents</groupId>
85 <artifactId>httpcore</artifactId>
86 <version>${httpcore.version}</version>
90 <groupId>org.apache.commons</groupId>
91 <artifactId>commons-lang3</artifactId>
95 <groupId>commons-logging</groupId>
96 <artifactId>commons-logging-api</artifactId>
97 <version>1.0.4</version>
101 <groupId>commons-io</groupId>
102 <artifactId>commons-io</artifactId>
103 <version>${commons.io.version}</version>
107 <groupId>commons-codec</groupId>
108 <artifactId>commons-codec</artifactId>
109 <version>${commons-codec}</version>
110 <scope>compile</scope>
114 <groupId>org.eclipse.jetty</groupId>
115 <artifactId>jetty-proxy</artifactId>
116 <version>${jetty.version}</version>
117 <scope>compile</scope>
120 <groupId>org.eclipse.jetty</groupId>
121 <artifactId>jetty-http</artifactId>
127 <groupId>org.eclipse.jetty</groupId>
128 <artifactId>jetty-servlets</artifactId>
129 <version>${jetty.version}</version>
130 <scope>compile</scope>
133 <groupId>org.eclipse.jetty</groupId>
134 <artifactId>jetty-http</artifactId>
139 <!-- Proxy servlet -->
141 <groupId>com.typesafe</groupId>
142 <artifactId>config</artifactId>
143 <version>1.0.2</version>
144 <scope>compile</scope>
147 <groupId>org.openecomp.sdc</groupId>
148 <artifactId>openecomp-sdc-logging-api</artifactId>
149 <version>${project.version}</version>
152 <groupId>org.powermock</groupId>
153 <artifactId>powermock-module-junit4</artifactId>
160 <finalName>WSSimulator-${project.version}</finalName>
163 <groupId>com.github.sylvainlaurent.maven</groupId>
164 <artifactId>yaml-json-validator-maven-plugin</artifactId>
168 <phase>validate</phase>
170 <goal>validate</goal>
176 <include>src/main/resources/**/*.y*ml</include>
177 <include>src/test/resources/**/*.y*ml</include>
182 <include>src/main/resources/**/*.json</include>
183 <include>src/test/resources/**/*.json</include>
187 <skip>${skipYamlJsonValidator}</skip>
196 <!-- LF repositories -->
198 <id>ecomp-releases</id>
199 <name>Release Repository</name>
200 <url>${nexus.proxy}/content/repositories/releases/</url>
203 <id>ecomp-snapshots</id>
204 <name>Snapshots Repository</name>
205 <url>${nexus.proxy}/content/repositories/snapshots/</url>
208 <id>ecomp-public</id>
209 <name>Public Repository</name>
210 <url>${nexus.proxy}/content/repositories/public/</url>
212 <!-- LF repositories END-->
219 <activeByDefault>false</activeByDefault>
225 <artifactId>maven-clean-plugin</artifactId>
226 <version>3.0.0</version>
229 <id>clean-static-files</id>
237 <directory>${project.basedir}/sdc-simulator</directory>
239 <include>*.war</include>
241 <followSymlinks>false</followSymlinks>
250 <artifactId>maven-resources-plugin</artifactId>
253 <id>copy-resources-simulator</id>
254 <phase>verify</phase>
256 <goal>copy-resources</goal>
259 <outputDirectory>${project.basedir}/sdc-simulator
263 <directory>${project.basedir}/target</directory>
265 <include>WSSimulator*.war</include>
276 <groupId>io.fabric8</groupId>
277 <artifactId>docker-maven-plugin</artifactId>
279 <verbose>${verbose}</verbose>
280 <apiVersion>${docker.api.version}</apiVersion>
281 <registry>${docker.registry}</registry>
284 <username>${docker.username}</username>
285 <password>${docker.password}</password>
289 <!-- Build simulator image -->
291 <name>${docker.namespace}/sdc-simulator</name>
292 <alias>sdc-simulator</alias>
294 <cleanup>try</cleanup>
295 <dockerFileDir>${basedir}${file.separator}sdc-simulator
300 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
303 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
312 <id>clean-images</id>
313 <phase>pre-clean</phase>
319 <id>generate-images</id>
320 <phase>install</phase>
327 <phase>deploy</phase>