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>
81 <groupId>org.apache.logging.log4j</groupId>
82 <artifactId>log4j-core</artifactId>
83 <version>${log4j.version}</version>
84 <scope>compile</scope>
90 <finalName>WSSimulator-${project.version}</finalName>
93 <groupId>com.github.sylvainlaurent.maven</groupId>
94 <artifactId>yaml-json-validator-maven-plugin</artifactId>
98 <phase>validate</phase>
100 <goal>validate</goal>
106 <include>src/main/resources/**/*.y*ml</include>
107 <include>src/test/resources/**/*.y*ml</include>
112 <include>src/main/resources/**/*.json</include>
113 <include>src/test/resources/**/*.json</include>
117 <skip>${skipYamlJsonValidator}</skip>
126 <!-- LF repositories -->
128 <id>ecomp-releases</id>
129 <name>Release Repository</name>
130 <url>${nexus.proxy}/content/repositories/releases/</url>
133 <id>ecomp-snapshots</id>
134 <name>Snapshots Repository</name>
135 <url>${nexus.proxy}/content/repositories/snapshots/</url>
138 <id>ecomp-public</id>
139 <name>Public Repository</name>
140 <url>${nexus.proxy}/content/repositories/public/</url>
142 <!-- LF repositories END-->
149 <activeByDefault>false</activeByDefault>
155 <artifactId>maven-clean-plugin</artifactId>
156 <version>3.0.0</version>
159 <id>clean-static-files</id>
167 <directory>${project.basedir}/sdc-simulator</directory>
169 <include>*.war</include>
171 <followSymlinks>false</followSymlinks>
180 <artifactId>maven-resources-plugin</artifactId>
183 <id>copy-resources-simulator</id>
184 <phase>verify</phase>
186 <goal>copy-resources</goal>
189 <outputDirectory>${project.basedir}/sdc-simulator</outputDirectory>
192 <directory>${project.basedir}/target</directory>
194 <include>WSSimulator*.war</include>
205 <groupId>io.fabric8</groupId>
206 <artifactId>docker-maven-plugin</artifactId>
208 <apiVersion>${docker.api.version}</apiVersion>
209 <registry>nexus3.onap.org:10001</registry>
212 <username>docker</username>
213 <password>docker</password>
217 <!-- Build simulator image -->
219 <name>onap/sdc-simulator</name>
220 <alias>sdc-simulator</alias>
222 <cleanup>try</cleanup>
223 <dockerFileDir>${basedir}${file.separator}sdc-simulator</dockerFileDir>
227 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
229 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
237 <id>clean-images</id>
238 <phase>pre-clean</phase>
244 <id>generate-images</id>
245 <phase>install</phase>
252 <phase>deploy</phase>