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.8.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>javax.servlet</groupId>
27 <artifactId>servlet-api</artifactId>
28 <version>2.5</version>
29 <scope>compile</scope>
33 <groupId>org.apache.httpcomponents</groupId>
34 <artifactId>httpclient</artifactId>
35 <version>4.5.3</version>
40 <groupId>commons-logging</groupId>
41 <artifactId>commons-logging-api</artifactId>
42 <version>1.0.4</version>
46 <groupId>commons-io</groupId>
47 <artifactId>commons-io</artifactId>
48 <version>2.4</version>
52 <groupId>commons-codec</groupId>
53 <artifactId>commons-codec</artifactId>
54 <version>1.9</version>
55 <scope>compile</scope>
59 <groupId>org.eclipse.jetty</groupId>
60 <artifactId>jetty-proxy</artifactId>
61 <version>${jetty.version}</version>
62 <scope>compile</scope>
66 <groupId>org.eclipse.jetty</groupId>
67 <artifactId>jetty-servlets</artifactId>
68 <version>${jetty.version}</version>
69 <scope>compile</scope>
72 <!-- Proxy servlet -->
74 <groupId>com.typesafe</groupId>
75 <artifactId>config</artifactId>
76 <version>1.0.2</version>
77 <scope>compile</scope>
80 <groupId>org.openecomp.sdc</groupId>
81 <artifactId>openecomp-sdc-logging-api</artifactId>
82 <version>${project.version}</version>
87 <finalName>WSSimulator-${project.version}</finalName>
90 <groupId>com.github.sylvainlaurent.maven</groupId>
91 <artifactId>yaml-json-validator-maven-plugin</artifactId>
95 <phase>validate</phase>
103 <include>src/main/resources/**/*.y*ml</include>
104 <include>src/test/resources/**/*.y*ml</include>
109 <include>src/main/resources/**/*.json</include>
110 <include>src/test/resources/**/*.json</include>
114 <skip>${skipYamlJsonValidator}</skip>
123 <!-- LF repositories -->
125 <id>ecomp-releases</id>
126 <name>Release Repository</name>
127 <url>${nexus.proxy}/content/repositories/releases/</url>
130 <id>ecomp-snapshots</id>
131 <name>Snapshots Repository</name>
132 <url>${nexus.proxy}/content/repositories/snapshots/</url>
135 <id>ecomp-public</id>
136 <name>Public Repository</name>
137 <url>${nexus.proxy}/content/repositories/public/</url>
139 <!-- LF repositories END-->
146 <activeByDefault>false</activeByDefault>
152 <artifactId>maven-clean-plugin</artifactId>
153 <version>3.0.0</version>
156 <id>clean-static-files</id>
164 <directory>${project.basedir}/sdc-simulator</directory>
166 <include>*.war</include>
168 <followSymlinks>false</followSymlinks>
177 <artifactId>maven-resources-plugin</artifactId>
180 <id>copy-resources-simulator</id>
181 <phase>verify</phase>
183 <goal>copy-resources</goal>
186 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
189 <directory>${project.basedir}/target</directory>
191 <include>WSSimulator*.war</include>
202 <groupId>io.fabric8</groupId>
203 <artifactId>docker-maven-plugin</artifactId>
205 <apiVersion>${docker.api.version}</apiVersion>
206 <registry>nexus3.onap.org:10001</registry>
209 <username>docker</username>
210 <password>docker</password>
214 <!-- Build simulator image -->
216 <name>onap/sdc-simulator</name>
217 <alias>sdc-simulator</alias>
219 <cleanup>try</cleanup>
220 <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
224 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
226 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
234 <id>clean-images</id>
235 <phase>pre-clean</phase>
241 <id>generate-images</id>
242 <phase>install</phase>
249 <phase>deploy</phase>