blob: 8f772e7f9a15990c99fcf4c5807a6a9361205f59 [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>
Piotr Darosz5a410372018-10-03 14:31:25 +020029 <version>1.0.3-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>
249 </dependency>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100250 </dependencies>
ezcoxemda23b252018-07-31 15:54:56 +0100251 <profiles>
252 <profile>
253 <id>docker</id>
254 <properties>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100255 <skipDockerBuild>false</skipDockerBuild>
256 <skipDockerTag>false</skipDockerTag>
257 <skipTests>true</skipTests>
ezcoxemda23b252018-07-31 15:54:56 +0100258 </properties>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100259 <build>
260 <plugins>
261 <plugin>
262 <groupId>com.spotify</groupId>
263 <artifactId>docker-maven-plugin</artifactId>
264 <version>1.0.0</version>
265 <configuration>
266 <imageName>${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name}</imageName>
Piotr Darosz5a410372018-10-03 14:31:25 +0200267 <baseImage>java:8</baseImage>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100268 <serverId>${onap.nexus.dockerregistry.daily}</serverId>
269 <skipDockerBuild>false</skipDockerBuild>
270 <imageTags>
271 <imageTag>${project.version}</imageTag>
272 <imageTag>latest</imageTag>
273 </imageTags>
274 <forceTags>true</forceTags>
Piotr Darosz5a410372018-10-03 14:31:25 +0200275 <entryPoint>["/startup.sh", "start"]</entryPoint>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100276 <resources>
277 <resource>
Piotr Darosz5a410372018-10-03 14:31:25 +0200278 <targetPath>/opt</targetPath>
279 <directory>${project.build.directory}/opt</directory>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100280 </resource>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100281 <resource>
282 <targetPath>/</targetPath>
Piotr Darosz5a410372018-10-03 14:31:25 +0200283 <directory>${docker.location}</directory>
284 <include>startup.sh</include>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100285 </resource>
286 </resources>
Piotr Darosz5a410372018-10-03 14:31:25 +0200287 <runs>
288 <run>chmod 0700 /startup.sh</run>
289 </runs>
290 <exposes>
291 <expose>8080</expose>
292 <expose>8443</expose>
293 </exposes>
ezcoxem28ceb6a2018-08-03 15:20:17 +0100294 </configuration>
295 </plugin>
296 </plugins>
297 </build>
ezcoxemda23b252018-07-31 15:54:56 +0100298 </profile>
299 </profiles>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100300 <build>
301 <finalName>datarouter-prov</finalName>
302 <resources>
sg481naaf2df82017-08-03 17:56:38 -0400303 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100304 <directory>src/main/resources</directory>
305 <filtering>true</filtering>
306 <includes>
307 <include>**/*.properties</include>
308 </includes>
309 </resource>
sg481naaf2df82017-08-03 17:56:38 -0400310 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100311 <directory>src/main/resources</directory>
312 <filtering>true</filtering>
313 <includes>
Fiachra Corcoran19620eb2018-08-27 17:59:42 +0100314 <include>**/provserver.properties</include>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100315 </includes>
316 </resource>
sg481naaf2df82017-08-03 17:56:38 -0400317 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100318 <directory>src/main/resources</directory>
319 <filtering>true</filtering>
320 <includes>
321 <include>**/EelfMessages.properties</include>
322 </includes>
323 </resource>
sg481naaf2df82017-08-03 17:56:38 -0400324 <resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100325 <directory>src/main/resources</directory>
326 <filtering>true</filtering>
327 <includes>
328 <include>**/log4j.properties</include>
329 </includes>
330 </resource>
Fiachra Corcoranbce219c2018-08-07 22:19:13 +0100331 <resource>
332 <directory>src/test/resources</directory>
333 <filtering>true</filtering>
334 <includes>
335 <include>**/log4j.properties</include>
336 </includes>
337 </resource>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100338 </resources>
339 <plugins>
340 <plugin>
341 <artifactId>maven-assembly-plugin</artifactId>
342 <version>2.4</version>
343 <configuration>
344 <descriptorRefs>
345 <descriptorRef>jar-with-dependencies</descriptorRef>
346 </descriptorRefs>
347 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
348 <archive>
349 <manifest>
350 <addClasspath>true</addClasspath>
351 <mainClass>org.onap.dmaap.datarouter.provisioning.Main</mainClass>
352 </manifest>
353 </archive>
354 </configuration>
355 <executions>
356 <execution>
357 <id>make-assembly</id>
358 <!-- this is used for inheritance merges -->
359 <phase>package</phase>
360 <!-- bind to the packaging phase -->
361 <goals>
362 <goal>single</goal>
363 </goals>
364 </execution>
365 </executions>
366 </plugin>
367 <plugin>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-compiler-plugin</artifactId>
370 <configuration>
371 <source>1.8</source>
372 <target>1.8</target>
373 </configuration>
374 <version>3.6.0</version>
375 </plugin>
376 <plugin>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100377 <artifactId>maven-resources-plugin</artifactId>
378 <version>2.7</version>
379 <executions>
380 <execution>
381 <id>copy-docker-file</id>
382 <phase>package</phase>
383 <goals>
384 <goal>copy-resources</goal>
385 </goals>
386 <configuration>
387 <outputDirectory>${docker.location}</outputDirectory>
388 <overwrite>true</overwrite>
389 <resources>
390 <resource>
391 <directory>${basedir}/src/main/resources/docker</directory>
392 <filtering>true</filtering>
393 <includes>
394 <include>**/*</include>
395 </includes>
396 </resource>
397 </resources>
398 </configuration>
399 </execution>
400 <execution>
401 <id>copy-resources-1</id>
402 <phase>validate</phase>
403 <goals>
404 <goal>copy-resources</goal>
405 </goals>
406 <configuration>
407 <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
408 <resources>
409 <resource>
410 <directory>${project.basedir}/src/main/resources</directory>
411 <includes>
412 <include>**/*.jar</include>
413 </includes>
414 </resource>
415 </resources>
416 </configuration>
417 </execution>
418 <execution>
419 <id>copy-resources-2</id>
420 <phase>validate</phase>
421 <goals>
422 <goal>copy-resources</goal>
423 </goals>
424 <configuration>
425 <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
426 <resources>
427 <resource>
428 <directory>${basedir}/src/main/resources</directory>
429 <includes>
430 <include>misc/**</include>
431 <include>**/**</include>
432 </includes>
433 </resource>
434 </resources>
435 </configuration>
436 </execution>
437 <execution>
438 <id>copy-resources-3</id>
439 <phase>validate</phase>
440 <goals>
441 <goal>copy-resources</goal>
442 </goals>
443 <configuration>
444 <outputDirectory>${basedir}/target/opt/app/datartr</outputDirectory>
445 <resources>
446 <resource>
447 <directory>${basedir}/data</directory>
448 <includes>
449 <include>misc/**</include>
450 <include>**/**</include>
451 </includes>
452 </resource>
453 </resources>
454 </configuration>
455 </execution>
456 <execution>
457 <id>copy-resources-4</id>
458 <phase>validate</phase>
459 <goals>
460 <goal>copy-resources</goal>
461 </goals>
462 <configuration>
Ronan Keoghce73ff52018-08-23 11:04:45 +0100463 <outputDirectory>${basedir}/target/opt/app/datartr/aaf_certs</outputDirectory>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100464 <resources>
465 <resource>
Ronan Keoghce73ff52018-08-23 11:04:45 +0100466 <directory>${basedir}/aaf_certs</directory>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100467 <includes>
468 <include>misc/**</include>
469 <include>**/**</include>
470 </includes>
471 </resource>
472 </resources>
473 </configuration>
474 </execution>
475 </executions>
476 </plugin>
477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-dependency-plugin</artifactId>
480 <version>2.10</version>
481 <executions>
482 <execution>
483 <id>copy-dependencies</id>
484 <phase>package</phase>
485 <goals>
486 <goal>copy-dependencies</goal>
487 </goals>
488 <configuration>
489 <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
490 <overWriteReleases>false</overWriteReleases>
491 <overWriteSnapshots>false</overWriteSnapshots>
492 <overWriteIfNewer>true</overWriteIfNewer>
493 </configuration>
494 </execution>
495 </executions>
496 </plugin>
497 <plugin>
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-javadoc-plugin</artifactId>
500 <configuration>
501 <failOnError>false</failOnError>
502 </configuration>
503 <executions>
504 <execution>
505 <id>attach-javadocs</id>
506 <goals>
507 <goal>jar</goal>
508 </goals>
509 </execution>
510 </executions>
511 </plugin>
512 <plugin>
513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-source-plugin</artifactId>
515 <version>2.2.1</version>
516 <executions>
517 <execution>
518 <id>attach-sources</id>
519 <goals>
520 <goal>jar-no-fork</goal>
521 </goals>
522 </execution>
523 </executions>
524 </plugin>
525 <plugin>
526 <groupId>org.codehaus.mojo</groupId>
527 <artifactId>cobertura-maven-plugin</artifactId>
528 <version>2.7</version>
529 <configuration>
530 <formats>
531 <format>html</format>
532 <format>xml</format>
533 </formats>
ezcoxemda23b252018-07-31 15:54:56 +0100534 <check/>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100535 </configuration>
536 </plugin>
537 <plugin>
538 <groupId>org.sonatype.plugins</groupId>
539 <artifactId>nexus-staging-maven-plugin</artifactId>
540 <version>1.6.7</version>
541 <extensions>true</extensions>
542 <configuration>
eronkeodcb5aef2018-08-07 16:58:43 +0100543 <nexusUrl>${onap.nexus.url}</nexusUrl>
Fiachra Corcoranfa1da982018-07-26 07:23:34 +0100544 <stagingProfileId>176c31dfe190a</stagingProfileId>
545 <serverId>ecomp-staging</serverId>
546 </configuration>
547 </plugin>
548 <plugin>
549 <groupId>org.jacoco</groupId>
550 <artifactId>jacoco-maven-plugin</artifactId>
551 <version>${jacoco.version}</version>
552 <configuration>
553 <excludes>
554 <exclude>**/gen/**</exclude>
555 <exclude>**/generated-sources/**</exclude>
556 <exclude>**/yang-gen/**</exclude>
557 <exclude>**/pax/**</exclude>
558 </excludes>
559 </configuration>
560 <executions>
561 <execution>
562 <id>pre-unit-test</id>
563 <goals>
564 <goal>prepare-agent</goal>
565 </goals>
566 <configuration>
567 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
568 <propertyName>surefireArgLine</propertyName>
569 </configuration>
570 </execution>
571 <execution>
572 <id>post-unit-test</id>
573 <phase>test</phase>
574 <goals>
575 <goal>report</goal>
576 </goals>
577 <configuration>
578 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
579 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
580 </configuration>
581 </execution>
582 <execution>
583 <id>pre-integration-test</id>
584 <phase>pre-integration-test</phase>
585 <goals>
586 <goal>prepare-agent</goal>
587 </goals>
588 <configuration>
589 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
590 <propertyName>failsafeArgLine</propertyName>
591 </configuration>
592 </execution>
593 <execution>
594 <id>post-integration-test</id>
595 <phase>post-integration-test</phase>
596 <goals>
597 <goal>report</goal>
598 </goals>
599 <configuration>
600 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
601 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
602 </configuration>
603 </execution>
604 </executions>
605 </plugin>
606 </plugins>
607 </build>
ezcoxemda23b252018-07-31 15:54:56 +0100608</project>