1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END============================================
21 ===================================================================
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.clamp</groupId>
28 <artifactId>clds</artifactId>
29 <version>3.0.0-SNAPSHOT</version>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>1.1.0</version>
39 This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part.
41 By Default "mvn clean install" command will execute also the unit tests
42 and the integration tests. The integration tests require a docker engine running.
44 If you want to skip the integration test you can by doing:
45 "mvn clean install -DskipITs=true"
47 For Spring it's possible to specify the application.properties location
48 "mvn clean install -Dspring.config.location=classpath:application-test.properties"
50 The application.properties contains the location of the CLAMP parameters files:
51 - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
52 - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties
57 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
58 <clamp.project.version>${project.version}</clamp.project.version>
59 <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp>
60 <maven.compiler.source>1.8</maven.compiler.source>
61 <maven.compiler.target>1.8</maven.compiler.target>
62 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
63 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
65 <docker.mariadb.port.host>3306</docker.mariadb.port.host>
66 <docker.http-cache.port.host>8085</docker.http-cache.port.host>
67 <project.scm.id>git-server</project.scm.id>
68 <java.version>1.8</java.version>
70 <swagger.jaxrs2.version>2.0.0-rc4</swagger.jaxrs2.version>
71 <guava.version>20.0</guava.version>
72 <eelf.core.version>1.0.0</eelf.core.version>
73 <camel.version>2.20.1</camel.version>
74 <springboot.version>1.5.14.RELEASE</springboot.version>
76 <sonar.language>java</sonar.language>
77 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
78 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
79 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
80 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
81 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
82 <sonar.projectVersion>${project.version}</sonar.projectVersion>
84 <docker.push.registry>localhost:5000</docker.push.registry>
85 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
86 <docker.skip.build>true</docker.skip.build>
87 <docker.skip.push>true</docker.skip.push>
88 <docker.skip.tag>true</docker.skip.tag>
89 <skip.staging.artifacts>false</skip.staging.artifacts>
90 <python.http.proxy.param></python.http.proxy.param>
91 <tomcat.version>8.5.28</tomcat.version>
99 <name>maven.test.skip</name>
104 <docker.skip.run>true</docker.skip.run>
108 <id>without-IT-only</id>
116 <docker.skip.run>true</docker.skip.run>
120 <id>without-IT-only2</id>
123 <name>skipTests</name>
128 <docker.skip.run>true</docker.skip.run>
134 <skip.staging.artifacts>true</skip.staging.artifacts>
135 <docker.skip.build>false</docker.skip.build>
136 <docker.skip.tag>false</docker.skip.tag>
137 <docker.skip.push>false</docker.skip.push>
142 <distributionManagement>
144 <id>ecomp-releases</id>
145 <name>Clamp Release Repository</name>
146 <url>https://nexus.onap.org/content/repositories/releases/</url>
149 <id>ecomp-snapshots</id>
150 <name>Clamp Snapshot Repository</name>
151 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
152 </snapshotRepository>
155 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
157 </distributionManagement>
162 <name>Maven 2 repository 2</name>
163 <url>http://repo2.maven.org/maven2/</url>
166 <id>ecomp-releases</id>
167 <name>ONAP Release Repository</name>
168 <url>https://nexus.onap.org/content/repositories/releases/</url>
171 <id>ecomp-staging</id>
172 <name>ONAP Staging Repository</name>
173 <url>https://nexus.onap.org/content/repositories/staging/</url>
176 <id>ecomp-snapshots</id>
177 <name>ONAP Snapshot Repository</name>
178 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
180 <enabled>true</enabled>
183 <enabled>false</enabled>
188 <name>Spring repo</name>
189 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
192 <id>repository.jboss.org-public</id>
193 <name>JBoss.org Maven repository</name>
194 <url>https://repository.jboss.org/nexus/content/groups/public</url>
199 <url>http://jcenter.bintray.com</url>
201 <enabled>false</enabled>
206 <dependencyManagement>
208 <!-- Spring Boot BOM -->
210 <groupId>org.springframework.boot</groupId>
211 <artifactId>spring-boot-dependencies</artifactId>
212 <version>${springboot.version}</version>
214 <scope>import</scope>
218 <groupId>org.apache.camel</groupId>
219 <artifactId>camel-spring-boot-dependencies</artifactId>
220 <version>${camel.version}</version>
222 <scope>import</scope>
225 </dependencyManagement>
229 <groupId>com.att.eelf</groupId>
230 <artifactId>eelf-core</artifactId>
231 <version>${eelf.core.version}</version>
234 <groupId>org.apache.tomcat.embed</groupId>
235 <artifactId>tomcat-embed-core</artifactId>
236 <version>${tomcat.version}</version>
239 <groupId>org.apache.tomcat.embed</groupId>
240 <artifactId>tomcat-embed-el</artifactId>
241 <version>${tomcat.version}</version>
244 <groupId>org.apache.tomcat.embed</groupId>
245 <artifactId>tomcat-embed-websocket</artifactId>
246 <version>${tomcat.version}</version>
249 <groupId>org.apache.tomcat</groupId>
250 <artifactId>tomcat-annotations-api</artifactId>
251 <version>${tomcat.version}</version>
255 <groupId>org.apache.camel</groupId>
256 <artifactId>camel-spring-boot-starter</artifactId>
259 <groupId>org.apache.camel</groupId>
260 <artifactId>camel-jaxb-starter</artifactId>
263 <groupId>org.apache.camel</groupId>
264 <artifactId>camel-servlet-starter</artifactId>
267 <groupId>javax.xml.bind</groupId>
268 <artifactId>jaxb-api</artifactId>
269 <version>2.3.0</version>
271 <!-- Spring famework -->
273 <groupId>org.springframework.boot</groupId>
274 <artifactId>spring-boot-starter-web</artifactId>
277 <groupId>org.springframework.boot</groupId>
278 <artifactId>spring-boot-starter-tomcat</artifactId>
281 <groupId>com.paypal.springboot</groupId>
282 <artifactId>resteasy-spring-boot-starter</artifactId>
283 <version>2.3.4-RELEASE</version>
286 <groupId>org.springframework</groupId>
287 <artifactId>spring-jdbc</artifactId>
290 <groupId>org.springframework.boot</groupId>
291 <artifactId>spring-boot-starter-security</artifactId>
294 <groupId>org.springframework.boot</groupId>
295 <artifactId>spring-boot-starter-actuator</artifactId>
298 <groupId>org.springframework.boot</groupId>
299 <artifactId>spring-boot-starter-test</artifactId>
303 <groupId>com.vaadin.external.google</groupId>
304 <artifactId>android-json</artifactId>
308 <!-- Others dependencies -->
310 <groupId>org.onap.aaf.authz</groupId>
311 <artifactId>aaf-cadi-aaf</artifactId>
312 <version>2.1.1</version>
315 <groupId>javax.servlet</groupId>
316 <artifactId>servlet-api</artifactId>
321 <groupId>ch.qos.logback</groupId>
322 <artifactId>logback-core</artifactId>
323 <version>1.2.3</version>
326 <groupId>ch.qos.logback</groupId>
327 <artifactId>logback-classic</artifactId>
328 <version>1.2.3</version>
331 <groupId>commons-dbcp</groupId>
332 <artifactId>commons-dbcp</artifactId>
333 <version>1.4</version>
336 <groupId>commons-io</groupId>
337 <artifactId>commons-io</artifactId>
338 <version>2.6</version>
341 <groupId>com.googlecode.json-simple</groupId>
342 <artifactId>json-simple</artifactId>
345 <groupId>org.apache.commons</groupId>
346 <artifactId>commons-vfs2</artifactId>
347 <version>2.2</version>
350 <groupId>joda-time</groupId>
351 <artifactId>joda-time</artifactId>
354 <groupId>org.slf4j</groupId>
355 <artifactId>slf4j-api</artifactId>
358 <groupId>javax.ws.rs</groupId>
359 <artifactId>javax.ws.rs-api</artifactId>
360 <version>2.0</version>
363 <groupId>junit</groupId>
364 <artifactId>junit</artifactId>
367 <groupId>javax.transaction</groupId>
368 <artifactId>jta</artifactId>
369 <version>1.1</version>
372 <groupId>javax.persistence</groupId>
373 <artifactId>persistence-api</artifactId>
374 <version>1.0.2</version>
377 <groupId>org.hibernate</groupId>
378 <artifactId>hibernate-annotations</artifactId>
379 <version>3.5.6-Final</version>
382 <groupId>dom4j</groupId>
383 <artifactId>dom4j</artifactId>
387 <groupId>org.onap.policy.engine</groupId>
388 <artifactId>PolicyEngineAPI</artifactId>
389 <version>1.2.0</version>
392 <groupId>com.google.guava</groupId>
393 <artifactId>guava</artifactId>
396 <artifactId>log4j</artifactId>
397 <groupId>log4j</groupId>
400 <groupId>org.slf4j</groupId>
401 <artifactId>slf4j-log4j12</artifactId>
404 <artifactId>apache-log4j-extras</artifactId>
405 <groupId>log4j</groupId>
408 <groupId>mysql</groupId>
409 <artifactId>mysql-connector-java</artifactId>
412 <groupId>commons-io</groupId>
413 <artifactId>commons-io</artifactId>
416 <artifactId>grizzly-http-server</artifactId>
417 <groupId>org.glassfish.grizzly</groupId>
422 <groupId>org.onap.policy.common</groupId>
423 <artifactId>ONAP-Logging</artifactId>
424 <version>1.1.3</version>
427 <artifactId>log4j</artifactId>
428 <groupId>log4j</groupId>
431 <groupId>org.slf4j</groupId>
432 <artifactId>slf4j-log4j12</artifactId>
435 <artifactId>apache-log4j-extras</artifactId>
436 <groupId>log4j</groupId>
441 <groupId>org.onap.policy.engine</groupId>
442 <artifactId>PolicyEngineUtils</artifactId>
443 <version>1.1.3</version>
446 <artifactId>log4j</artifactId>
447 <groupId>log4j</groupId>
450 <groupId>org.slf4j</groupId>
451 <artifactId>slf4j-log4j12</artifactId>
454 <artifactId>apache-log4j-extras</artifactId>
455 <groupId>log4j</groupId>
458 <groupId>mysql</groupId>
459 <artifactId>mysql-connector-java</artifactId>
462 <groupId>org.mariadb.jdbc</groupId>
463 <artifactId>mariadb-java-client</artifactId>
466 <groupId>com.att.nsa</groupId>
467 <artifactId>dmaapClient</artifactId>
470 <groupId>com.h2database</groupId>
471 <artifactId>h2</artifactId>
476 <groupId>org.onap.policy.drools-applications</groupId>
477 <artifactId>policy-yaml</artifactId>
478 <version>1.1.3</version>
481 <artifactId>log4j</artifactId>
482 <groupId>log4j</groupId>
485 <groupId>org.slf4j</groupId>
486 <artifactId>slf4j-log4j12</artifactId>
489 <artifactId>apache-log4j-extras</artifactId>
490 <groupId>log4j</groupId>
495 <groupId>org.onap.policy.drools-applications</groupId>
496 <artifactId>sdc</artifactId>
497 <version>1.1.3</version>
500 <artifactId>log4j</artifactId>
501 <groupId>log4j</groupId>
504 <groupId>org.slf4j</groupId>
505 <artifactId>slf4j-log4j12</artifactId>
508 <artifactId>apache-log4j-extras</artifactId>
509 <groupId>log4j</groupId>
514 <groupId>org.onap.policy.drools-applications</groupId>
515 <artifactId>aai</artifactId>
516 <version>1.1.3</version>
519 <artifactId>log4j</artifactId>
520 <groupId>log4j</groupId>
523 <groupId>org.slf4j</groupId>
524 <artifactId>slf4j-log4j12</artifactId>
527 <artifactId>apache-log4j-extras</artifactId>
528 <groupId>log4j</groupId>
533 <groupId>org.apache.commons</groupId>
534 <artifactId>commons-csv</artifactId>
535 <version>1.3</version>
538 <groupId>com.sun.faces</groupId>
539 <artifactId>jsf-api</artifactId>
540 <version>2.1.7</version>
543 <groupId>com.sun.faces</groupId>
544 <artifactId>jsf-impl</artifactId>
545 <version>2.1.7</version>
547 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
549 <groupId>org.codehaus.plexus</groupId>
550 <artifactId>plexus-utils</artifactId>
551 <version>3.0.24</version>
554 <groupId>commons-fileupload</groupId>
555 <artifactId>commons-fileupload</artifactId>
556 <version>1.3.3</version>
559 <groupId>org.jboss.spec.javax.ws.rs</groupId>
560 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
561 <version>1.0.1.Final</version>
563 <!-- Remove the MYSQL connector and replace it by Mariadb -->
565 <groupId>org.mariadb.jdbc</groupId>
566 <artifactId>mariadb-java-client</artifactId>
567 <version>2.2.1</version>
569 <!-- For SDC Controller -->
571 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
572 <artifactId>sdc-distribution-client</artifactId>
573 <version>1.3.0</version>
576 <groupId>org.onap.sdc.sdc-tosca</groupId>
577 <artifactId>sdc-tosca</artifactId>
578 <version>1.3.0</version>
580 <!-- To generate Swagger.json, swagger.html and swagger.pdf -->
582 <groupId>io.springfox</groupId>
583 <artifactId>springfox-swagger2</artifactId>
584 <version>2.4.0</version>
588 <groupId>io.github.robwin</groupId>
589 <artifactId>assertj-swagger</artifactId>
590 <version>0.2.0</version>
594 <groupId>io.github.swagger2markup</groupId>
595 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
596 <version>1.2.0</version>
601 <groupId>org.assertj</groupId>
602 <artifactId>assertj-core</artifactId>
603 <version>3.10.0</version>
610 <enabled>false</enabled>
612 <id>jcenter-releases</id>
614 <url>http://jcenter.bintray.com</url>
616 </pluginRepositories>
618 <finalName>clamp</finalName>
622 <directory>src/test/resources</directory>
624 <exclude>**/*.jks</exclude>
625 <exclude>**/*.csar</exclude>
627 <filtering>true</filtering>
630 <directory>src/test/resources/https</directory>
632 <include>**.jks</include>
634 <filtering>false</filtering>
635 <targetPath>https</targetPath>
638 <directory>src/test/resources/example/sdc</directory>
640 <include>**.csar</include>
642 <filtering>false</filtering>
643 <targetPath>example/sdc</targetPath>
648 <directory>src/main/resources</directory>
649 <filtering>true</filtering>
652 <directory>src/main/docker</directory>
654 <include>**/*</include>
656 <filtering>true</filtering>
661 <!-- Scan Clamp code and generate the swagger.json file with all the
664 <groupId>com.sebastian-daschner</groupId>
665 <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
666 <version>0.14</version>
671 <goal>analyze-jaxrs</goal>
674 <backend>swagger</backend>
675 <resourcesDir>../docs/swagger/</resourcesDir>
681 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
682 generate a list of .adoc files containing the APIs info in more structured
685 <groupId>io.github.swagger2markup</groupId>
686 <artifactId>swagger2markup-maven-plugin</artifactId>
687 <version>1.3.1</version>
690 <groupId>io.github.swagger2markup</groupId>
691 <artifactId>swagger2markup-import-files-ext</artifactId>
692 <version>1.3.1</version>
695 <groupId>io.github.swagger2markup</groupId>
696 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
697 <version>1.3.1</version>
701 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
702 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
704 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
711 <goal>convertSwagger2markup</goal>
717 <!-- Run the generated asciidoc through Asciidoctor to generate other
718 documentation types, such as PDFs or HTML5 -->
720 <groupId>org.asciidoctor</groupId>
721 <artifactId>asciidoctor-maven-plugin</artifactId>
722 <version>1.5.3</version>
725 <groupId>org.asciidoctor</groupId>
726 <artifactId>asciidoctorj-pdf</artifactId>
727 <version>1.5.0-alpha.10.1</version>
730 <groupId>org.jruby</groupId>
731 <artifactId>jruby-complete</artifactId>
732 <version>1.7.21</version>
736 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
737 <sourceDocumentName>swagger.adoc</sourceDocumentName>
739 <doctype>book</doctype>
741 <toclevels>3</toclevels>
742 <numbered></numbered>
743 <hardbreaks></hardbreaks>
744 <sectlinks></sectlinks>
745 <sectanchors></sectanchors>
746 <generated>${project.build.directory}/asciidoc/generated</generated>
755 <goal>process-asciidoc</goal>
758 <backend>html5</backend>
759 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
760 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
767 <goal>process-asciidoc</goal>
770 <backend>pdf</backend>
771 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
777 <groupId>org.codehaus.groovy.maven</groupId>
778 <artifactId>gmaven-plugin</artifactId>
779 <version>1.0</version>
782 <phase>validate</phase>
787 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
793 <groupId>org.apache.maven.plugins</groupId>
794 <artifactId>maven-jar-plugin</artifactId>
795 <version>3.0.2</version>
798 <id>jar-with-only-classes</id>
799 <phase>package</phase>
804 <classifier>classes</classifier>
806 <include>org/**</include>
813 <groupId>org.codehaus.mojo</groupId>
814 <artifactId>build-helper-maven-plugin</artifactId>
815 <version>3.0.0</version>
819 <goal>attach-artifact</goal>
821 <phase>package</phase>
825 <file>${project.build.directory}/clamp-classes.jar</file>
827 <classifier>classes</classifier>
836 <groupId>org.springframework.boot</groupId>
837 <artifactId>spring-boot-maven-plugin</artifactId>
838 <!-- Temporary fix -->
839 <version>1.5.13.RELEASE</version>
840 <!-- <version>${springboot.version}</version> -->
844 <goal>repackage</goal>
846 <phase>package</phase>
851 <groupId>org.sonatype.plugins</groupId>
852 <artifactId>nexus-staging-maven-plugin</artifactId>
853 <version>1.6.7</version>
854 <extensions>true</extensions>
856 <nexusUrl>https://nexus.onap.org</nexusUrl>
857 <stagingProfileId>176c31dfe190a</stagingProfileId>
858 <serverId>ecomp-staging</serverId>
859 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
864 <groupId>org.apache.maven.plugins</groupId>
865 <artifactId>maven-surefire-plugin</artifactId>
866 <version>2.19.1</version>
868 <forkCount>1</forkCount>
869 <reuseForks>false</reuseForks>
874 <groupId>org.apache.maven.plugins</groupId>
875 <artifactId>maven-failsafe-plugin</artifactId>
876 <version>2.17</version>
880 <id>integration-tests</id>
882 <goal>integration-test</goal>
887 <include>**/*ItCase.java</include>
889 <forkCount>1</forkCount>
890 <reuseForks>false</reuseForks>
896 <groupId>io.fabric8</groupId>
897 <artifactId>docker-maven-plugin</artifactId>
898 <version>0.26.0</version>
900 <verbose>true</verbose>
901 <apiVersion>1.23</apiVersion>
904 <name>library/mariadb:10.1.11</name>
905 <alias>mariadb</alias>
908 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
910 <hostname>mariadb</hostname>
913 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
914 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
918 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
922 <port>${docker.mariadb.port.host}:3306</port>
927 <name>library/python:2-slim</name>
928 <alias>python</alias>
930 <hostname>python</hostname>
933 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
934 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
947 <port>${docker.http-cache.port.host}:8080</port>
949 <workingDir>/usr/src/http-cache-app</workingDir>
951 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
956 <name>onap/clamp</name>
957 <alias>onap-clamp</alias>
959 <cleanup>true</cleanup>
962 <tag>${project.docker.latesttagtimestamp.version}</tag>
963 <tag>${project.docker.latesttag.version}</tag>
965 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
967 <dockerFile>Dockerfile</dockerFile>
969 <descriptor>assembly/clamp-files.xml</descriptor>
970 <name>onap-clamp</name>
978 <id>generate-images</id>
979 <phase>install</phase>
986 <phase>deploy</phase>
992 <id>docker-start-for-it</id>
993 <phase>pre-integration-test</phase>
999 <id>docker-stop-for-it</id>
1000 <phase>post-integration-test</phase>
1009 <groupId>org.jacoco</groupId>
1010 <artifactId>jacoco-maven-plugin</artifactId>
1011 <version>0.7.7.201606060606</version>
1013 <dumpOnExit>true</dumpOnExit>
1015 <include>org.onap.clamp.*</include>
1020 <id>pre-unit-test</id>
1022 <goal>prepare-agent</goal>
1025 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1026 <!-- <append>true</append> -->
1030 <id>pre-integration-test</id>
1031 <phase>pre-integration-test</phase>
1033 <goal>prepare-agent</goal>
1036 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1037 <!-- <append>true</append> -->
1044 <phase>post-integration-test</phase>
1047 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1048 <directory>${project.build.directory}/coverage-reports</directory>
1050 <include>*.exec</include>
1054 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1060 <!-- This plugin will be useful when we will have multi-modules project -->
1062 <groupId>org.codehaus.mojo</groupId>
1063 <artifactId>versions-maven-plugin</artifactId>
1064 <version>1.3.1</version>