1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <artifactId>webseal-simulator</artifactId>
7 <packaging>war</packaging>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.7.0-SNAPSHOT</version>
13 <relativePath>../../</relativePath>
17 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
18 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
21 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
22 <sonar.skip>true</sonar.skip>
27 <groupId>junit</groupId>
28 <artifactId>junit</artifactId>
29 <version>4.12</version>
34 <groupId>org.junit.jupiter</groupId>
35 <artifactId>junit-jupiter</artifactId>
36 <version>${junitJupiter.version}</version>
41 <groupId>org.mockito</groupId>
42 <artifactId>mockito-junit-jupiter</artifactId>
43 <version>${mockitoJupiter.version}</version>
48 <groupId>javax.servlet</groupId>
49 <artifactId>servlet-api</artifactId>
50 <version>2.5</version>
51 <scope>compile</scope>
55 <!--<groupId>commons-httpclient</groupId>-->
56 <!--<artifactId>commons-httpclient</artifactId>-->
57 <!--<version>3.1</version>-->
60 <groupId>org.apache.httpcomponents</groupId>
61 <artifactId>httpclient</artifactId>
62 <version>4.5.3</version>
67 <groupId>commons-logging</groupId>
68 <artifactId>commons-logging-api</artifactId>
69 <version>1.0.4</version>
73 <groupId>commons-io</groupId>
74 <artifactId>commons-io</artifactId>
75 <version>2.4</version>
79 <groupId>commons-codec</groupId>
80 <artifactId>commons-codec</artifactId>
81 <version>1.9</version>
82 <scope>compile</scope>
86 <groupId>org.eclipse.jetty</groupId>
87 <artifactId>jetty-proxy</artifactId>
88 <version>${jetty.version}</version>
89 <scope>compile</scope>
93 <groupId>org.eclipse.jetty</groupId>
94 <artifactId>jetty-servlets</artifactId>
95 <version>${jetty.version}</version>
96 <scope>compile</scope>
99 <!-- Proxy servlet -->
101 <groupId>com.typesafe</groupId>
102 <artifactId>config</artifactId>
103 <version>1.0.2</version>
104 <scope>compile</scope>
108 <groupId>log4j</groupId>
109 <artifactId>log4j</artifactId>
110 <version>1.2.17</version>
111 <scope>compile</scope>
117 <finalName>WSSimulator-${project.version}</finalName>
120 <groupId>com.github.sylvainlaurent.maven</groupId>
121 <artifactId>yaml-json-validator-maven-plugin</artifactId>
125 <phase>validate</phase>
127 <goal>validate</goal>
133 <include>src/main/resources/**/*.y*ml</include>
134 <include>src/test/resources/**/*.y*ml</include>
139 <include>src/main/resources/**/*.json</include>
140 <include>src/test/resources/**/*.json</include>
152 <!-- LF repositories -->
154 <id>ecomp-releases</id>
155 <name>Release Repository</name>
156 <url>${nexus.proxy}/content/repositories/releases/</url>
159 <id>ecomp-snapshots</id>
160 <name>Snapshots Repository</name>
161 <url>${nexus.proxy}/content/repositories/snapshots/</url>
164 <id>ecomp-public</id>
165 <name>Public Repository</name>
166 <url>${nexus.proxy}/content/repositories/public/</url>
168 <!-- LF repositories END-->
175 <activeByDefault>false</activeByDefault>
181 <artifactId>maven-clean-plugin</artifactId>
182 <version>3.0.0</version>
185 <id>clean-static-files</id>
193 <directory>${project.basedir}/sdc-simulator</directory>
195 <include>*.war</include>
197 <followSymlinks>false</followSymlinks>
206 <artifactId>maven-resources-plugin</artifactId>
209 <id>copy-resources-simulator</id>
210 <phase>verify</phase>
212 <goal>copy-resources</goal>
215 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
218 <directory>${project.basedir}/target</directory>
220 <include>WSSimulator*.war</include>
232 <groupId>io.fabric8</groupId>
233 <artifactId>docker-maven-plugin</artifactId>
235 <apiVersion>1.23</apiVersion>
236 <registry>nexus3.onap.org:10001</registry>
239 <username>docker</username>
240 <password>docker</password>
244 <!-- Build simulator image -->
246 <name>onap/sdc-simulator</name>
247 <alias>sdc-simulator</alias>
249 <cleanup>try</cleanup>
250 <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
252 <tag>${docker.tag}</tag>
253 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
261 <id>clean-images</id>
262 <phase>pre-clean</phase>
268 <id>generate-images</id>
269 <phase>install</phase>
276 <phase>deploy</phase>