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 ===================================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.clamp</groupId>
26 <artifactId>clds</artifactId>
27 <version>3.0.3-SNAPSHOT</version>
31 <groupId>org.onap.oparent</groupId>
32 <artifactId>oparent</artifactId>
33 <version>1.2.0</version>
37 This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part.
39 By Default "mvn clean install" command will execute also the unit tests
40 and the integration tests. The integration tests require a docker engine running.
42 If you want to skip the integration test you can by doing:
43 "mvn clean install -DskipITs=true"
45 For Spring it's possible to specify the application.properties location
46 "mvn clean install -Dspring.config.location=classpath:application-test.properties"
48 The application.properties contains the location of the CLAMP parameters files:
49 - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
50 - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties
55 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
56 <clamp.project.version>${project.version}</clamp.project.version>
57 <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp>
58 <maven.compiler.source>1.8</maven.compiler.source>
59 <maven.compiler.target>1.8</maven.compiler.target>
60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
63 <project.scm.id>git-server</project.scm.id>
64 <java.version>1.8</java.version>
66 <eelf.core.version>1.0.0</eelf.core.version>
67 <camel.version>2.22.1</camel.version>
68 <springboot.version>2.0.6.RELEASE</springboot.version>
70 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
71 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
72 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
73 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
74 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
75 <sonar.projectVersion>${project.version}</sonar.projectVersion>
76 <!-- Enable language to disable javascript analysis -->
77 <sonar.language>java</sonar.language>
78 <!-- Parameters for Javascript coverage
79 <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources>
80 <sonar.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
82 <sonar.exclusions>src/main/resources/**,**/clamp-ui/designer/lib/*</sonar.exclusions>
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/>
91 <tomcat.version>8.5.34</tomcat.version>
99 <name>maven.test.skip</name>
104 <docker.skip.run>true</docker.skip.run>
105 <docker.skip>true</docker.skip>
109 <id>without-IT-only</id>
117 <docker.skip.run>true</docker.skip.run>
118 <docker.skip>true</docker.skip>
122 <id>without-IT-only2</id>
125 <name>skipTests</name>
130 <docker.skip.run>true</docker.skip.run>
131 <docker.skip>true</docker.skip>
137 <skip.staging.artifacts>true</skip.staging.artifacts>
138 <docker.skip.build>false</docker.skip.build>
139 <docker.skip.tag>false</docker.skip.tag>
140 <docker.skip.push>false</docker.skip.push>
141 <docker.skip>false</docker.skip>
146 <distributionManagement>
148 <id>onap-releases</id>
149 <name>Clamp Release Repository</name>
150 <url>https://nexus.onap.org/content/repositories/releases/</url>
153 <id>onap-snapshots</id>
154 <name>Clamp Snapshot Repository</name>
155 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
156 </snapshotRepository>
159 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
161 </distributionManagement>
166 <name>Maven 2 repository 2</name>
167 <url>http://repo2.maven.org/maven2/</url>
170 <id>onap-releases</id>
171 <name>ONAP Release Repository</name>
172 <url>https://nexus.onap.org/content/repositories/releases/</url>
175 <id>onap-staging</id>
176 <name>ONAP Staging Repository</name>
177 <url>https://nexus.onap.org/content/repositories/staging/</url>
180 <id>onap-snapshots</id>
181 <name>ONAP Snapshot Repository</name>
182 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
184 <enabled>true</enabled>
187 <enabled>false</enabled>
192 <name>Spring repo</name>
193 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
196 <id>repository.jboss.org-public</id>
197 <name>JBoss.org Maven repository</name>
198 <url>https://repository.jboss.org/nexus/content/groups/public</url>
202 <dependencyManagement>
204 <!-- Spring Boot BOM -->
206 <groupId>org.springframework.boot</groupId>
207 <artifactId>spring-boot-dependencies</artifactId>
208 <version>${springboot.version}</version>
210 <scope>import</scope>
214 <groupId>org.apache.camel</groupId>
215 <artifactId>camel-spring-boot-dependencies</artifactId>
216 <version>${camel.version}</version>
218 <scope>import</scope>
221 </dependencyManagement>
225 <groupId>com.att.eelf</groupId>
226 <artifactId>eelf-core</artifactId>
227 <version>${eelf.core.version}</version>
230 <groupId>org.codehaus.janino</groupId>
231 <artifactId>janino</artifactId>
232 <version>3.0.8</version>
235 <groupId>org.apache.tomcat.embed</groupId>
236 <artifactId>tomcat-embed-core</artifactId>
237 <version>${tomcat.version}</version>
240 <groupId>org.apache.tomcat.embed</groupId>
241 <artifactId>tomcat-embed-el</artifactId>
242 <version>${tomcat.version}</version>
245 <groupId>org.apache.tomcat.embed</groupId>
246 <artifactId>tomcat-embed-websocket</artifactId>
247 <version>${tomcat.version}</version>
250 <groupId>org.apache.tomcat</groupId>
251 <artifactId>tomcat-annotations-api</artifactId>
252 <version>${tomcat.version}</version>
256 <groupId>org.apache.camel</groupId>
257 <artifactId>camel-spring-boot-starter</artifactId>
260 <groupId>org.apache.camel</groupId>
261 <artifactId>camel-jaxb-starter</artifactId>
264 <groupId>org.apache.camel</groupId>
265 <artifactId>camel-servlet-starter</artifactId>
268 <groupId>org.apache.camel</groupId>
269 <artifactId>camel-jackson-starter</artifactId>
272 <groupId>org.apache.camel</groupId>
273 <artifactId>camel-swagger-java-starter</artifactId>
276 <groupId>javax.ws.rs</groupId>
277 <artifactId>jsr311-api</artifactId>
280 <groupId>org.slf4j</groupId>
281 <artifactId>slf4j-ext</artifactId>
286 <groupId>javax.xml.bind</groupId>
287 <artifactId>jaxb-api</artifactId>
288 <version>2.3.0</version>
291 <groupId>org.glassfish.jersey.core</groupId>
292 <artifactId>jersey-common</artifactId>
293 <version>2.27</version>
295 <!-- Spring famework -->
297 <groupId>org.springframework.boot</groupId>
298 <artifactId>spring-boot-starter-web</artifactId>
301 <groupId>org.springframework.boot</groupId>
302 <artifactId>spring-boot-starter-tomcat</artifactId>
305 <groupId>org.springframework</groupId>
306 <artifactId>spring-jdbc</artifactId>
309 <groupId>org.springframework.boot</groupId>
310 <artifactId>spring-boot-starter-security</artifactId>
313 <groupId>org.springframework.boot</groupId>
314 <artifactId>spring-boot-autoconfigure</artifactId>
317 <groupId>org.springframework.boot</groupId>
318 <artifactId>spring-boot-starter-test</artifactId>
322 <groupId>com.vaadin.external.google</groupId>
323 <artifactId>android-json</artifactId>
327 <!-- Others dependencies -->
329 <groupId>org.onap.aaf.authz</groupId>
330 <artifactId>aaf-cadi-aaf</artifactId>
331 <version>2.1.1</version>
334 <groupId>javax.servlet</groupId>
335 <artifactId>servlet-api</artifactId>
340 <groupId>ch.qos.logback</groupId>
341 <artifactId>logback-core</artifactId>
342 <version>1.2.3</version>
345 <groupId>ch.qos.logback</groupId>
346 <artifactId>logback-classic</artifactId>
347 <version>1.2.3</version>
350 <groupId>commons-dbcp</groupId>
351 <artifactId>commons-dbcp</artifactId>
352 <version>1.4</version>
355 <groupId>commons-io</groupId>
356 <artifactId>commons-io</artifactId>
357 <version>2.6</version>
360 <groupId>com.googlecode.json-simple</groupId>
361 <artifactId>json-simple</artifactId>
364 <groupId>org.apache.commons</groupId>
365 <artifactId>commons-vfs2</artifactId>
366 <version>2.2</version>
369 <groupId>joda-time</groupId>
370 <artifactId>joda-time</artifactId>
373 <groupId>org.slf4j</groupId>
374 <artifactId>slf4j-api</artifactId>
377 <groupId>javax.ws.rs</groupId>
378 <artifactId>javax.ws.rs-api</artifactId>
379 <version>2.0</version>
382 <groupId>junit</groupId>
383 <artifactId>junit</artifactId>
386 <groupId>javax.transaction</groupId>
387 <artifactId>jta</artifactId>
388 <version>1.1</version>
391 <groupId>javax.persistence</groupId>
392 <artifactId>persistence-api</artifactId>
393 <version>1.0.2</version>
396 <groupId>org.onap.policy.engine</groupId>
397 <artifactId>PolicyEngineAPI</artifactId>
398 <version>1.3.3</version>
401 <groupId>com.google.guava</groupId>
402 <artifactId>guava</artifactId>
405 <artifactId>log4j</artifactId>
406 <groupId>log4j</groupId>
409 <groupId>org.slf4j</groupId>
410 <artifactId>slf4j-log4j12</artifactId>
413 <artifactId>apache-log4j-extras</artifactId>
414 <groupId>log4j</groupId>
417 <groupId>mysql</groupId>
418 <artifactId>mysql-connector-java</artifactId>
421 <groupId>commons-io</groupId>
422 <artifactId>commons-io</artifactId>
425 <artifactId>grizzly-http-server</artifactId>
426 <groupId>org.glassfish.grizzly</groupId>
429 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
430 <artifactId>dmaapClient</artifactId>
433 <groupId>org.onap.policy.common</groupId>
434 <artifactId>integrity-monitor</artifactId>
437 <groupId>org.onap.policy.common</groupId>
438 <artifactId>integrity-audit</artifactId>
441 <groupId>org.onap.aaf.cadi</groupId>
442 <artifactId>cadi-aaf</artifactId>
445 <groupId>javax.jms</groupId>
446 <artifactId>jms</artifactId>
449 <groupId>commons-fileupload</groupId>
450 <artifactId>commons-fileupload</artifactId>
453 <groupId>com.att.research.xacml</groupId>
454 <artifactId>xacml</artifactId>
459 <groupId>org.onap.policy.common</groupId>
460 <artifactId>ONAP-Logging</artifactId>
461 <version>1.2.3</version>
464 <artifactId>log4j</artifactId>
465 <groupId>log4j</groupId>
468 <groupId>org.slf4j</groupId>
469 <artifactId>slf4j-log4j12</artifactId>
472 <artifactId>apache-log4j-extras</artifactId>
473 <groupId>log4j</groupId>
478 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
479 <artifactId>policy-yaml</artifactId>
480 <version>1.2.3</version>
483 <artifactId>log4j</artifactId>
484 <groupId>log4j</groupId>
487 <groupId>org.slf4j</groupId>
488 <artifactId>slf4j-log4j12</artifactId>
491 <artifactId>apache-log4j-extras</artifactId>
492 <groupId>log4j</groupId>
497 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
498 <artifactId>sdc</artifactId>
499 <version>1.2.3</version>
502 <artifactId>log4j</artifactId>
503 <groupId>log4j</groupId>
506 <groupId>org.slf4j</groupId>
507 <artifactId>slf4j-log4j12</artifactId>
510 <artifactId>apache-log4j-extras</artifactId>
511 <groupId>log4j</groupId>
516 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
517 <artifactId>aai</artifactId>
518 <version>1.2.3</version>
521 <artifactId>log4j</artifactId>
522 <groupId>log4j</groupId>
525 <groupId>org.slf4j</groupId>
526 <artifactId>slf4j-log4j12</artifactId>
529 <artifactId>apache-log4j-extras</artifactId>
530 <groupId>log4j</groupId>
535 <groupId>org.apache.commons</groupId>
536 <artifactId>commons-csv</artifactId>
537 <version>1.3</version>
539 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
541 <groupId>org.codehaus.plexus</groupId>
542 <artifactId>plexus-utils</artifactId>
543 <version>3.0.24</version>
546 <groupId>org.jboss.spec.javax.ws.rs</groupId>
547 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
548 <version>1.0.1.Final</version>
551 <groupId>com.google.guava</groupId>
552 <artifactId>guava</artifactId>
554 <!-- Remove the MYSQL connector and replace it by Mariadb -->
556 <groupId>org.mariadb.jdbc</groupId>
557 <artifactId>mariadb-java-client</artifactId>
558 <version>2.2.1</version>
560 <!-- For SDC Controller -->
562 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
563 <artifactId>sdc-distribution-client</artifactId>
564 <version>1.3.0</version>
567 <groupId>org.onap.sdc.sdc-tosca</groupId>
568 <artifactId>sdc-tosca</artifactId>
569 <version>1.4.1</version>
573 <groupId>org.assertj</groupId>
574 <artifactId>assertj-core</artifactId>
575 <version>3.10.0</version>
579 <groupId>org.mockito</groupId>
580 <artifactId>mockito-core</artifactId>
581 <version>1.10.19</version>
587 <id>central-for-plugins</id>
588 <name>Maven 2 repository 2</name>
589 <url>http://repo2.maven.org/maven2/</url>
593 <enabled>false</enabled>
595 <id>jcenter-releases-for-plugins</id>
597 <url>http://jcenter.bintray.com</url>
599 </pluginRepositories>
601 <finalName>clamp</finalName>
605 <directory>src/test/resources</directory>
607 <exclude>**/*.jks</exclude>
608 <exclude>**/*.csar</exclude>
610 <filtering>true</filtering>
613 <directory>src/test/resources/https</directory>
615 <include>**.jks</include>
617 <filtering>false</filtering>
618 <targetPath>https</targetPath>
621 <directory>src/test/resources/example/sdc</directory>
623 <include>**.csar</include>
625 <filtering>false</filtering>
626 <targetPath>example/sdc</targetPath>
629 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
631 <directory>src/test/javascript</directory>
633 <include>**/**.json</include>
635 <filtering>true</filtering>
636 <targetPath>${project.build.directory}/clamp-ui</targetPath>
639 <directory>src/main/resources/META-INF/resources/designer</directory>
640 <filtering>false</filtering>
641 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
645 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
646 Otherwise they will be broken and unreadable
649 <directory>src/main/resources</directory>
650 <filtering>true</filtering>
652 <exclude>clds/aaf/**</exclude>
656 <directory>src/main/resources</directory>
657 <filtering>false</filtering>
659 <include>clds/aaf/**</include>
663 <directory>src/main/docker</directory>
665 <include>**/*</include>
667 <filtering>true</filtering>
673 <groupId>org.sonatype.plugins</groupId>
674 <artifactId>port-allocator-maven-plugin</artifactId>
675 <version>1.2</version>
678 <phase>validate</phase>
680 <goal>allocate-ports</goal>
685 <name>docker.mariadb.port.host</name>
688 <name>docker.http-cache.port.host</name>
691 <name>clamp.it.tests.http-redirected</name>
694 <name>clamp.it.tests.https</name>
697 <name>clamp.it.tests.http</name>
704 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
705 generate a list of .adoc files containing the APIs info in more structured
708 <groupId>io.github.swagger2markup</groupId>
709 <artifactId>swagger2markup-maven-plugin</artifactId>
710 <version>1.3.3</version>
713 <groupId>io.github.swagger2markup</groupId>
714 <artifactId>swagger2markup-import-files-ext</artifactId>
715 <version>1.3.3</version>
718 <groupId>io.github.swagger2markup</groupId>
719 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
720 <version>1.3.3</version>
724 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
725 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
727 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
732 <phase>post-integration-test</phase>
734 <goal>convertSwagger2markup</goal>
740 <!-- Run the generated asciidoc through Asciidoctor to generate other
741 documentation types, such as PDFs or HTML5 -->
743 <groupId>org.asciidoctor</groupId>
744 <artifactId>asciidoctor-maven-plugin</artifactId>
745 <version>1.5.6</version>
748 <groupId>org.asciidoctor</groupId>
749 <artifactId>asciidoctorj-pdf</artifactId>
750 <version>1.5.0-alpha.10.1</version>
753 <groupId>org.jruby</groupId>
754 <artifactId>jruby-complete</artifactId>
755 <version>1.7.21</version>
759 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
760 <sourceDocumentName>swagger.adoc</sourceDocumentName>
762 <doctype>book</doctype>
764 <toclevels>3</toclevels>
769 <generated>${project.build.directory}/asciidoc/generated</generated>
776 <phase>post-integration-test</phase>
778 <goal>process-asciidoc</goal>
781 <backend>html5</backend>
782 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
783 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
788 <phase>post-integration-test</phase>
790 <goal>process-asciidoc</goal>
793 <backend>pdf</backend>
794 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
800 <groupId>org.codehaus.groovy.maven</groupId>
801 <artifactId>gmaven-plugin</artifactId>
802 <version>1.0</version>
805 <phase>validate</phase>
810 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
816 <groupId>org.apache.maven.plugins</groupId>
817 <artifactId>maven-jar-plugin</artifactId>
818 <version>3.0.2</version>
821 <id>jar-with-only-classes</id>
822 <phase>package</phase>
827 <classifier>classes</classifier>
829 <include>org/**</include>
836 <groupId>org.codehaus.mojo</groupId>
837 <artifactId>build-helper-maven-plugin</artifactId>
838 <version>3.0.0</version>
842 <goal>attach-artifact</goal>
844 <phase>package</phase>
848 <file>${project.build.directory}/clamp-classes.jar</file>
850 <classifier>classes</classifier>
859 <groupId>org.springframework.boot</groupId>
860 <artifactId>spring-boot-maven-plugin</artifactId>
861 <!-- Temporary fix -->
862 <version>1.5.13.RELEASE</version>
863 <!-- <version>${springboot.version}</version> -->
867 <goal>repackage</goal>
869 <phase>package</phase>
874 <groupId>org.sonatype.plugins</groupId>
875 <artifactId>nexus-staging-maven-plugin</artifactId>
876 <version>1.6.7</version>
877 <extensions>true</extensions>
879 <nexusUrl>https://nexus.onap.org</nexusUrl>
880 <stagingProfileId>176c31dfe190a</stagingProfileId>
881 <serverId>ecomp-staging</serverId>
882 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
887 <groupId>org.apache.maven.plugins</groupId>
888 <artifactId>maven-surefire-plugin</artifactId>
889 <version>2.22.1</version>
891 <forkCount>1C</forkCount>
892 <reuseForks>true</reuseForks>
893 <useSystemClassLoader>false</useSystemClassLoader>
894 <argLine>${surefireArgLine}</argLine>
899 <groupId>org.apache.maven.plugins</groupId>
900 <artifactId>maven-failsafe-plugin</artifactId>
901 <version>2.22.1</version>
904 <id>integration-tests</id>
906 <goal>integration-test</goal>
910 <additionalClasspathElements>
911 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
912 </additionalClasspathElements>
914 <include>**/*ItCase.java</include>
916 <forkCount>1</forkCount>
917 <reuseForks>true</reuseForks>
918 <useSystemClassLoader>false</useSystemClassLoader>
919 <argLine>${failsafeArgLine}</argLine>
926 <groupId>io.fabric8</groupId>
927 <artifactId>docker-maven-plugin</artifactId>
928 <version>0.27.2</version>
931 <groupId>org.apache.httpcomponents</groupId>
932 <artifactId>httpclient</artifactId>
933 <version>4.5.5</version>
937 <verbose>true</verbose>
938 <apiVersion>1.35</apiVersion>
941 <name>library/mariadb:10.1.11</name>
942 <alias>mariadb</alias>
945 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
947 <hostname>mariadb</hostname>
950 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
951 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
955 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
959 <port>${docker.mariadb.port.host}:3306</port>
964 <name>library/python:2-slim</name>
965 <alias>python</alias>
967 <hostname>python</hostname>
970 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
971 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
984 <port>${docker.http-cache.port.host}:8080</port>
986 <workingDir>/usr/src/http-cache-app</workingDir>
988 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
993 <name>onap/clamp</name>
994 <alias>onap-clamp</alias>
999 <cleanup>true</cleanup>
1002 <tag>${project.docker.latesttagtimestamp.version}</tag>
1003 <tag>${project.docker.latesttag.version}</tag>
1005 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
1007 <dockerFile>Dockerfile</dockerFile>
1009 <descriptor>assembly/clamp-files.xml</descriptor>
1010 <name>onap-clamp</name>
1015 <name>onap/clamp-dashboard-logstash</name>
1016 <alias>onap-clamp-dashboard-logstash</alias>
1021 <cleanup>true</cleanup>
1024 <tag>${project.docker.latesttagtimestamp.version}</tag>
1025 <tag>${project.docker.latesttag.version}</tag>
1027 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
1031 <name>onap/clamp-dashboard-kibana</name>
1032 <alias>onap-clamp-dashboard-kibana</alias>
1037 <cleanup>true</cleanup>
1040 <tag>${project.docker.latesttagtimestamp.version}</tag>
1041 <tag>${project.docker.latesttag.version}</tag>
1043 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1051 <id>generate-images</id>
1052 <phase>install</phase>
1058 <id>push-images</id>
1059 <phase>deploy</phase>
1065 <id>docker-start-for-it</id>
1066 <phase>pre-integration-test</phase>
1072 <id>docker-stop-for-it</id>
1073 <phase>post-integration-test</phase>
1082 <groupId>org.jacoco</groupId>
1083 <artifactId>jacoco-maven-plugin</artifactId>
1084 <version>0.8.2</version>
1086 <dumpOnExit>true</dumpOnExit>
1087 <append>true</append>
1089 <include>org.onap.clamp.*</include>
1094 <id>pre-unit-test</id>
1096 <goal>prepare-agent</goal>
1099 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1100 <propertyName>surefireArgLine</propertyName>
1101 <!-- <append>true</append> -->
1105 <id>pre-integration-test</id>
1106 <phase>pre-integration-test</phase>
1108 <goal>prepare-agent</goal>
1111 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1112 <propertyName>failsafeArgLine</propertyName>
1113 <!-- <append>true</append> -->
1120 <phase>post-integration-test</phase>
1123 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1124 <directory>${project.build.directory}/coverage-reports</directory>
1126 <include>*.exec</include>
1130 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1136 <!-- This plugin will be useful when we will have multi-modules project -->
1138 <groupId>org.codehaus.mojo</groupId>
1139 <artifactId>versions-maven-plugin</artifactId>
1140 <version>1.3.1</version>
1144 <groupId>com.github.eirslett</groupId>
1145 <artifactId>frontend-maven-plugin</artifactId>
1146 <version>1.6</version>
1148 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1149 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1150 <skip>${maven.test.skip}</skip>
1155 <id>install_node_and_npm</id>
1157 <goal>install-node-and-npm</goal>
1161 <nodeVersion>v8.11.1</nodeVersion>
1162 <npmVersion>5.6.0</npmVersion>
1166 <id>npm_install</id>
1172 <arguments>install</arguments>
1182 <arguments>run-script test:coverage</arguments>