blob: a470bcf5e079bfb94e780302c09ad5749a23ec2d [file] [log] [blame]
Ofir Sonsino1cfb0872018-01-31 17:19:00 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.openecomp.vid</groupId>
7 <artifactId>vid-ext-services-simulator</artifactId>
8 <version>1.0.0</version>
9 <name>VID Simulator</name>
10 <packaging>war</packaging>
11 <description>VID Simulator for mocking external peers</description>
12
13 <properties>
14 <encoding>UTF-8</encoding>
15 <epsdk.version>1.3.0</epsdk.version>
16 <springframework.version>4.2.0.RELEASE</springframework.version>
17 <hibernate.version>4.3.11.Final</hibernate.version>
18 <!-- Skip assembling the zip by default -->
19 <skipassembly>true</skipassembly>
20 <!-- Tests usually require some setup that maven cannot do, so skip. -->
21 <skiptests>true</skiptests>
22 <!-- this should be commented for local debugging -->
23 <!-- <deployenv>local</deployenv> -->
24 <nexusproxy>https://nexus.onap.org</nexusproxy>
25 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
26 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
27 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
28 </properties>
29
30
31 <repositories>
32 <repository>
33 <!-- Snapshots repository has ECOMP snapshot artifacts -->
34 <id>att-mavencentral-ecomp-snapshots-repo</id>
35 <name>ATT Maven Central - Snapshots</name>
36 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-snapshots/</url>
37 </repository>
38 <repository>
39 <id>onap-staging</id>
40 <name>ONAP - Staging Repository</name>
41 <url>${nexusproxy}/${stagingNexusPath}</url>
42 </repository>
43 <repository>
44 <!-- Releases repository has ECOMP release artifacts -->
45 <id>att-mavencentral-ecomp-releases-repo</id>
46 <name>ATT Maven Central - Releases</name>
47 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-releases/</url>
48 </repository>
49 <repository>
50 <!-- Third party repository has Oracle and other jars -->
51 <id>att-mavencentral-3rd-repo</id>
52 <name>ATT Maven Central - Third Party</name>
53 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-3rd-party/</url>
54 </repository>
55 <repository>
56 <!-- Service Assurance group has UEB/Cambria jars -->
57 <id>att-mavencentral-sa-group</id>
58 <name>ATT Maven Central - Service Assurance Group</name>
59 <url>http://mavencentral.it.att.com:8084/nexus/content/groups/2020SAPC/</url>
60 </repository>
61 <repository>
62 <!-- SWM repository has EELF jars -->
63 <id>att-swm-repo</id>
64 <name>ATT SWM Repository</name>
65 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/swm-releases</url>
66 </repository>
67
68 <repository>
69 <!-- Public repository has ECOMP jars -->
70 <id>att-mavencentral-public</id>
71 <name>ATT Maven Central - Public Group</name>
72 <url>http://mavencentral.it.att.com:8084/nexus/content/groups/att-public-group</url>
73 </repository>
74 <repository>
75 <id>ecomp-releases</id>
76 <name>OpenECOMP - Release Repository</name>
77 <url>${nexusproxy}/${releaseNexusPath}</url>
78 </repository>
79 <repository>
80 <id>ecomp-snapshots</id>
81 <name>OpenECOMP - Snapshot Repository</name>
82 <url>${nexusproxy}/${snapshotNexusPath}</url>
83 </repository>
84 <!--repository>
85 <id>ecomp-public</id>
86 <name>ecomp onap public Repository</name>
87 <url>https://nexus.onap.org/content/groups/public</url>
88 </repository-->
89 </repositories>
90
91 <!--distributionManagement>
92 <repository>
93 <id>vid-releases</id>
94 <name>VID Release Repository</name>
95 <url>https://162.242.254.138:8443/repository/maven-releases</url>
96 </repository>
97
98 <snapshotRepository>
99 <id>vid-snapshots</id>
100 <name>VID Snapshot Repository</name>
101 <url>https://162.242.254.138:8443/repository/maven-snapshots</url>
102 </snapshotRepository>
103 </distributionManagement-->
104
105
106 <profiles>
107
108 <profile>
109 <id>onap</id>
110
111 <properties>
112 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
113 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
114 <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>
115 <nexusproxy>https://nexus.onap.org</nexusproxy>
116 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
117 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
118 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
119 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
120 </properties>
121
122 <repositories>
123 <repository>
124 <id>ecomp-releases</id>
125 <name>VID Release Repository</name>
126 <url>${nexusproxy}${releaseNexusPath}</url>
127 </repository>
128 <repository>
129 <id>ecomp-snapshots</id>
130 <name>VID Snapshot Repository</name>
131 <url>${nexusproxy}${snapshotNexusPath}</url>
132 </repository>
133 <repository>
134 <id>ecomp-staging</id>
135 <name>VID Staging Repository</name>
136 <url>${nexusproxy}${stagingNexusPath}</url>
137 </repository>
138 <repository>
139 <!-- Snapshots repository has ECOMP snapshot artifacts -->
140 <id>oss-snapshots</id>
141 <name>oss Central - Snapshots</name>
142 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
143 </repository>
144 </repositories>
145 </profile>
146
147 <profile>
148 <id>att-internal</id>
149
150
151 </profile>
152
153 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
154 <profile>
155 <id>doclint-java8-disable</id>
156 <activation>
157 <jdk>[1.8,)</jdk>
158 </activation>
159 <build>
160 <plugins>
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-javadoc-plugin</artifactId>
164 <version>2.10.4</version>
165 <configuration>
166 <additionalparam>-Xdoclint:none</additionalparam>
167 </configuration>
168 </plugin>
169 </plugins>
170 </build>
171 </profile>
172
173 <profile>
174 <id>att-internal-jenkins</id>
175
176 <build>
177 <plugins>
178 <plugin>
179 <groupId>org.codehaus.mojo</groupId>
180 <artifactId>cobertura-maven-plugin</artifactId>
181 <version>2.7</version>
182 <configuration>
183 <formats>
184 <format>xml</format>
185 </formats>
186 <check>false</check>
187
188 </configuration>
189 <executions>
190 <execution>
191 <phase>package</phase>
192 <goals>
193 <goal>cobertura</goal>
194 </goals>
195 </execution>
196 </executions>
197 </plugin>
198
199
200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-deploy-plugin</artifactId>
203 <version>2.7</version>
204 <configuration>
205 <skip>true</skip>
206 </configuration>
207 </plugin>
208
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-war-plugin</artifactId>
212 <version>3.0.0</version>
213 <configuration>
214 <!-- Build a jar with all the Java classes -->
215 <attachClasses>true</attachClasses>
216 <!-- Do not put any jars in the war -->
217 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
218 </configuration>
219 </plugin>
220
221 </plugins>
222 </build>
223 </profile>
224
225 <profile>
226 <id>att-internal-jenkins-noSwm</id>
227
228 <build>
229 <plugins>
230 <plugin>
231 <groupId>org.codehaus.mojo</groupId>
232 <artifactId>cobertura-maven-plugin</artifactId>
233 <version>2.7</version>
234 <configuration>
235 <formats>
236 <format>xml</format>
237 </formats>
238 <check>false</check>
239
240 </configuration>
241 <executions>
242 <execution>
243 <phase>package</phase>
244 <goals>
245 <goal>cobertura</goal>
246 </goals>
247 </execution>
248 </executions>
249 </plugin>
250
251
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-deploy-plugin</artifactId>
255 <version>2.7</version>
256 <configuration>
257 <skip>true</skip>
258 </configuration>
259 </plugin>
260 </plugins>
261 </build>
262 </profile>
263
264 <profile>
265 <id>att-internal-general-build</id>
266
267 <build>
268 <plugins>
269 <plugin>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>cobertura-maven-plugin</artifactId>
272 <version>2.7</version>
273 <configuration>
274 <formats>
275 <format>xml</format>
276 </formats>
277 <check>false</check>
278
279 </configuration>
280
281 <executions>
282 <execution>
283 <phase>package</phase>
284 <goals>
285 <goal>cobertura</goal>
286 </goals>
287 </execution>
288 </executions>
289 </plugin>
290
291
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-deploy-plugin</artifactId>
295 <version>2.7</version>
296 <configuration>
297 <skip>true</skip>
298 </configuration>
299 </plugin>
300 </plugins>
301 </build>
302 </profile>
303
304 <profile>
305 <id>att-internal-install-only</id>
306
307 <build>
308 <plugins>
309 <plugin>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>cobertura-maven-plugin</artifactId>
312 <version>2.7</version>
313 <configuration>
314 <formats>
315 <format>xml</format>
316 </formats>
317 <check>false</check>
318
319 </configuration>
320 <executions>
321 <execution>
322 <phase>package</phase>
323 <goals>
324 <goal>cobertura</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-deploy-plugin</artifactId>
333 <version>2.7</version>
334 <configuration>
335 <skip>true</skip>
336 </configuration>
337 </plugin>
338 </plugins>
339 </build>
340 </profile>
341
342 <profile>
343 <id>att-internal-no-swm</id>
344
345 <build>
346 <plugins>
347
348 <plugin>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-deploy-plugin</artifactId>
351 <version>2.7</version>
352 <configuration>
353 <skip>true</skip>
354 </configuration>
355 </plugin>
356 </plugins>
357 </build>
358 </profile>
359 </profiles>
360
361 <dependencies>
362 <!-- mockserver -->
363 <dependency>
364 <groupId>org.mock-server</groupId>
365 <artifactId>mockserver-netty</artifactId>
366 <version>3.11</version>
367 </dependency>
368 <dependency>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-web</artifactId>
371 <version>4.3.4.RELEASE</version>
372 </dependency>
373 <dependency>
374 <groupId>org.springframework</groupId>
375 <artifactId>spring-webmvc</artifactId>
376 <version>4.3.4.RELEASE</version>
377 </dependency>
378 <dependency>
379 <groupId>com.fasterxml.jackson.core</groupId>
380 <artifactId>jackson-annotations</artifactId>
381 <version>2.8.7</version>
382 </dependency>
383 </dependencies>
384
385 <build>
386 <finalName>vidSimulator</finalName>
387 <plugins>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-compiler-plugin</artifactId>
391 <version>3.1</version>
392 <configuration>
393 <source>1.8</source>
394 <target>1.8</target>
395 </configuration>
396 </plugin>
397 </plugins>
398 </build>
399
400 <!-- <build>
401 <finalName>vidSimulator</finalName>
402 <plugins>
403 <plugin>
404 <groupId>org.springframework.boot</groupId>
405 <artifactId>spring-boot-maven-plugin</artifactId>
406 <version>1.5.6.RELEASE</version>
407 </plugin>
408 </plugins>
409 </build>
410-->
411
412</project>