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.12.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</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>
472 <groupId>org.onap.policy.drools-applications</groupId>
473 <artifactId>policy-yaml</artifactId>
474 <version>1.1.3</version>
477 <artifactId>log4j</artifactId>
478 <groupId>log4j</groupId>
481 <groupId>org.slf4j</groupId>
482 <artifactId>slf4j-log4j12</artifactId>
485 <artifactId>apache-log4j-extras</artifactId>
486 <groupId>log4j</groupId>
491 <groupId>org.onap.policy.drools-applications</groupId>
492 <artifactId>sdc</artifactId>
493 <version>1.1.3</version>
496 <artifactId>log4j</artifactId>
497 <groupId>log4j</groupId>
500 <groupId>org.slf4j</groupId>
501 <artifactId>slf4j-log4j12</artifactId>
504 <artifactId>apache-log4j-extras</artifactId>
505 <groupId>log4j</groupId>
510 <groupId>org.onap.policy.drools-applications</groupId>
511 <artifactId>aai</artifactId>
512 <version>1.1.3</version>
515 <artifactId>log4j</artifactId>
516 <groupId>log4j</groupId>
519 <groupId>org.slf4j</groupId>
520 <artifactId>slf4j-log4j12</artifactId>
523 <artifactId>apache-log4j-extras</artifactId>
524 <groupId>log4j</groupId>
529 <groupId>org.apache.commons</groupId>
530 <artifactId>commons-csv</artifactId>
531 <version>1.3</version>
534 <groupId>com.sun.faces</groupId>
535 <artifactId>jsf-api</artifactId>
536 <version>2.1.7</version>
539 <groupId>com.sun.faces</groupId>
540 <artifactId>jsf-impl</artifactId>
541 <version>2.1.7</version>
543 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
545 <groupId>org.codehaus.plexus</groupId>
546 <artifactId>plexus-utils</artifactId>
547 <version>3.0.24</version>
550 <groupId>commons-fileupload</groupId>
551 <artifactId>commons-fileupload</artifactId>
552 <version>1.3.3</version>
555 <groupId>org.jboss.spec.javax.ws.rs</groupId>
556 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
557 <version>1.0.1.Final</version>
559 <!-- Remove the MYSQL connector and replace it by Mariadb -->
561 <groupId>org.mariadb.jdbc</groupId>
562 <artifactId>mariadb-java-client</artifactId>
563 <version>2.2.1</version>
565 <!-- For SDC Controller -->
567 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
568 <artifactId>sdc-distribution-client</artifactId>
569 <version>1.3.0</version>
572 <groupId>org.onap.sdc.sdc-tosca</groupId>
573 <artifactId>sdc-tosca</artifactId>
574 <version>1.3.0</version>
576 <!-- To generate Swagger.json, swagger.html and swagger.pdf -->
578 <groupId>io.springfox</groupId>
579 <artifactId>springfox-swagger2</artifactId>
580 <version>2.4.0</version>
584 <groupId>io.github.robwin</groupId>
585 <artifactId>assertj-swagger</artifactId>
586 <version>0.2.0</version>
590 <groupId>io.github.swagger2markup</groupId>
591 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
592 <version>1.2.0</version>
599 <enabled>false</enabled>
601 <id>jcenter-releases</id>
603 <url>http://jcenter.bintray.com</url>
605 </pluginRepositories>
607 <finalName>clamp</finalName>
611 <directory>src/test/resources</directory>
613 <exclude>**/*.jks</exclude>
614 <exclude>**/*.csar</exclude>
616 <filtering>true</filtering>
619 <directory>src/test/resources/https</directory>
621 <include>**.jks</include>
623 <filtering>false</filtering>
624 <targetPath>https</targetPath>
627 <directory>src/test/resources/example/sdc</directory>
629 <include>**.csar</include>
631 <filtering>false</filtering>
632 <targetPath>example/sdc</targetPath>
637 <directory>src/main/resources</directory>
638 <filtering>true</filtering>
641 <directory>src/main/docker</directory>
643 <include>**/*</include>
645 <filtering>true</filtering>
650 <!-- Scan Clamp code and generate the swagger.json file with all the
653 <groupId>com.sebastian-daschner</groupId>
654 <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
655 <version>0.14</version>
660 <goal>analyze-jaxrs</goal>
663 <backend>swagger</backend>
664 <resourcesDir>../docs/swagger/</resourcesDir>
670 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
671 generate a list of .adoc files containing the APIs info in more structured
674 <groupId>io.github.swagger2markup</groupId>
675 <artifactId>swagger2markup-maven-plugin</artifactId>
676 <version>1.3.1</version>
679 <groupId>io.github.swagger2markup</groupId>
680 <artifactId>swagger2markup-import-files-ext</artifactId>
681 <version>1.3.1</version>
684 <groupId>io.github.swagger2markup</groupId>
685 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
686 <version>1.3.1</version>
690 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
691 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
693 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
700 <goal>convertSwagger2markup</goal>
706 <!-- Run the generated asciidoc through Asciidoctor to generate other
707 documentation types, such as PDFs or HTML5 -->
709 <groupId>org.asciidoctor</groupId>
710 <artifactId>asciidoctor-maven-plugin</artifactId>
711 <version>1.5.3</version>
714 <groupId>org.asciidoctor</groupId>
715 <artifactId>asciidoctorj-pdf</artifactId>
716 <version>1.5.0-alpha.10.1</version>
719 <groupId>org.jruby</groupId>
720 <artifactId>jruby-complete</artifactId>
721 <version>1.7.21</version>
725 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
726 <sourceDocumentName>swagger.adoc</sourceDocumentName>
728 <doctype>book</doctype>
730 <toclevels>3</toclevels>
731 <numbered></numbered>
732 <hardbreaks></hardbreaks>
733 <sectlinks></sectlinks>
734 <sectanchors></sectanchors>
735 <generated>${project.build.directory}/asciidoc/generated</generated>
744 <goal>process-asciidoc</goal>
747 <backend>html5</backend>
748 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
749 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
756 <goal>process-asciidoc</goal>
759 <backend>pdf</backend>
760 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
766 <groupId>org.codehaus.groovy.maven</groupId>
767 <artifactId>gmaven-plugin</artifactId>
768 <version>1.0</version>
771 <phase>validate</phase>
776 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-jar-plugin</artifactId>
784 <version>3.0.2</version>
787 <id>jar-with-only-classes</id>
788 <phase>package</phase>
793 <classifier>classes</classifier>
795 <include>org/**</include>
802 <groupId>org.codehaus.mojo</groupId>
803 <artifactId>build-helper-maven-plugin</artifactId>
804 <version>3.0.0</version>
808 <goal>attach-artifact</goal>
810 <phase>package</phase>
814 <file>${project.build.directory}/clamp-classes.jar</file>
816 <classifier>classes</classifier>
825 <groupId>org.springframework.boot</groupId>
826 <artifactId>spring-boot-maven-plugin</artifactId>
827 <version>${springboot.version}</version>
831 <goal>repackage</goal>
833 <phase>package</phase>
838 <groupId>org.sonatype.plugins</groupId>
839 <artifactId>nexus-staging-maven-plugin</artifactId>
840 <version>1.6.7</version>
841 <extensions>true</extensions>
843 <nexusUrl>https://nexus.onap.org</nexusUrl>
844 <stagingProfileId>176c31dfe190a</stagingProfileId>
845 <serverId>ecomp-staging</serverId>
846 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
851 <groupId>org.apache.maven.plugins</groupId>
852 <artifactId>maven-surefire-plugin</artifactId>
853 <version>2.19.1</version>
855 <forkCount>1</forkCount>
856 <reuseForks>false</reuseForks>
861 <groupId>org.apache.maven.plugins</groupId>
862 <artifactId>maven-failsafe-plugin</artifactId>
863 <version>2.17</version>
867 <id>integration-tests</id>
869 <goal>integration-test</goal>
874 <include>**/*ItCase.java</include>
876 <forkCount>1</forkCount>
877 <reuseForks>false</reuseForks>
883 <groupId>io.fabric8</groupId>
884 <artifactId>docker-maven-plugin</artifactId>
885 <version>0.26.0</version>
887 <verbose>true</verbose>
888 <apiVersion>1.23</apiVersion>
891 <name>library/mariadb:10.1.11</name>
892 <alias>mariadb</alias>
895 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
897 <hostname>mariadb</hostname>
900 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
901 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
905 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
909 <port>${docker.mariadb.port.host}:3306</port>
914 <name>library/python:2-slim</name>
915 <alias>python</alias>
917 <hostname>python</hostname>
920 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
921 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
934 <port>${docker.http-cache.port.host}:8080</port>
936 <workingDir>/usr/src/http-cache-app</workingDir>
938 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
943 <name>onap/clamp</name>
944 <alias>onap-clamp</alias>
946 <cleanup>true</cleanup>
949 <tag>${project.docker.latesttagtimestamp.version}</tag>
950 <tag>${project.docker.latesttag.version}</tag>
952 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
954 <dockerFile>Dockerfile</dockerFile>
956 <descriptor>assembly/clamp-files.xml</descriptor>
957 <name>onap-clamp</name>
965 <id>generate-images</id>
966 <phase>install</phase>
973 <phase>deploy</phase>
979 <id>docker-start-for-it</id>
980 <phase>pre-integration-test</phase>
986 <id>docker-stop-for-it</id>
987 <phase>post-integration-test</phase>
996 <groupId>org.jacoco</groupId>
997 <artifactId>jacoco-maven-plugin</artifactId>
998 <version>0.7.7.201606060606</version>
1000 <dumpOnExit>true</dumpOnExit>
1002 <include>org.onap.clamp.*</include>
1007 <id>pre-unit-test</id>
1009 <goal>prepare-agent</goal>
1012 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1013 <!-- <append>true</append> -->
1017 <id>pre-integration-test</id>
1018 <phase>pre-integration-test</phase>
1020 <goal>prepare-agent</goal>
1023 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1024 <!-- <append>true</append> -->
1031 <phase>post-integration-test</phase>
1034 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1035 <directory>${project.build.directory}/coverage-reports</directory>
1037 <include>*.exec</include>
1041 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1047 <!-- This plugin will be useful when we will have multi-modules project -->
1049 <groupId>org.codehaus.mojo</groupId>
1050 <artifactId>versions-maven-plugin</artifactId>
1051 <version>1.3.1</version>