blob: cfa4144119c5b1ddefd05b1a76a4fa9126636948 [file] [log] [blame]
sg481naaf2df82017-08-03 17:56:38 -04001<!--
2 ============LICENSE_START==================================================
3 * org.onap.dmaap
4 * ===========================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
Piotr Darosz5a410372018-10-03 14:31:25 +02006 * Modifications Copyright (C) 2018 Nokia. All rights reserved.
sg481naaf2df82017-08-03 17:56:38 -04007 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
ezcoxem28ceb6a2018-08-03 15:20:17 +010011 *
sg481naaf2df82017-08-03 17:56:38 -040012 * http://www.apache.org/licenses/LICENSE-2.0
ezcoxem28ceb6a2018-08-03 15:20:17 +010013 *
sg481naaf2df82017-08-03 17:56:38 -040014 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
20 *
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010024<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <parent>
27 <groupId>org.onap.dmaap.datarouter</groupId>
28 <artifactId>parent</artifactId>
eronkeo69084992019-02-26 09:21:47 +000029 <version>2.0.1-SNAPSHOT</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010030 <relativePath>../pom.xml</relativePath>
31 </parent>
32 <artifactId>datarouter-prov</artifactId>
33 <packaging>jar</packaging>
34 <name>datarouter-prov</name>
35 <url>https://github.com/att/DMAAP_DATAROUTER</url>
36 <properties>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010037 <sonar.language>java</sonar.language>
38 <sonar.skip>false</sonar.skip>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010039 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010040 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
ezcoxemda23b252018-07-31 15:54:56 +010041
42 <docker.location>${basedir}/target/${artifactId}</docker.location>
43 <datarouter.prov.image.name>onap/dmaap/datarouter-prov</datarouter.prov.image.name>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010044 </properties>
45 <dependencies>
46 <dependency>
Paul Dennehy1cac6d22018-09-20 10:15:08 +010047 <groupId>xml-apis</groupId>
48 <artifactId>xml-apis</artifactId>
49 <version>${xml-apis.version}</version>
50 </dependency>
51 <dependency>
Ronan Keoghf36b8de2018-10-10 17:20:59 +010052 <groupId>org.dom4j</groupId>
edepaul82105b52018-09-10 09:39:10 +010053 <artifactId>dom4j</artifactId>
54 <version>${dom4j.version}</version>
55 </dependency>
56 <dependency>
edepaul12c71a52018-09-07 16:27:01 +010057 <groupId>commons-codec</groupId>
58 <artifactId>commons-codec</artifactId>
59 <version>${commons-codec.version}</version>
60 </dependency>
61 <dependency>
62 <groupId>com.google.guava</groupId>
63 <artifactId>guava</artifactId>
64 <version>${google.guava.version}</version>
65 </dependency>
66 <dependency>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010067 <groupId>ch.qos.logback</groupId>
68 <artifactId>logback-classic</artifactId>
econward6e999b2018-09-05 16:10:01 +000069 <version>${qos.logback.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010070 <scope>compile</scope>
71 </dependency>
72 <dependency>
73 <groupId>ch.qos.logback</groupId>
74 <artifactId>logback-core</artifactId>
econward6e999b2018-09-05 16:10:01 +000075 <version>${qos.logback.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010076 <scope>compile</scope>
77 </dependency>
78 <dependency>
Sunil Unnava10279092018-02-27 02:32:46 -050079 <groupId>com.thoughtworks.xstream</groupId>
80 <artifactId>xstream</artifactId>
Ronan Keogh09a9e562018-08-17 11:20:54 +010081 <version>${thoughtworks.version}</version>
Sunil Unnava10279092018-02-27 02:32:46 -050082 </dependency>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010083 <dependency>
84 <groupId>org.json</groupId>
85 <artifactId>json</artifactId>
86 <version>20160810</version>
87 </dependency>
88 <dependency>
89 <groupId>javax.mail</groupId>
90 <artifactId>javax.mail-api</artifactId>
edepaul555b7fc2018-09-11 08:07:16 +010091 <version>${javax.mail-api.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010092 </dependency>
93 <dependency>
94 <groupId>com.att.eelf</groupId>
95 <artifactId>eelf-core</artifactId>
96 <version>0.0.1</version>
97 </dependency>
98 <dependency>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +010099 <groupId>org.eclipse.jetty</groupId>
100 <artifactId>jetty-server</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100101 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100102 </dependency>
103 <dependency>
104 <groupId>org.eclipse.jetty</groupId>
105 <artifactId>jetty-continuation</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100106 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100107 </dependency>
108 <dependency>
109 <groupId>org.eclipse.jetty</groupId>
110 <artifactId>jetty-util</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100111 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100112 </dependency>
113 <dependency>
114 <groupId>org.eclipse.jetty</groupId>
115 <artifactId>jetty-deploy</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100116 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100117 </dependency>
118 <dependency>
119 <groupId>org.eclipse.jetty</groupId>
120 <artifactId>jetty-servlet</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100121 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100122 </dependency>
123 <dependency>
124 <groupId>org.eclipse.jetty</groupId>
125 <artifactId>jetty-servlets</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100126 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100127 </dependency>
128 <dependency>
129 <groupId>org.eclipse.jetty</groupId>
130 <artifactId>jetty-http</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100131 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100132 </dependency>
133 <dependency>
134 <groupId>org.eclipse.jetty</groupId>
135 <artifactId>jetty-security</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100136 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100137 </dependency>
138 <dependency>
139 <groupId>org.eclipse.jetty</groupId>
140 <artifactId>jetty-websocket</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100141 <version>${jetty.websocket.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100142 </dependency>
143 <dependency>
144 <groupId>org.eclipse.jetty</groupId>
145 <artifactId>jetty-io</artifactId>
eronkeo85129f82018-08-14 17:58:28 +0100146 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100147 </dependency>
148 <dependency>
149 <groupId>org.apache.commons</groupId>
150 <artifactId>commons-io</artifactId>
151 <version>1.3.2</version>
152 </dependency>
153 <dependency>
154 <groupId>commons-lang</groupId>
155 <artifactId>commons-lang</artifactId>
156 <version>2.4</version>
157 </dependency>
158 <dependency>
159 <groupId>commons-io</groupId>
160 <artifactId>commons-io</artifactId>
161 <version>2.1</version>
162 <scope>compile</scope>
163 </dependency>
164 <dependency>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpcore</artifactId>
167 <version>4.4</version>
168 </dependency>
169 <dependency>
170 <groupId>org.mozilla</groupId>
171 <artifactId>rhino</artifactId>
172 <version>1.7R3</version>
173 </dependency>
174 <dependency>
175 <groupId>org.apache.james</groupId>
176 <artifactId>apache-mime4j-core</artifactId>
177 <version>0.7</version>
178 </dependency>
179 <dependency>
180 <groupId>org.apache.httpcomponents</groupId>
181 <artifactId>httpclient</artifactId>
182 <version>4.5.3</version>
183 </dependency>
184 <dependency>
185 <groupId>org.sonatype.http-testing-harness</groupId>
186 <artifactId>junit-runner</artifactId>
187 <version>0.11</version>
188 <exclusions>
189 <exclusion>
190 <groupId>org.databene</groupId>
191 <artifactId>contiperf</artifactId>
192 </exclusion>
193 </exclusions>
194 </dependency>
195 <dependency>
196 <groupId>junit</groupId>
197 <artifactId>junit</artifactId>
198 <version>4.10</version>
199 <scope>test</scope>
200 </dependency>
201 <dependency>
202 <groupId>org.mockito</groupId>
203 <artifactId>mockito-core</artifactId>
204 <version>1.10.19</version>
205 <scope>test</scope>
206 </dependency>
207 <dependency>
208 <groupId>org.powermock</groupId>
209 <artifactId>powermock-module-junit4</artifactId>
210 <version>1.6.4</version>
211 <scope>test</scope>
212 </dependency>
213 <dependency>
214 <groupId>org.powermock</groupId>
215 <artifactId>powermock-api-mockito</artifactId>
216 <version>1.6.4</version>
217 <scope>test</scope>
218 </dependency>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100219 <dependency>
esobmardadcc322018-08-10 16:59:25 +0100220 <groupId>org.apache.commons</groupId>
221 <artifactId>commons-lang3</artifactId>
222 <version>3.0</version>
223 </dependency>
224 <dependency>
Fiachra Corcoranbce219c2018-08-07 22:19:13 +0100225 <groupId>org.mariadb.jdbc</groupId>
226 <artifactId>mariadb-java-client</artifactId>
227 <version>2.2.5</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100228 </dependency>
229 <dependency>
230 <groupId>org.eclipse.jetty.cdi</groupId>
231 <artifactId>cdi-websocket</artifactId>
Ronan Keogh09a9e562018-08-17 11:20:54 +0100232 <version>${jetty.version}</version>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100233 </dependency>
234 <dependency>
235 <groupId>log4j</groupId>
236 <artifactId>log4j</artifactId>
237 <version>1.2.17</version>
238 <scope>compile</scope>
239 </dependency>
econwar8ef486f2018-08-31 11:36:11 +0000240 <dependency>
241 <groupId>com.h2database</groupId>
242 <artifactId>h2</artifactId>
243 <version>1.4.197</version>
244 </dependency>
245 <dependency>
246 <groupId>org.hibernate</groupId>
247 <artifactId>hibernate-entitymanager</artifactId>
248 <version>5.2.9.Final</version>
Ronan Keoghaa56d3a2018-10-11 13:37:24 +0100249 <exclusions>
250 <exclusion>
251 <groupId>dom4j</groupId>
252 <artifactId>dom4j</artifactId>
253 </exclusion>
254 </exclusions>
econwar8ef486f2018-08-31 11:36:11 +0000255 </dependency>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100256 </dependencies>
ezcoxemda23b252018-07-31 15:54:56 +0100257 <profiles>
258 <profile>
259 <id>docker</id>
260 <properties>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100261 <skipDockerBuild>false</skipDockerBuild>
262 <skipDockerTag>false</skipDockerTag>
263 <skipTests>true</skipTests>
ezcoxemda23b252018-07-31 15:54:56 +0100264 </properties>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100265 <build>
266 <plugins>
267 <plugin>
268 <groupId>com.spotify</groupId>
269 <artifactId>docker-maven-plugin</artifactId>
270 <version>1.0.0</version>
271 <configuration>
272 <imageName>${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name}</imageName>
Piotr Darosz5a410372018-10-03 14:31:25 +0200273 <baseImage>java:8</baseImage>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100274 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
275 <skipDockerBuild>false</skipDockerBuild>
276 <imageTags>
277 <imageTag>${project.version}</imageTag>
278 <imageTag>latest</imageTag>
279 </imageTags>
280 <forceTags>true</forceTags>
Piotr Darosz5a410372018-10-03 14:31:25 +0200281 <entryPoint>["/startup.sh", "start"]</entryPoint>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100282 <resources>
283 <resource>
Piotr Darosz5a410372018-10-03 14:31:25 +0200284 <targetPath>/opt</targetPath>
285 <directory>${project.build.directory}/opt</directory>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100286 </resource>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100287 <resource>
288 <targetPath>/</targetPath>
Piotr Darosz5a410372018-10-03 14:31:25 +0200289 <directory>${docker.location}</directory>
290 <include>startup.sh</include>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100291 </resource>
292 </resources>
Piotr Darosz5a410372018-10-03 14:31:25 +0200293 <runs>
294 <run>chmod 0700 /startup.sh</run>
295 </runs>
296 <exposes>
297 <expose>8080</expose>
298 <expose>8443</expose>
299 </exposes>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100300 </configuration>
301 </plugin>
302 </plugins>
303 </build>
ezcoxemda23b252018-07-31 15:54:56 +0100304 </profile>
305 </profiles>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100306 <build>
307 <finalName>datarouter-prov</finalName>
308 <resources>
sg481naaf2df82017-08-03 17:56:38 -0400309 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100310 <directory>src/main/resources</directory>
311 <filtering>true</filtering>
312 <includes>
313 <include>**/*.properties</include>
314 </includes>
315 </resource>
sg481naaf2df82017-08-03 17:56:38 -0400316 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100317 <directory>src/main/resources</directory>
318 <filtering>true</filtering>
319 <includes>
Fiachra Corcoran19620eb2018-08-27 17:59:42 +0100320 <include>**/provserver.properties</include>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100321 </includes>
322 </resource>
sg481naaf2df82017-08-03 17:56:38 -0400323 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100324 <directory>src/main/resources</directory>
325 <filtering>true</filtering>
326 <includes>
327 <include>**/EelfMessages.properties</include>
328 </includes>
329 </resource>
sg481naaf2df82017-08-03 17:56:38 -0400330 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100331 <directory>src/main/resources</directory>
332 <filtering>true</filtering>
333 <includes>
334 <include>**/log4j.properties</include>
335 </includes>
336 </resource>
Fiachra Corcoranbce219c2018-08-07 22:19:13 +0100337 <resource>
338 <directory>src/test/resources</directory>
339 <filtering>true</filtering>
340 <includes>
341 <include>**/log4j.properties</include>
342 </includes>
343 </resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100344 </resources>
345 <plugins>
346 <plugin>
347 <artifactId>maven-assembly-plugin</artifactId>
348 <version>2.4</version>
349 <configuration>
350 <descriptorRefs>
351 <descriptorRef>jar-with-dependencies</descriptorRef>
352 </descriptorRefs>
353 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
354 <archive>
355 <manifest>
356 <addClasspath>true</addClasspath>
357 <mainClass>org.onap.dmaap.datarouter.provisioning.Main</mainClass>
358 </manifest>
359 </archive>
360 </configuration>
361 <executions>
362 <execution>
363 <id>make-assembly</id>
364 <!-- this is used for inheritance merges -->
365 <phase>package</phase>
366 <!-- bind to the packaging phase -->
367 <goals>
368 <goal>single</goal>
369 </goals>
370 </execution>
371 </executions>
372 </plugin>
373 <plugin>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-compiler-plugin</artifactId>
376 <configuration>
377 <source>1.8</source>
378 <target>1.8</target>
379 </configuration>
380 <version>3.6.0</version>
381 </plugin>
382 <plugin>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100383 <artifactId>maven-resources-plugin</artifactId>
384 <version>2.7</version>
385 <executions>
386 <execution>
387 <id>copy-docker-file</id>
388 <phase>package</phase>
389 <goals>
390 <goal>copy-resources</goal>
391 </goals>
392 <configuration>
393 <outputDirectory>${docker.location}</outputDirectory>
394 <overwrite>true</overwrite>
395 <resources>
396 <resource>
397 <directory>${basedir}/src/main/resources/docker</directory>
398 <filtering>true</filtering>
399 <includes>
400 <include>**/*</include>
401 </includes>
402 </resource>
403 </resources>
404 </configuration>
405 </execution>
406 <execution>
407 <id>copy-resources-1</id>
408 <phase>validate</phase>
409 <goals>
410 <goal>copy-resources</goal>
411 </goals>
412 <configuration>
413 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
414 <resources>
415 <resource>
416 <directory>${project.basedir}/src/main/resources</directory>
417 <includes>
418 <include>**/*.jar</include>
419 </includes>
420 </resource>
421 </resources>
422 </configuration>
423 </execution>
424 <execution>
425 <id>copy-resources-2</id>
426 <phase>validate</phase>
427 <goals>
428 <goal>copy-resources</goal>
429 </goals>
430 <configuration>
431 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
432 <resources>
433 <resource>
434 <directory>${basedir}/src/main/resources</directory>
435 <includes>
436 <include>misc/**</include>
437 <include>**/**</include>
438 </includes>
439 </resource>
440 </resources>
441 </configuration>
442 </execution>
443 <execution>
444 <id>copy-resources-3</id>
445 <phase>validate</phase>
446 <goals>
447 <goal>copy-resources</goal>
448 </goals>
449 <configuration>
450 <outputDirectory>${basedir}/target/opt/app/datartr</outputDirectory>
451 <resources>
452 <resource>
453 <directory>${basedir}/data</directory>
454 <includes>
455 <include>misc/**</include>
456 <include>**/**</include>
457 </includes>
458 </resource>
459 </resources>
460 </configuration>
461 </execution>
462 <execution>
463 <id>copy-resources-4</id>
464 <phase>validate</phase>
465 <goals>
466 <goal>copy-resources</goal>
467 </goals>
468 <configuration>
Ronan Keoghce73ff52018-08-23 11:04:45 +0100469 <outputDirectory>${basedir}/target/opt/app/datartr/aaf_certs</outputDirectory>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100470 <resources>
471 <resource>
Ronan Keoghce73ff52018-08-23 11:04:45 +0100472 <directory>${basedir}/aaf_certs</directory>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100473 <includes>
474 <include>misc/**</include>
475 <include>**/**</include>
476 </includes>
477 </resource>
478 </resources>
479 </configuration>
480 </execution>
481 </executions>
482 </plugin>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-dependency-plugin</artifactId>
486 <version>2.10</version>
487 <executions>
488 <execution>
489 <id>copy-dependencies</id>
490 <phase>package</phase>
491 <goals>
492 <goal>copy-dependencies</goal>
493 </goals>
494 <configuration>
495 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
496 <overWriteReleases>false</overWriteReleases>
497 <overWriteSnapshots>false</overWriteSnapshots>
498 <overWriteIfNewer>true</overWriteIfNewer>
499 </configuration>
500 </execution>
501 </executions>
502 </plugin>
503 <plugin>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-javadoc-plugin</artifactId>
506 <configuration>
507 <failOnError>false</failOnError>
508 </configuration>
509 <executions>
510 <execution>
511 <id>attach-javadocs</id>
512 <goals>
513 <goal>jar</goal>
514 </goals>
515 </execution>
516 </executions>
517 </plugin>
518 <plugin>
519 <groupId>org.apache.maven.plugins</groupId>
520 <artifactId>maven-source-plugin</artifactId>
521 <version>2.2.1</version>
522 <executions>
523 <execution>
524 <id>attach-sources</id>
525 <goals>
526 <goal>jar-no-fork</goal>
527 </goals>
528 </execution>
529 </executions>
530 </plugin>
531 <plugin>
532 <groupId>org.codehaus.mojo</groupId>
533 <artifactId>cobertura-maven-plugin</artifactId>
534 <version>2.7</version>
535 <configuration>
536 <formats>
537 <format>html</format>
538 <format>xml</format>
539 </formats>
ezcoxemda23b252018-07-31 15:54:56 +0100540 <check/>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100541 </configuration>
542 </plugin>
543 <plugin>
544 <groupId>org.sonatype.plugins</groupId>
545 <artifactId>nexus-staging-maven-plugin</artifactId>
546 <version>1.6.7</version>
547 <extensions>true</extensions>
548 <configuration>
eronkeodcb5aef2018-08-07 16:58:43 +0100549 <nexusUrl>${onap.nexus.url}</nexusUrl>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100550 <stagingProfileId>176c31dfe190a</stagingProfileId>
551 <serverId>ecomp-staging</serverId>
552 </configuration>
553 </plugin>
554 <plugin>
555 <groupId>org.jacoco</groupId>
556 <artifactId>jacoco-maven-plugin</artifactId>
557 <version>${jacoco.version}</version>
558 <configuration>
559 <excludes>
560 <exclude>**/gen/**</exclude>
561 <exclude>**/generated-sources/**</exclude>
562 <exclude>**/yang-gen/**</exclude>
563 <exclude>**/pax/**</exclude>
564 </excludes>
565 </configuration>
566 <executions>
567 <execution>
568 <id>pre-unit-test</id>
569 <goals>
570 <goal>prepare-agent</goal>
571 </goals>
572 <configuration>
573 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
574 <propertyName>surefireArgLine</propertyName>
575 </configuration>
576 </execution>
577 <execution>
578 <id>post-unit-test</id>
579 <phase>test</phase>
580 <goals>
581 <goal>report</goal>
582 </goals>
583 <configuration>
584 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
585 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
586 </configuration>
587 </execution>
588 <execution>
589 <id>pre-integration-test</id>
590 <phase>pre-integration-test</phase>
591 <goals>
592 <goal>prepare-agent</goal>
593 </goals>
594 <configuration>
595 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
596 <propertyName>failsafeArgLine</propertyName>
597 </configuration>
598 </execution>
599 <execution>
600 <id>post-integration-test</id>
601 <phase>post-integration-test</phase>
602 <goals>
603 <goal>report</goal>
604 </goals>
605 <configuration>
606 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
607 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
608 </configuration>
609 </execution>
610 </executions>
611 </plugin>
612 </plugins>
613 </build>
ezcoxemda23b252018-07-31 15:54:56 +0100614</project>