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>
42 <groupId>javax.servlet</groupId>
43 <artifactId>servlet-api</artifactId>
44 <version>2.5</version>
45 <scope>compile</scope>
49 <groupId>org.apache.httpcomponents</groupId>
50 <artifactId>httpclient</artifactId>
51 <version>4.5.3</version>
56 <groupId>commons-logging</groupId>
57 <artifactId>commons-logging-api</artifactId>
58 <version>1.0.4</version>
62 <groupId>commons-io</groupId>
63 <artifactId>commons-io</artifactId>
64 <version>2.4</version>
68 <groupId>commons-codec</groupId>
69 <artifactId>commons-codec</artifactId>
70 <version>1.9</version>
71 <scope>compile</scope>
75 <groupId>org.eclipse.jetty</groupId>
76 <artifactId>jetty-proxy</artifactId>
77 <version>${jetty.version}</version>
78 <scope>compile</scope>
82 <groupId>org.eclipse.jetty</groupId>
83 <artifactId>jetty-servlets</artifactId>
84 <version>${jetty.version}</version>
85 <scope>compile</scope>
88 <!-- Proxy servlet -->
90 <groupId>com.typesafe</groupId>
91 <artifactId>config</artifactId>
92 <version>1.0.2</version>
93 <scope>compile</scope>
97 <groupId>log4j</groupId>
98 <artifactId>log4j</artifactId>
99 <version>1.2.17</version>
100 <scope>compile</scope>
106 <finalName>WSSimulator-${project.version}</finalName>
109 <groupId>com.github.sylvainlaurent.maven</groupId>
110 <artifactId>yaml-json-validator-maven-plugin</artifactId>
114 <phase>validate</phase>
116 <goal>validate</goal>
122 <include>src/main/resources/**/*.y*ml</include>
123 <include>src/test/resources/**/*.y*ml</include>
128 <include>src/main/resources/**/*.json</include>
129 <include>src/test/resources/**/*.json</include>
141 <!-- LF repositories -->
143 <id>ecomp-releases</id>
144 <name>Release Repository</name>
145 <url>${nexus.proxy}/content/repositories/releases/</url>
148 <id>ecomp-snapshots</id>
149 <name>Snapshots Repository</name>
150 <url>${nexus.proxy}/content/repositories/snapshots/</url>
153 <id>ecomp-public</id>
154 <name>Public Repository</name>
155 <url>${nexus.proxy}/content/repositories/public/</url>
157 <!-- LF repositories END-->
164 <activeByDefault>false</activeByDefault>
170 <artifactId>maven-clean-plugin</artifactId>
171 <version>3.0.0</version>
174 <id>clean-static-files</id>
182 <directory>${project.basedir}/sdc-simulator</directory>
184 <include>*.war</include>
186 <followSymlinks>false</followSymlinks>
195 <artifactId>maven-resources-plugin</artifactId>
198 <id>copy-resources-simulator</id>
199 <phase>verify</phase>
201 <goal>copy-resources</goal>
204 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
207 <directory>${project.basedir}/target</directory>
209 <include>WSSimulator*.war</include>
220 <groupId>io.fabric8</groupId>
221 <artifactId>docker-maven-plugin</artifactId>
223 <apiVersion>1.23</apiVersion>
224 <registry>nexus3.onap.org:10001</registry>
227 <username>docker</username>
228 <password>docker</password>
232 <!-- Build simulator image -->
234 <name>onap/sdc-simulator</name>
235 <alias>sdc-simulator</alias>
237 <cleanup>try</cleanup>
238 <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
240 <tag>${docker.tag}</tag>
242 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
251 <id>clean-images</id>
252 <phase>pre-clean</phase>
258 <id>generate-images</id>
259 <phase>install</phase>
266 <phase>deploy</phase>