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>docker</executable>
582 <argument>ps</argument>
583 <argument>--all</argument>
588 <id>docker_info1</id>
589 <phase>validate</phase>
594 <executable>docker</executable>
596 <argument>images</argument>
601 <id>docker_info2</id>
602 <phase>validate</phase>
607 <executable>ls</executable>
609 <argument>-latr</argument>
610 <argument>/var/run/docker.sock</argument>
616 <id>docker_info3</id>
617 <phase>validate</phase>
622 <executable>cat</executable>
624 <argument>/etc/hosts</argument>
629 <id>docker_info4</id>
630 <phase>validate</phase>
635 <executable>curl</executable>
637 <argument>-v</argument>
638 <argument>http://127.0.0.1:2375/info</argument>
643 <id>docker_info5</id>
644 <phase>validate</phase>
649 <executable>netstat</executable>
651 <argument>-tulnp</argument>
658 <!-- Scan Clamp code and generate the swagger.json file with all the APIs -->
660 <groupId>com.sebastian-daschner</groupId>
661 <artifactId>jaxrs-analyzer-maven-plugin</artifactId>
662 <version>0.14</version>
667 <goal>analyze-jaxrs</goal>
670 <backend>swagger</backend>
671 <resourcesDir>../docs/swagger/</resourcesDir>
677 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
678 generate a list of .adoc files containing the APIs info in more structured way -->
680 <groupId>io.github.swagger2markup</groupId>
681 <artifactId>swagger2markup-maven-plugin</artifactId>
682 <version>1.3.1</version>
685 <groupId>io.github.swagger2markup</groupId>
686 <artifactId>swagger2markup-import-files-ext</artifactId>
687 <version>1.3.1</version>
690 <groupId>io.github.swagger2markup</groupId>
691 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
692 <version>1.3.1</version>
696 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
697 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
699 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
706 <goal>convertSwagger2markup</goal>
712 <!-- Run the generated asciidoc through Asciidoctor to generate
713 other documentation types, such as PDFs or HTML5 -->
715 <groupId>org.asciidoctor</groupId>
716 <artifactId>asciidoctor-maven-plugin</artifactId>
717 <version>1.5.3</version>
720 <groupId>org.asciidoctor</groupId>
721 <artifactId>asciidoctorj-pdf</artifactId>
722 <version>1.5.0-alpha.10.1</version>
725 <groupId>org.jruby</groupId>
726 <artifactId>jruby-complete</artifactId>
727 <version>1.7.21</version>
731 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
732 <sourceDocumentName>swagger.adoc</sourceDocumentName>
734 <doctype>book</doctype>
736 <toclevels>3</toclevels>
737 <numbered></numbered>
738 <hardbreaks></hardbreaks>
739 <sectlinks></sectlinks>
740 <sectanchors></sectanchors>
741 <generated>${project.build.directory}/asciidoc/generated</generated>
750 <goal>process-asciidoc</goal>
753 <backend>html5</backend>
754 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
755 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
762 <goal>process-asciidoc</goal>
765 <backend>pdf</backend>
766 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
772 <groupId>org.codehaus.groovy.maven</groupId>
773 <artifactId>gmaven-plugin</artifactId>
774 <version>1.0</version>
777 <phase>validate</phase>
782 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
788 <groupId>org.apache.maven.plugins</groupId>
789 <artifactId>maven-jar-plugin</artifactId>
790 <version>3.0.2</version>
793 <id>jar-with-only-classes</id>
794 <phase>package</phase>
799 <classifier>classes</classifier>
801 <include>org/**</include>
808 <groupId>org.codehaus.mojo</groupId>
809 <artifactId>build-helper-maven-plugin</artifactId>
810 <version>3.0.0</version>
814 <goal>attach-artifact</goal>
816 <phase>package</phase>
820 <file>${project.build.directory}/clamp-classes.jar</file>
822 <classifier>classes</classifier>
831 <groupId>org.springframework.boot</groupId>
832 <artifactId>spring-boot-maven-plugin</artifactId>
833 <version>${springboot.version}</version>
837 <goal>repackage</goal>
839 <phase>package</phase>
844 <groupId>org.sonatype.plugins</groupId>
845 <artifactId>nexus-staging-maven-plugin</artifactId>
846 <version>1.6.7</version>
847 <extensions>true</extensions>
849 <nexusUrl>https://nexus.onap.org</nexusUrl>
850 <stagingProfileId>176c31dfe190a</stagingProfileId>
851 <serverId>ecomp-staging</serverId>
852 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
856 <groupId>com.spotify</groupId>
857 <artifactId>docker-maven-plugin</artifactId>
858 <version>1.1.0</version>
861 <dockerHost>http://127.0.0.1:2375</dockerHost>
862 <imageName>onap/clamp</imageName>
863 <dockerDirectory>src/main/docker</dockerDirectory>
864 <serverId>docker-hub</serverId>
866 <imageTag>latest</imageTag>
867 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
868 <imageTag>${project.docker.latesttag.version}</imageTag>
870 <forceTags>true</forceTags>
873 <targetPath>/</targetPath>
874 <directory>${project.build.directory}</directory>
875 <include>${project.build.finalName}.jar</include>
878 <targetPath>/</targetPath>
879 <directory>${project.build.directory}</directory>
880 <include>etc/config/**</include>
883 <targetPath>/</targetPath>
884 <directory>${project.build.directory}</directory>
885 <include>etc/keystore/**</include>
892 <phase>package</phase>
897 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
899 <http_proxy>${env.HTTP_PROXY}</http_proxy>
900 <https_proxy>${env.HTTPS_PROXY}</https_proxy>
906 <id>tag-image-latest-timestamp</id>
907 <phase>package</phase>
912 <image>onap/clamp</image>
913 <newName>${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}</newName>
914 <skipDockerTag>${skip.docker.push}</skipDockerTag>
918 <id>push-image-latest-timestamp</id>
919 <phase>deploy</phase>
924 <imageName>${docker.push.registry}/onap/clamp:${project.docker.latesttagtimestamp.version}</imageName>
925 <skipDockerPush>${skip.docker.push}</skipDockerPush>
929 <id>tag-image-latest</id>
930 <phase>package</phase>
935 <image>onap/clamp</image>
936 <newName>${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}</newName>
937 <skipDockerTag>${skip.docker.push}</skipDockerTag>
941 <id>push-image-latest</id>
942 <phase>deploy</phase>
947 <imageName>${docker.push.registry}/onap/clamp:${project.docker.latesttag.version}</imageName>
948 <skipDockerPush>${skip.docker.push}</skipDockerPush>
953 <phase>package</phase>
958 <image>onap/clamp</image>
959 <newName>${docker.push.registry}/onap/clamp:latest</newName>
960 <skipDockerTag>${skip.docker.push}</skipDockerTag>
965 <phase>deploy</phase>
970 <imageName>${docker.push.registry}/onap/clamp:latest</imageName>
971 <skipDockerPush>${skip.docker.push}</skipDockerPush>
977 <groupId>org.apache.maven.plugins</groupId>
978 <artifactId>maven-surefire-plugin</artifactId>
979 <version>2.19.1</version>
981 <forkCount>1</forkCount>
982 <reuseForks>false</reuseForks>
987 <groupId>org.apache.maven.plugins</groupId>
988 <artifactId>maven-failsafe-plugin</artifactId>
989 <version>2.16</version>
993 <id>integration-tests</id>
995 <goal>integration-test</goal>
1000 <include>**/*ItCase.java</include>
1002 <forkCount>1</forkCount>
1003 <reuseForks>false</reuseForks>
1010 <groupId>io.fabric8</groupId>
1011 <artifactId>docker-maven-plugin</artifactId>
1012 <version>0.16.5</version>
1014 <verbose>true</verbose>
1015 <apiVersion>1.23</apiVersion>
1018 <name>mariadb:10.1.11</name>
1019 <alias>mariadb</alias>
1022 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
1024 <hostname>mariadb</hostname>
1027 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
1028 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
1032 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
1036 <port>${docker.mariadb.port.host}:3306</port>
1041 <name>python:2-slim</name>
1042 <alias>python</alias>
1044 <hostname>python</hostname>
1047 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
1048 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
1061 <port>${docker.http-cache.port.host}:8080</port>
1063 <workingDir>/usr/src/http-cache-app</workingDir>
1065 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1070 <skip>${skipITs}</skip>
1075 <id>docker-start-for-it</id>
1076 <phase>pre-integration-test</phase>
1081 <skip>${skipITs}</skip>
1085 <id>docker-stop-for-it</id>
1086 <phase>post-integration-test</phase>
1091 <skip>${skipITs}</skip>
1098 <groupId>org.jacoco</groupId>
1099 <artifactId>jacoco-maven-plugin</artifactId>
1100 <version>0.7.7.201606060606</version>
1102 <dumpOnExit>true</dumpOnExit>
1104 <include>org.onap.clamp.*</include>
1109 <id>pre-unit-test</id>
1111 <goal>prepare-agent</goal>
1114 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1115 <!-- <append>true</append> -->
1119 <id>pre-integration-test</id>
1120 <phase>pre-integration-test</phase>
1122 <goal>prepare-agent</goal>
1125 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1126 <!-- <append>true</append> -->
1133 <phase>post-integration-test</phase>
1136 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1137 <directory>${project.build.directory}/coverage-reports</directory>
1139 <include>*.exec</include>
1143 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1149 <!-- This plugin will be useful when we will have multi-modules project -->
1151 <groupId>org.codehaus.mojo</groupId>
1152 <artifactId>versions-maven-plugin</artifactId>
1153 <version>1.3.1</version>
1161 <skip.staging.artifacts>true</skip.staging.artifacts>
1162 <skip.docker.build>false</skip.docker.build>
1163 <skip.docker.tag>false</skip.docker.tag>
1164 <skip.docker.push>false</skip.docker.push>