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>2.0.1-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 <skip.docker.build>true</skip.docker.build>
86 <skip.docker.push>true</skip.docker.push>
87 <skip.staging.artifacts>false</skip.staging.artifacts>
88 <python.http.proxy.param></python.http.proxy.param>
91 <distributionManagement>
93 <id>ecomp-releases</id>
94 <name>Clamp Release Repository</name>
95 <url>https://nexus.onap.org/content/repositories/releases/</url>
98 <id>ecomp-snapshots</id>
99 <name>Clamp Snapshot Repository</name>
100 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
101 </snapshotRepository>
104 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
106 </distributionManagement>
111 <name>Maven 2 repository 2</name>
112 <url>http://repo2.maven.org/maven2/</url>
115 <id>ecomp-releases</id>
116 <name>ONAP Release Repository</name>
117 <url>https://nexus.onap.org/content/repositories/releases/</url>
120 <id>ecomp-staging</id>
121 <name>ONAP Staging Repository</name>
122 <url>https://nexus.onap.org/content/repositories/staging/</url>
125 <id>ecomp-snapshots</id>
126 <name>ONAP Snapshot Repository</name>
127 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
129 <enabled>true</enabled>
132 <enabled>false</enabled>
137 <name>Spring repo</name>
138 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
141 <id>repository.jboss.org-public</id>
142 <name>JBoss.org Maven repository</name>
143 <url>https://repository.jboss.org/nexus/content/groups/public</url>
148 <url>http://jcenter.bintray.com</url>
150 <enabled>false</enabled>
155 <dependencyManagement>
157 <!-- Spring Boot BOM -->
159 <groupId>org.springframework.boot</groupId>
160 <artifactId>spring-boot-dependencies</artifactId>
161 <version>${springboot.version}</version>
163 <scope>import</scope>
167 <groupId>org.apache.camel</groupId>
168 <artifactId>camel-spring-boot-dependencies</artifactId>
169 <version>${camel.version}</version>
171 <scope>import</scope>
174 </dependencyManagement>
178 <groupId>com.att.eelf</groupId>
179 <artifactId>eelf-core</artifactId>
180 <version>${eelf.core.version}</version>
184 <groupId>org.apache.camel</groupId>
185 <artifactId>camel-spring-boot-starter</artifactId>
188 <groupId>org.apache.camel</groupId>
189 <artifactId>camel-jaxb-starter</artifactId>
192 <groupId>org.apache.camel</groupId>
193 <artifactId>camel-servlet-starter</artifactId>
196 <groupId>javax.xml.bind</groupId>
197 <artifactId>jaxb-api</artifactId>
198 <version>2.3.0</version>
200 <!-- Spring famework -->
202 <groupId>org.springframework.boot</groupId>
203 <artifactId>spring-boot-starter-web</artifactId>
206 <groupId>org.springframework.boot</groupId>
207 <artifactId>spring-boot-starter-tomcat</artifactId>
210 <groupId>com.paypal.springboot</groupId>
211 <artifactId>resteasy-spring-boot-starter</artifactId>
212 <version>2.3.4-RELEASE</version>
215 <groupId>org.springframework</groupId>
216 <artifactId>spring-jdbc</artifactId>
219 <groupId>org.springframework.boot</groupId>
220 <artifactId>spring-boot-starter-security</artifactId>
223 <groupId>org.springframework.boot</groupId>
224 <artifactId>spring-boot-starter-actuator</artifactId>
227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-starter-test</artifactId>
232 <groupId>com.vaadin.external.google</groupId>
233 <artifactId>android-json</artifactId>
237 <!-- Others dependencies -->
239 <groupId>ch.qos.logback</groupId>
240 <artifactId>logback-core</artifactId>
241 <version>1.2.3</version>
244 <groupId>ch.qos.logback</groupId>
245 <artifactId>logback-classic</artifactId>
246 <version>1.2.3</version>
249 <groupId>commons-dbcp</groupId>
250 <artifactId>commons-dbcp</artifactId>
251 <version>1.4</version>
254 <groupId>commons-io</groupId>
255 <artifactId>commons-io</artifactId>
256 <version>2.6</version>
259 <groupId>com.googlecode.json-simple</groupId>
260 <artifactId>json-simple</artifactId>
263 <groupId>org.apache.commons</groupId>
264 <artifactId>commons-vfs2</artifactId>
265 <version>2.2</version>
268 <groupId>joda-time</groupId>
269 <artifactId>joda-time</artifactId>
272 <groupId>org.slf4j</groupId>
273 <artifactId>slf4j-api</artifactId>
276 <groupId>javax.ws.rs</groupId>
277 <artifactId>javax.ws.rs-api</artifactId>
278 <version>2.0</version>
281 <groupId>junit</groupId>
282 <artifactId>junit</artifactId>
285 <groupId>javax.transaction</groupId>
286 <artifactId>jta</artifactId>
287 <version>1.1</version>
290 <groupId>javax.persistence</groupId>
291 <artifactId>persistence-api</artifactId>
292 <version>1.0.2</version>
295 <groupId>org.hibernate</groupId>
296 <artifactId>hibernate-annotations</artifactId>
297 <version>3.5.6-Final</version>
300 <groupId>dom4j</groupId>
301 <artifactId>dom4j</artifactId>
305 <groupId>org.onap.policy.engine</groupId>
306 <artifactId>PolicyEngineAPI</artifactId>
307 <version>1.2.0</version>
310 <groupId>com.google.guava</groupId>
311 <artifactId>guava</artifactId>
314 <artifactId>log4j</artifactId>
315 <groupId>log4j</groupId>
318 <groupId>org.slf4j</groupId>
319 <artifactId>slf4j-log4j12</artifactId>
322 <artifactId>apache-log4j-extras</artifactId>
323 <groupId>log4j</groupId>
326 <groupId>mysql</groupId>
327 <artifactId>mysql-connector-java</artifactId>
330 <groupId>commons-io</groupId>
331 <artifactId>commons-io</artifactId>
334 <artifactId>grizzly-http</artifactId>
335 <groupId>org.glassfish.grizzly</groupId>
340 <groupId>org.onap.policy.common</groupId>
341 <artifactId>ONAP-Logging</artifactId>
342 <version>1.1.3</version>
345 <artifactId>log4j</artifactId>
346 <groupId>log4j</groupId>
349 <groupId>org.slf4j</groupId>
350 <artifactId>slf4j-log4j12</artifactId>
353 <artifactId>apache-log4j-extras</artifactId>
354 <groupId>log4j</groupId>
359 <groupId>org.onap.policy.engine</groupId>
360 <artifactId>PolicyEngineUtils</artifactId>
361 <version>1.1.3</version>
364 <artifactId>log4j</artifactId>
365 <groupId>log4j</groupId>
368 <groupId>org.slf4j</groupId>
369 <artifactId>slf4j-log4j12</artifactId>
372 <artifactId>apache-log4j-extras</artifactId>
373 <groupId>log4j</groupId>
376 <groupId>mysql</groupId>
377 <artifactId>mysql-connector-java</artifactId>
380 <groupId>org.mariadb.jdbc</groupId>
381 <artifactId>mariadb-java-client</artifactId>
384 <groupId>com.att.nsa</groupId>
385 <artifactId>dmaapClient</artifactId>
390 <groupId>org.onap.policy.drools-applications</groupId>
391 <artifactId>policy-yaml</artifactId>
392 <version>1.1.3</version>
395 <artifactId>log4j</artifactId>
396 <groupId>log4j</groupId>
399 <groupId>org.slf4j</groupId>
400 <artifactId>slf4j-log4j12</artifactId>
403 <artifactId>apache-log4j-extras</artifactId>
404 <groupId>log4j</groupId>
409 <groupId>org.onap.policy.drools-applications</groupId>
410 <artifactId>sdc</artifactId>
411 <version>1.1.3</version>
414 <artifactId>log4j</artifactId>
415 <groupId>log4j</groupId>
418 <groupId>org.slf4j</groupId>
419 <artifactId>slf4j-log4j12</artifactId>
422 <artifactId>apache-log4j-extras</artifactId>
423 <groupId>log4j</groupId>
428 <groupId>org.onap.policy.drools-applications</groupId>
429 <artifactId>aai</artifactId>
430 <version>1.1.3</version>
433 <artifactId>log4j</artifactId>
434 <groupId>log4j</groupId>
437 <groupId>org.slf4j</groupId>
438 <artifactId>slf4j-log4j12</artifactId>
441 <artifactId>apache-log4j-extras</artifactId>
442 <groupId>log4j</groupId>
447 <groupId>org.apache.commons</groupId>
448 <artifactId>commons-csv</artifactId>
449 <version>1.3</version>
452 <groupId>com.sun.faces</groupId>
453 <artifactId>jsf-api</artifactId>
454 <version>2.1.7</version>
457 <groupId>com.sun.faces</groupId>
458 <artifactId>jsf-impl</artifactId>
459 <version>2.1.7</version>
461 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
463 <groupId>org.codehaus.plexus</groupId>
464 <artifactId>plexus-utils</artifactId>
465 <version>3.0.24</version>
468 <groupId>commons-fileupload</groupId>
469 <artifactId>commons-fileupload</artifactId>
470 <version>1.3.3</version>
473 <groupId>org.jboss.spec.javax.ws.rs</groupId>
474 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
475 <version>1.0.1.Final</version>
477 <!-- Remove the MYSQL connector and replace it by Mariadb -->
479 <groupId>org.mariadb.jdbc</groupId>
480 <artifactId>mariadb-java-client</artifactId>
481 <version>2.2.1</version>
483 <!-- For SDC Controller -->
485 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
486 <artifactId>sdc-distribution-client</artifactId>
487 <version>1.3.0</version>
490 <groupId>org.onap.sdc.sdc-tosca</groupId>
491 <artifactId>sdc-tosca</artifactId>
492 <version>1.3.0</version>
494 <!-- To generate Swagger.json, swagger.html and swagger.pdf -->
496 <groupId>io.springfox</groupId>
497 <artifactId>springfox-swagger2</artifactId>
498 <version>2.4.0</version>
502 <groupId>io.github.robwin</groupId>
503 <artifactId>assertj-swagger</artifactId>
504 <version>0.2.0</version>
508 <groupId>io.github.swagger2markup</groupId>
509 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
510 <version>1.2.0</version>
517 <enabled>false</enabled>
519 <id>jcenter-releases</id>
521 <url>http://jcenter.bintray.com</url>
523 </pluginRepositories>
525 <finalName>clamp</finalName>
529 <directory>src/test/resources</directory>
531 <exclude>**/*.jks</exclude>
532 <exclude>**/*.csar</exclude>
534 <filtering>true</filtering>
537 <directory>src/test/resources/https</directory>
539 <include>**.jks</include>
541 <filtering>false</filtering>
542 <targetPath>https</targetPath>
545 <directory>src/test/resources/example/sdc</directory>
547 <include>**.csar</include>
549 <filtering>false</filtering>
550 <targetPath>example/sdc</targetPath>
555 <directory>src/main/resources</directory>
556 <filtering>true</filtering>
559 <directory>src/main/docker</directory>
561 <include>**/*</include>
563 <filtering>true</filtering>
569 <groupId>org.codehaus.mojo</groupId>
570 <artifactId>exec-maven-plugin</artifactId>
571 <version>1.6.0</version>
575 <phase>validate</phase>
582 <executable>docker</executable>
584 <argument>info</argument>
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-antrun-plugin</artifactId>
592 <version>1.1</version>
595 <phase>validate</phase>
601 <echo>******** Displaying value of property ********</echo>
602 <echo>Docker host set:${env.DOCKER_HOST}</echo>
609 <!-- Scan Clamp code and generate the swagger.json file with all the APIs -->
611 <groupId>com.sebastian-daschner</groupId>
612 <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
613 <version>0.14</version>
618 <goal>analyze-jaxrs</goal>
621 <backend>swagger</backend>
622 <resourcesDir>../docs/swagger/</resourcesDir>
628 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
629 generate a list of .adoc files containing the APIs info in more structured way -->
631 <groupId>io.github.swagger2markup</groupId>
632 <artifactId>swagger2markup-maven-plugin</artifactId>
633 <version>1.3.1</version>
636 <groupId>io.github.swagger2markup</groupId>
637 <artifactId>swagger2markup-import-files-ext</artifactId>
638 <version>1.3.1</version>
641 <groupId>io.github.swagger2markup</groupId>
642 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
643 <version>1.3.1</version>
647 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
648 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
650 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
657 <goal>convertSwagger2markup</goal>
663 <!-- Run the generated asciidoc through Asciidoctor to generate
664 other documentation types, such as PDFs or HTML5 -->
666 <groupId>org.asciidoctor</groupId>
667 <artifactId>asciidoctor-maven-plugin</artifactId>
668 <version>1.5.3</version>
671 <groupId>org.asciidoctor</groupId>
672 <artifactId>asciidoctorj-pdf</artifactId>
673 <version>1.5.0-alpha.10.1</version>
676 <groupId>org.jruby</groupId>
677 <artifactId>jruby-complete</artifactId>
678 <version>1.7.21</version>
682 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
683 <sourceDocumentName>swagger.adoc</sourceDocumentName>
685 <doctype>book</doctype>
687 <toclevels>3</toclevels>
688 <numbered></numbered>
689 <hardbreaks></hardbreaks>
690 <sectlinks></sectlinks>
691 <sectanchors></sectanchors>
692 <generated>${project.build.directory}/asciidoc/generated</generated>
701 <goal>process-asciidoc</goal>
704 <backend>html5</backend>
705 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
706 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
713 <goal>process-asciidoc</goal>
716 <backend>pdf</backend>
717 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
723 <groupId>org.codehaus.groovy.maven</groupId>
724 <artifactId>gmaven-plugin</artifactId>
725 <version>1.0</version>
728 <phase>validate</phase>
733 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-jar-plugin</artifactId>
741 <version>3.0.2</version>
744 <id>jar-with-only-classes</id>
745 <phase>package</phase>
750 <classifier>classes</classifier>
752 <include>org/**</include>
759 <groupId>org.codehaus.mojo</groupId>
760 <artifactId>build-helper-maven-plugin</artifactId>
761 <version>3.0.0</version>
765 <goal>attach-artifact</goal>
767 <phase>package</phase>
771 <file>${project.build.directory}/clamp-classes.jar</file>
773 <classifier>classes</classifier>
782 <groupId>org.springframework.boot</groupId>
783 <artifactId>spring-boot-maven-plugin</artifactId>
784 <version>${springboot.version}</version>
788 <goal>repackage</goal>
790 <phase>package</phase>
795 <groupId>org.sonatype.plugins</groupId>
796 <artifactId>nexus-staging-maven-plugin</artifactId>
797 <version>1.6.7</version>
798 <extensions>true</extensions>
800 <nexusUrl>https://nexus.onap.org</nexusUrl>
801 <stagingProfileId>176c31dfe190a</stagingProfileId>
802 <serverId>ecomp-staging</serverId>
803 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
807 <groupId>com.spotify</groupId>
808 <artifactId>docker-maven-plugin</artifactId>
809 <version>1.1.0</version>
811 <imageName>onap/clamp</imageName>
812 <dockerDirectory>src/main/docker</dockerDirectory>
813 <serverId>docker-hub</serverId>
815 <imageTag>latest</imageTag>
816 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
817 <imageTag>${project.docker.latesttag.version}</imageTag>
819 <forceTags>true</forceTags>
822 <targetPath>/</targetPath>
823 <directory>${project.build.directory}</directory>
824 <include>${project.build.finalName}.jar</include>
827 <targetPath>/</targetPath>
828 <directory>${project.build.directory}</directory>
829 <include>etc/config/**</include>
832 <targetPath>/</targetPath>
833 <directory>${project.build.directory}</directory>
834 <include>etc/keystore/**</include>
841 <phase>package</phase>
846 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
848 <http_proxy>${env.HTTP_PROXY}</http_proxy>
849 <https_proxy>${env.HTTPS_PROXY}</https_proxy>
855 <id>tag-image-latest-timestamp</id>
856 <phase>package</phase>
861 <image>onap/clamp</image>
862 <newName>${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}</newName>
863 <skipDockerTag>${skip.docker.push}</skipDockerTag>
867 <id>push-image-latest-timestamp</id>
868 <phase>deploy</phase>
873 <imageName>${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}</imageName>
874 <skipDockerPush>${skip.docker.push}</skipDockerPush>
878 <id>tag-image-latest</id>
879 <phase>package</phase>
884 <image>onap/clamp</image>
885 <newName>${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}</newName>
886 <skipDockerTag>${skip.docker.push}</skipDockerTag>
890 <id>push-image-latest</id>
891 <phase>deploy</phase>
896 <imageName>${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}</imageName>
897 <skipDockerPush>${skip.docker.push}</skipDockerPush>
902 <phase>package</phase>
907 <image>onap/clamp</image>
908 <newName>${docker.push.registry}/onap/clamp:latest</newName>
909 <skipDockerTag>${skip.docker.push}</skipDockerTag>
914 <phase>deploy</phase>
919 <imageName>${docker.push.registry}/onap/clamp:latest</imageName>
920 <skipDockerPush>${skip.docker.push}</skipDockerPush>
926 <groupId>org.apache.maven.plugins</groupId>
927 <artifactId>maven-surefire-plugin</artifactId>
928 <version>2.19.1</version>
930 <forkCount>1</forkCount>
931 <reuseForks>false</reuseForks>
936 <groupId>org.apache.maven.plugins</groupId>
937 <artifactId>maven-failsafe-plugin</artifactId>
938 <version>2.16</version>
942 <id>integration-tests</id>
944 <goal>integration-test</goal>
949 <include>**/*ItCase.java</include>
951 <forkCount>1</forkCount>
952 <reuseForks>false</reuseForks>
959 <groupId>io.fabric8</groupId>
960 <artifactId>docker-maven-plugin</artifactId>
961 <version>0.16.5</version>
963 <verbose>true</verbose>
964 <apiVersion>1.23</apiVersion>
967 <name>mariadb:10.1.11</name>
968 <alias>mariadb</alias>
971 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
973 <hostname>mariadb</hostname>
976 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
977 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
981 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
985 <port>${docker.mariadb.port.host}:3306</port>
990 <name>python:2-slim</name>
991 <alias>python</alias>
993 <hostname>python</hostname>
996 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
997 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
1010 <port>${docker.http-cache.port.host}:8080</port>
1012 <workingDir>/usr/src/http-cache-app</workingDir>
1014 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1019 <skip>${skipITs}</skip>
1024 <id>docker-start-for-it</id>
1025 <phase>pre-integration-test</phase>
1030 <skip>${skipITs}</skip>
1034 <id>docker-stop-for-it</id>
1035 <phase>post-integration-test</phase>
1040 <skip>${skipITs}</skip>
1047 <groupId>org.jacoco</groupId>
1048 <artifactId>jacoco-maven-plugin</artifactId>
1049 <version>0.7.7.201606060606</version>
1051 <dumpOnExit>true</dumpOnExit>
1053 <include>org.onap.clamp.*</include>
1058 <id>pre-unit-test</id>
1060 <goal>prepare-agent</goal>
1063 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1064 <!-- <append>true</append> -->
1068 <id>pre-integration-test</id>
1069 <phase>pre-integration-test</phase>
1071 <goal>prepare-agent</goal>
1074 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1075 <!-- <append>true</append> -->
1082 <phase>post-integration-test</phase>
1085 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1086 <directory>${project.build.directory}/coverage-reports</directory>
1088 <include>*.exec</include>
1092 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1098 <!-- This plugin will be useful when we will have multi-modules project -->
1100 <groupId>org.codehaus.mojo</groupId>
1101 <artifactId>versions-maven-plugin</artifactId>
1102 <version>1.3.1</version>
1110 <skip.staging.artifacts>true</skip.staging.artifacts>
1111 <skip.docker.build>false</skip.docker.build>
1112 <skip.docker.tag>false</skip.docker.tag>
1113 <skip.docker.push>false</skip.docker.push>