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>
574 <id>docker_info0</id>
575 <phase>validate</phase>
580 <executable>env</executable>
584 <id>docker_info2</id>
585 <phase>validate</phase>
590 <executable>ls</executable>
592 <argument>-latr</argument>
593 <argument>/var/run/docker.sock</argument>
599 <id>docker_info3</id>
600 <phase>validate</phase>
605 <executable>cat</executable>
607 <argument>/etc/hosts</argument>
612 <id>docker_info4</id>
613 <phase>validate</phase>
618 <executable>curl</executable>
620 <argument>-v</argument>
621 <argument>http://127.0.0.1:2375/info</argument>
626 <id>docker_info5</id>
627 <phase>validate</phase>
632 <executable>netstat</executable>
634 <argument>-tulnp</argument>
641 <!-- Scan Clamp code and generate the swagger.json file with all the APIs -->
643 <groupId>com.sebastian-daschner</groupId>
644 <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
645 <version>0.14</version>
650 <goal>analyze-jaxrs</goal>
653 <backend>swagger</backend>
654 <resourcesDir>../docs/swagger/</resourcesDir>
660 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
661 generate a list of .adoc files containing the APIs info in more structured way -->
663 <groupId>io.github.swagger2markup</groupId>
664 <artifactId>swagger2markup-maven-plugin</artifactId>
665 <version>1.3.1</version>
668 <groupId>io.github.swagger2markup</groupId>
669 <artifactId>swagger2markup-import-files-ext</artifactId>
670 <version>1.3.1</version>
673 <groupId>io.github.swagger2markup</groupId>
674 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
675 <version>1.3.1</version>
679 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
680 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
682 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
689 <goal>convertSwagger2markup</goal>
695 <!-- Run the generated asciidoc through Asciidoctor to generate
696 other documentation types, such as PDFs or HTML5 -->
698 <groupId>org.asciidoctor</groupId>
699 <artifactId>asciidoctor-maven-plugin</artifactId>
700 <version>1.5.3</version>
703 <groupId>org.asciidoctor</groupId>
704 <artifactId>asciidoctorj-pdf</artifactId>
705 <version>1.5.0-alpha.10.1</version>
708 <groupId>org.jruby</groupId>
709 <artifactId>jruby-complete</artifactId>
710 <version>1.7.21</version>
714 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
715 <sourceDocumentName>swagger.adoc</sourceDocumentName>
717 <doctype>book</doctype>
719 <toclevels>3</toclevels>
720 <numbered></numbered>
721 <hardbreaks></hardbreaks>
722 <sectlinks></sectlinks>
723 <sectanchors></sectanchors>
724 <generated>${project.build.directory}/asciidoc/generated</generated>
733 <goal>process-asciidoc</goal>
736 <backend>html5</backend>
737 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
738 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
745 <goal>process-asciidoc</goal>
748 <backend>pdf</backend>
749 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
755 <groupId>org.codehaus.groovy.maven</groupId>
756 <artifactId>gmaven-plugin</artifactId>
757 <version>1.0</version>
760 <phase>validate</phase>
765 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-jar-plugin</artifactId>
773 <version>3.0.2</version>
776 <id>jar-with-only-classes</id>
777 <phase>package</phase>
782 <classifier>classes</classifier>
784 <include>org/**</include>
791 <groupId>org.codehaus.mojo</groupId>
792 <artifactId>build-helper-maven-plugin</artifactId>
793 <version>3.0.0</version>
797 <goal>attach-artifact</goal>
799 <phase>package</phase>
803 <file>${project.build.directory}/clamp-classes.jar</file>
805 <classifier>classes</classifier>
814 <groupId>org.springframework.boot</groupId>
815 <artifactId>spring-boot-maven-plugin</artifactId>
816 <version>${springboot.version}</version>
820 <goal>repackage</goal>
822 <phase>package</phase>
827 <groupId>org.sonatype.plugins</groupId>
828 <artifactId>nexus-staging-maven-plugin</artifactId>
829 <version>1.6.7</version>
830 <extensions>true</extensions>
832 <nexusUrl>https://nexus.onap.org</nexusUrl>
833 <stagingProfileId>176c31dfe190a</stagingProfileId>
834 <serverId>ecomp-staging</serverId>
835 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
839 <groupId>com.spotify</groupId>
840 <artifactId>docker-maven-plugin</artifactId>
841 <version>1.1.0</version>
844 <dockerHost>http://127.0.0.1:2375</dockerHost>
845 <imageName>onap/clamp</imageName>
846 <dockerDirectory>src/main/docker</dockerDirectory>
847 <serverId>docker-hub</serverId>
849 <imageTag>latest</imageTag>
850 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
851 <imageTag>${project.docker.latesttag.version}</imageTag>
853 <forceTags>true</forceTags>
856 <targetPath>/</targetPath>
857 <directory>${project.build.directory}</directory>
858 <include>${project.build.finalName}.jar</include>
861 <targetPath>/</targetPath>
862 <directory>${project.build.directory}</directory>
863 <include>etc/config/**</include>
866 <targetPath>/</targetPath>
867 <directory>${project.build.directory}</directory>
868 <include>etc/keystore/**</include>
875 <phase>package</phase>
880 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
882 <http_proxy>${env.HTTP_PROXY}</http_proxy>
883 <https_proxy>${env.HTTPS_PROXY}</https_proxy>
889 <id>tag-image-latest-timestamp</id>
890 <phase>package</phase>
895 <image>onap/clamp</image>
896 <newName>${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}</newName>
897 <skipDockerTag>${skip.docker.push}</skipDockerTag>
901 <id>push-image-latest-timestamp</id>
902 <phase>deploy</phase>
907 <imageName>${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}</imageName>
908 <skipDockerPush>${skip.docker.push}</skipDockerPush>
912 <id>tag-image-latest</id>
913 <phase>package</phase>
918 <image>onap/clamp</image>
919 <newName>${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}</newName>
920 <skipDockerTag>${skip.docker.push}</skipDockerTag>
924 <id>push-image-latest</id>
925 <phase>deploy</phase>
930 <imageName>${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}</imageName>
931 <skipDockerPush>${skip.docker.push}</skipDockerPush>
936 <phase>package</phase>
941 <image>onap/clamp</image>
942 <newName>${docker.push.registry}/onap/clamp:latest</newName>
943 <skipDockerTag>${skip.docker.push}</skipDockerTag>
948 <phase>deploy</phase>
953 <imageName>${docker.push.registry}/onap/clamp:latest</imageName>
954 <skipDockerPush>${skip.docker.push}</skipDockerPush>
960 <groupId>org.apache.maven.plugins</groupId>
961 <artifactId>maven-surefire-plugin</artifactId>
962 <version>2.19.1</version>
964 <forkCount>1</forkCount>
965 <reuseForks>false</reuseForks>
970 <groupId>org.apache.maven.plugins</groupId>
971 <artifactId>maven-failsafe-plugin</artifactId>
972 <version>2.16</version>
976 <id>integration-tests</id>
978 <goal>integration-test</goal>
983 <include>**/*ItCase.java</include>
985 <forkCount>1</forkCount>
986 <reuseForks>false</reuseForks>
993 <groupId>io.fabric8</groupId>
994 <artifactId>docker-maven-plugin</artifactId>
995 <version>0.16.5</version>
997 <verbose>true</verbose>
998 <apiVersion>1.23</apiVersion>
1001 <name>mariadb:10.1.11</name>
1002 <alias>mariadb</alias>
1005 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
1007 <hostname>mariadb</hostname>
1010 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
1011 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
1015 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
1019 <port>${docker.mariadb.port.host}:3306</port>
1024 <name>python:2-slim</name>
1025 <alias>python</alias>
1027 <hostname>python</hostname>
1030 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
1031 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
1044 <port>${docker.http-cache.port.host}:8080</port>
1046 <workingDir>/usr/src/http-cache-app</workingDir>
1048 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1053 <skip>${skipITs}</skip>
1058 <id>docker-start-for-it</id>
1059 <phase>pre-integration-test</phase>
1064 <skip>${skipITs}</skip>
1068 <id>docker-stop-for-it</id>
1069 <phase>post-integration-test</phase>
1074 <skip>${skipITs}</skip>
1081 <groupId>org.jacoco</groupId>
1082 <artifactId>jacoco-maven-plugin</artifactId>
1083 <version>0.7.7.201606060606</version>
1085 <dumpOnExit>true</dumpOnExit>
1087 <include>org.onap.clamp.*</include>
1092 <id>pre-unit-test</id>
1094 <goal>prepare-agent</goal>
1097 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1098 <!-- <append>true</append> -->
1102 <id>pre-integration-test</id>
1103 <phase>pre-integration-test</phase>
1105 <goal>prepare-agent</goal>
1108 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1109 <!-- <append>true</append> -->
1116 <phase>post-integration-test</phase>
1119 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1120 <directory>${project.build.directory}/coverage-reports</directory>
1122 <include>*.exec</include>
1126 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1132 <!-- This plugin will be useful when we will have multi-modules project -->
1134 <groupId>org.codehaus.mojo</groupId>
1135 <artifactId>versions-maven-plugin</artifactId>
1136 <version>1.3.1</version>
1144 <skip.staging.artifacts>true</skip.staging.artifacts>
1145 <skip.docker.build>false</skip.docker.build>
1146 <skip.docker.tag>false</skip.docker.tag>
1147 <skip.docker.push>false</skip.docker.push>