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.6.2-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>javax.servlet</groupId>
35 <artifactId>servlet-api</artifactId>
36 <version>2.5</version>
37 <scope>compile</scope>
41 <!--<groupId>commons-httpclient</groupId>-->
42 <!--<artifactId>commons-httpclient</artifactId>-->
43 <!--<version>3.1</version>-->
46 <groupId>org.apache.httpcomponents</groupId>
47 <artifactId>httpclient</artifactId>
48 <version>4.5.3</version>
53 <groupId>commons-logging</groupId>
54 <artifactId>commons-logging-api</artifactId>
55 <version>1.0.4</version>
59 <groupId>commons-io</groupId>
60 <artifactId>commons-io</artifactId>
61 <version>2.4</version>
65 <groupId>commons-codec</groupId>
66 <artifactId>commons-codec</artifactId>
67 <version>1.9</version>
68 <scope>compile</scope>
72 <groupId>org.eclipse.jetty</groupId>
73 <artifactId>jetty-proxy</artifactId>
74 <version>${jetty.version}</version>
75 <scope>compile</scope>
79 <groupId>org.eclipse.jetty</groupId>
80 <artifactId>jetty-servlets</artifactId>
81 <version>${jetty.version}</version>
82 <scope>compile</scope>
85 <!-- Proxy servlet -->
87 <groupId>com.typesafe</groupId>
88 <artifactId>config</artifactId>
89 <version>1.0.2</version>
90 <scope>compile</scope>
94 <groupId>log4j</groupId>
95 <artifactId>log4j</artifactId>
96 <version>1.2.17</version>
97 <scope>compile</scope>
103 <finalName>WSSimulator-${project.version}</finalName>
106 <groupId>com.github.sylvainlaurent.maven</groupId>
107 <artifactId>yaml-json-validator-maven-plugin</artifactId>
111 <phase>validate</phase>
113 <goal>validate</goal>
119 <include>src/main/resources/**/*.y*ml</include>
120 <include>src/test/resources/**/*.y*ml</include>
125 <include>src/main/resources/**/*.json</include>
126 <include>src/test/resources/**/*.json</include>
138 <!-- LF repositories -->
140 <id>ecomp-releases</id>
141 <name>Release Repository</name>
142 <url>${nexus.proxy}/content/repositories/releases/</url>
145 <id>ecomp-snapshots</id>
146 <name>Snapshots Repository</name>
147 <url>${nexus.proxy}/content/repositories/snapshots/</url>
150 <id>ecomp-public</id>
151 <name>Public Repository</name>
152 <url>${nexus.proxy}/content/repositories/public/</url>
154 <!-- LF repositories END-->
161 <activeByDefault>false</activeByDefault>
167 <artifactId>maven-clean-plugin</artifactId>
168 <version>3.0.0</version>
171 <id>clean-static-files</id>
179 <directory>${project.basedir}/sdc-simulator</directory>
181 <include>*.war</include>
183 <followSymlinks>false</followSymlinks>
192 <artifactId>maven-resources-plugin</artifactId>
195 <id>copy-resources-simulator</id>
196 <phase>verify</phase>
198 <goal>copy-resources</goal>
201 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
204 <directory>${project.basedir}/target</directory>
206 <include>WSSimulator*.war</include>
218 <groupId>io.fabric8</groupId>
219 <artifactId>docker-maven-plugin</artifactId>
221 <apiVersion>1.23</apiVersion>
222 <registry>nexus3.onap.org:10001</registry>
225 <username>docker</username>
226 <password>docker</password>
230 <!-- Build simulator image -->
232 <name>onap/sdc-simulator</name>
233 <alias>sdc-simulator</alias>
235 <cleanup>try</cleanup>
236 <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
238 <tag>${docker.tag}</tag>
239 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
247 <id>clean-images</id>
248 <phase>pre-clean</phase>
254 <id>generate-images</id>
255 <phase>install</phase>
262 <phase>deploy</phase>