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.7.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 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
22 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
23 <sonar.skip>true</sonar.skip>
27 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
29 <groupId>org.junit.jupiter</groupId>
30 <artifactId>junit-jupiter-engine</artifactId>
31 <version>${junitJupiter.version}</version>
34 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
36 <groupId>org.junit.vintage</groupId>
37 <artifactId>junit-vintage-engine</artifactId>
38 <version>${junitJupiter.version}</version>
43 <groupId>javax.servlet</groupId>
44 <artifactId>servlet-api</artifactId>
45 <version>2.5</version>
46 <scope>compile</scope>
50 <groupId>org.apache.httpcomponents</groupId>
51 <artifactId>httpclient</artifactId>
52 <version>4.5.3</version>
57 <groupId>commons-logging</groupId>
58 <artifactId>commons-logging-api</artifactId>
59 <version>1.0.4</version>
63 <groupId>commons-io</groupId>
64 <artifactId>commons-io</artifactId>
65 <version>2.4</version>
69 <groupId>commons-codec</groupId>
70 <artifactId>commons-codec</artifactId>
71 <version>1.9</version>
72 <scope>compile</scope>
76 <groupId>org.eclipse.jetty</groupId>
77 <artifactId>jetty-proxy</artifactId>
78 <version>${jetty.version}</version>
79 <scope>compile</scope>
83 <groupId>org.eclipse.jetty</groupId>
84 <artifactId>jetty-servlets</artifactId>
85 <version>${jetty.version}</version>
86 <scope>compile</scope>
89 <!-- Proxy servlet -->
91 <groupId>com.typesafe</groupId>
92 <artifactId>config</artifactId>
93 <version>1.0.2</version>
94 <scope>compile</scope>
98 <groupId>log4j</groupId>
99 <artifactId>log4j</artifactId>
100 <version>1.2.17</version>
101 <scope>compile</scope>
107 <finalName>WSSimulator-${project.version}</finalName>
110 <groupId>com.github.sylvainlaurent.maven</groupId>
111 <artifactId>yaml-json-validator-maven-plugin</artifactId>
115 <phase>validate</phase>
117 <goal>validate</goal>
123 <include>src/main/resources/**/*.y*ml</include>
124 <include>src/test/resources/**/*.y*ml</include>
129 <include>src/main/resources/**/*.json</include>
130 <include>src/test/resources/**/*.json</include>
142 <!-- LF repositories -->
144 <id>ecomp-releases</id>
145 <name>Release Repository</name>
146 <url>${nexus.proxy}/content/repositories/releases/</url>
149 <id>ecomp-snapshots</id>
150 <name>Snapshots Repository</name>
151 <url>${nexus.proxy}/content/repositories/snapshots/</url>
154 <id>ecomp-public</id>
155 <name>Public Repository</name>
156 <url>${nexus.proxy}/content/repositories/public/</url>
158 <!-- LF repositories END-->
165 <activeByDefault>false</activeByDefault>
171 <artifactId>maven-clean-plugin</artifactId>
172 <version>3.0.0</version>
175 <id>clean-static-files</id>
183 <directory>${project.basedir}/sdc-simulator</directory>
185 <include>*.war</include>
187 <followSymlinks>false</followSymlinks>
196 <artifactId>maven-resources-plugin</artifactId>
199 <id>copy-resources-simulator</id>
200 <phase>verify</phase>
202 <goal>copy-resources</goal>
205 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
208 <directory>${project.basedir}/target</directory>
210 <include>WSSimulator*.war</include>
221 <groupId>io.fabric8</groupId>
222 <artifactId>docker-maven-plugin</artifactId>
224 <apiVersion>1.23</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</dockerFileDir>
241 <tag>${docker.tag}</tag>
243 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
252 <id>clean-images</id>
253 <phase>pre-clean</phase>
259 <id>generate-images</id>
260 <phase>install</phase>
267 <phase>deploy</phase>