blob: 180ac3cff19671df15881d15254c201545a18b47 [file] [log] [blame]
vasrazf0d4dd52021-11-15 12:27:54 +00001<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xmlns="http://maven.apache.org/POM/4.0.0"
vasrazb08ac292021-10-21 17:32:16 +01003 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Michael Landoed64b5e2017-06-09 03:19:04 +03004
Yuli Shlosbergf59a2252018-03-21 11:14:08 +02005
vasrazb08ac292021-10-21 17:32:16 +01006 <artifactId>webseal-simulator</artifactId>
vasrazb08ac292021-10-21 17:32:16 +01007 <build>
8 <finalName>WSSimulator-${project.version}</finalName>
vasraza36531c2020-04-29 18:39:35 +01009 <plugins>
vasrazb08ac292021-10-21 17:32:16 +010010 <plugin>
vasrazb08ac292021-10-21 17:32:16 +010011 <artifactId>yaml-json-validator-maven-plugin</artifactId>
12 <executions>
13 <execution>
vasrazb08ac292021-10-21 17:32:16 +010014 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +000015 <skip>${skipYamlJsonValidator}</skip>
vasrazb08ac292021-10-21 17:32:16 +010016 <validationSets>
17 <validationSet>
18 <includes>
19 <include>src/main/resources/**/*.y*ml</include>
20 <include>src/test/resources/**/*.y*ml</include>
21 </includes>
22 </validationSet>
23 <validationSet>
24 <includes>
25 <include>src/main/resources/**/*.json</include>
26 <include>src/test/resources/**/*.json</include>
27 </includes>
28 </validationSet>
29 </validationSets>
vasrazb08ac292021-10-21 17:32:16 +010030 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +000031 <goals>
32 <goal>validate</goal>
33 </goals>
34 <id>validate</id>
35 <phase>validate</phase>
vasrazb08ac292021-10-21 17:32:16 +010036 </execution>
37 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +000038 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazb08ac292021-10-21 17:32:16 +010039 </plugin>
vasraza36531c2020-04-29 18:39:35 +010040 </plugins>
vasrazb08ac292021-10-21 17:32:16 +010041 </build>
vasrazf0d4dd52021-11-15 12:27:54 +000042 <dependencies>
43 <dependency>
44 <artifactId>javax.servlet-api</artifactId>
45 <groupId>javax.servlet</groupId>
46 <scope>compile</scope>
47 <version>${servlet-api.version}</version>
48 </dependency>
49
50 <dependency>
51 <artifactId>httpclient</artifactId>
52 <groupId>org.apache.httpcomponents</groupId>
53 <version>${httpclient.version}</version>
54 </dependency>
55
56
57 <dependency>
58 <artifactId>commons-logging-api</artifactId>
59 <groupId>commons-logging</groupId>
60 <version>1.0.4</version>
61 </dependency>
62
63 <dependency>
64 <artifactId>commons-io</artifactId>
65 <groupId>commons-io</groupId>
66 <version>${commons.io.version}</version>
67 </dependency>
68
69 <dependency>
70 <artifactId>commons-codec</artifactId>
71 <groupId>commons-codec</groupId>
72 <scope>compile</scope>
73 <version>${commons-codec}</version>
74 </dependency>
75
76 <dependency>
77 <artifactId>jetty-proxy</artifactId>
78 <exclusions>
79 <exclusion>
80 <artifactId>jetty-http</artifactId>
81 <groupId>org.eclipse.jetty</groupId>
82 </exclusion>
83 </exclusions>
84 <groupId>org.eclipse.jetty</groupId>
85 <scope>compile</scope>
86 <version>${jetty.version}</version>
87 </dependency>
88
89 <dependency>
90 <artifactId>jetty-servlets</artifactId>
91 <exclusions>
92 <exclusion>
93 <artifactId>jetty-http</artifactId>
94 <groupId>org.eclipse.jetty</groupId>
95 </exclusion>
96 </exclusions>
97 <groupId>org.eclipse.jetty</groupId>
98 <scope>compile</scope>
99 <version>${jetty.version}</version>
100 </dependency>
101
102 <!-- Proxy servlet -->
103 <dependency>
104 <artifactId>config</artifactId>
105 <groupId>com.typesafe</groupId>
106 <scope>compile</scope>
107 <version>1.0.2</version>
108 </dependency>
109 <dependency>
110 <artifactId>openecomp-sdc-logging-api</artifactId>
111 <exclusions>
112 <exclusion>
113 <artifactId>powermock-module-junit4</artifactId>
114 <groupId>org.powermock</groupId>
115 </exclusion>
116 </exclusions>
117 <groupId>org.openecomp.sdc</groupId>
118 <version>${project.version}</version>
119 </dependency>
120 </dependencies>
121
122 <modelVersion>4.0.0</modelVersion>
123
124 <packaging>war</packaging>
125
126 <parent>
127 <artifactId>sdc-main</artifactId>
128 <groupId>org.openecomp.sdc</groupId>
129 <relativePath>../../</relativePath>
130 <version>1.10.0-SNAPSHOT</version>
131 </parent>
132
133 <profiles>
134 <profile>
135 <activation>
136 <activeByDefault>false</activeByDefault>
137 </activation>
138 <build>
139 <plugins>
140
141 <plugin>
142 <artifactId>maven-clean-plugin</artifactId>
143 <executions>
144 <execution>
145 <configuration>
146 <filesets>
147 <fileset>
148 <directory>${project.basedir}/sdc-simulator</directory>
149 <followSymlinks>false</followSymlinks>
150 <includes>
151 <include>*.war</include>
152 </includes>
153 </fileset>
154 </filesets>
155 </configuration>
156 <goals>
157 <goal>clean</goal>
158 </goals>
159 <id>clean-static-files</id>
160 <phase>clean</phase>
161 </execution>
162 </executions>
163 <version>3.0.0</version>
164 </plugin>
165
166 <plugin>
167 <artifactId>maven-resources-plugin</artifactId>
168 <executions>
169 <execution>
170 <configuration>
171 <outputDirectory>${project.basedir}/sdc-simulator
172 </outputDirectory>
173 <resources>
174 <resource>
175 <directory>${project.basedir}/target</directory>
176 <includes>
177 <include>WSSimulator*.war</include>
178 </includes>
179 </resource>
180 </resources>
181 </configuration>
182 <goals>
183 <goal>copy-resources</goal>
184 </goals>
185 <id>copy-resources-simulator</id>
186 <phase>verify</phase>
187 </execution>
188 </executions>
189 </plugin>
190
191
192 <plugin>
193 <artifactId>docker-maven-plugin</artifactId>
194 <configuration>
195 <apiVersion>${docker.api.version}</apiVersion>
196 <authConfig>
197 <pull>
198 <password>docker</password>
199 <username>docker</username>
200 </pull>
201 </authConfig>
202 <images>
203 <!-- Build simulator image -->
204 <image>
205 <alias>sdc-simulator</alias>
206 <build>
207 <cleanup>try</cleanup>
208 <dockerFileDir>${basedir}${file.separator}sdc-simulator
209 </dockerFileDir>
210 <tags>
211 <tag>latest</tag>
212 <tag>
213 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
214 </tag>
215 <tag>
216 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
217 </tag>
218 </tags>
219 </build>
220 <name>onap/sdc-simulator</name>
221 </image>
222 </images>
223 <registry>nexus3.onap.org:10001</registry>
224 <verbose>${verbose}</verbose>
225 </configuration>
226 <executions>
227 <execution>
228 <goals>
229 <goal>remove</goal>
230 </goals>
231 <id>clean-images</id>
232 <phase>pre-clean</phase>
233 </execution>
234 <execution>
235 <goals>
236 <goal>build</goal>
237 </goals>
238 <id>generate-images</id>
239 <phase>install</phase>
240 </execution>
241 <execution>
242 <goals>
243 <goal>push</goal>
244 </goals>
245 <id>push-images</id>
246 <phase>deploy</phase>
247 </execution>
248 </executions>
249 <groupId>io.fabric8</groupId>
250 </plugin>
251 </plugins>
252 </build>
253 <id>docker</id>
254 </profile>
255 </profiles>
256
257 <properties>
258 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
259 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
260 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
261 <sonar.skip>true</sonar.skip>
262 </properties>
vasrazb08ac292021-10-21 17:32:16 +0100263
264 <repositories>
265 <!-- LF repositories -->
266 <repository>
267 <id>ecomp-releases</id>
268 <name>Release Repository</name>
269 <url>${nexus.proxy}/content/repositories/releases/</url>
270 </repository>
271 <repository>
272 <id>ecomp-snapshots</id>
273 <name>Snapshots Repository</name>
274 <url>${nexus.proxy}/content/repositories/snapshots/</url>
275 </repository>
276 <repository>
277 <id>ecomp-public</id>
278 <name>Public Repository</name>
279 <url>${nexus.proxy}/content/repositories/public/</url>
280 </repository>
281 <!-- LF repositories END-->
282 </repositories>
Michael Landoed64b5e2017-06-09 03:19:04 +0300283</project>