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>4.0.0-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-json</artifactId>
307 <groupId>org.springframework.boot</groupId>
308 <artifactId>spring-boot-starter-tomcat</artifactId>
311 <groupId>org.springframework</groupId>
312 <artifactId>spring-jdbc</artifactId>
315 <groupId>org.springframework.boot</groupId>
316 <artifactId>spring-boot-starter-security</artifactId>
319 <groupId>org.springframework.boot</groupId>
320 <artifactId>spring-boot-autoconfigure</artifactId>
323 <groupId>org.springframework.boot</groupId>
324 <artifactId>spring-boot-starter-test</artifactId>
328 <groupId>com.vaadin.external.google</groupId>
329 <artifactId>android-json</artifactId>
333 <!-- Others dependencies -->
335 <groupId>org.onap.aaf.authz</groupId>
336 <artifactId>aaf-cadi-aaf</artifactId>
337 <version>2.1.1</version>
340 <groupId>javax.servlet</groupId>
341 <artifactId>servlet-api</artifactId>
346 <groupId>ch.qos.logback</groupId>
347 <artifactId>logback-core</artifactId>
348 <version>1.2.3</version>
351 <groupId>ch.qos.logback</groupId>
352 <artifactId>logback-classic</artifactId>
353 <version>1.2.3</version>
356 <groupId>commons-dbcp</groupId>
357 <artifactId>commons-dbcp</artifactId>
358 <version>1.4</version>
361 <groupId>commons-io</groupId>
362 <artifactId>commons-io</artifactId>
363 <version>2.6</version>
366 <groupId>com.googlecode.json-simple</groupId>
367 <artifactId>json-simple</artifactId>
370 <groupId>org.apache.commons</groupId>
371 <artifactId>commons-vfs2</artifactId>
372 <version>2.2</version>
375 <groupId>joda-time</groupId>
376 <artifactId>joda-time</artifactId>
379 <groupId>org.slf4j</groupId>
380 <artifactId>slf4j-api</artifactId>
383 <groupId>javax.ws.rs</groupId>
384 <artifactId>javax.ws.rs-api</artifactId>
385 <version>2.0</version>
388 <groupId>junit</groupId>
389 <artifactId>junit</artifactId>
392 <groupId>javax.transaction</groupId>
393 <artifactId>jta</artifactId>
394 <version>1.1</version>
397 <groupId>javax.persistence</groupId>
398 <artifactId>persistence-api</artifactId>
399 <version>1.0.2</version>
402 <groupId>org.onap.policy.engine</groupId>
403 <artifactId>PolicyEngineAPI</artifactId>
404 <version>1.3.3</version>
407 <groupId>com.google.guava</groupId>
408 <artifactId>guava</artifactId>
411 <artifactId>log4j</artifactId>
412 <groupId>log4j</groupId>
415 <groupId>org.slf4j</groupId>
416 <artifactId>slf4j-log4j12</artifactId>
419 <artifactId>apache-log4j-extras</artifactId>
420 <groupId>log4j</groupId>
423 <groupId>mysql</groupId>
424 <artifactId>mysql-connector-java</artifactId>
427 <groupId>commons-io</groupId>
428 <artifactId>commons-io</artifactId>
431 <artifactId>grizzly-http-server</artifactId>
432 <groupId>org.glassfish.grizzly</groupId>
435 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
436 <artifactId>dmaapClient</artifactId>
439 <groupId>org.onap.policy.common</groupId>
440 <artifactId>integrity-monitor</artifactId>
443 <groupId>org.onap.policy.common</groupId>
444 <artifactId>integrity-audit</artifactId>
447 <groupId>com.fasterxml.jackson.core</groupId>
448 <artifactId>jackson-databind</artifactId>
451 <groupId>org.onap.aaf.cadi</groupId>
452 <artifactId>cadi-aaf</artifactId>
455 <groupId>javax.jms</groupId>
456 <artifactId>jms</artifactId>
459 <groupId>commons-fileupload</groupId>
460 <artifactId>commons-fileupload</artifactId>
463 <groupId>com.att.research.xacml</groupId>
464 <artifactId>xacml</artifactId>
469 <groupId>org.onap.policy.common</groupId>
470 <artifactId>ONAP-Logging</artifactId>
471 <version>1.2.3</version>
474 <artifactId>log4j</artifactId>
475 <groupId>log4j</groupId>
478 <groupId>org.slf4j</groupId>
479 <artifactId>slf4j-log4j12</artifactId>
482 <artifactId>apache-log4j-extras</artifactId>
483 <groupId>log4j</groupId>
488 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
489 <artifactId>policy-yaml</artifactId>
490 <version>1.2.3</version>
493 <artifactId>log4j</artifactId>
494 <groupId>log4j</groupId>
497 <groupId>org.slf4j</groupId>
498 <artifactId>slf4j-log4j12</artifactId>
501 <artifactId>apache-log4j-extras</artifactId>
502 <groupId>log4j</groupId>
507 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
508 <artifactId>sdc</artifactId>
509 <version>1.2.3</version>
512 <artifactId>log4j</artifactId>
513 <groupId>log4j</groupId>
516 <groupId>org.slf4j</groupId>
517 <artifactId>slf4j-log4j12</artifactId>
520 <artifactId>apache-log4j-extras</artifactId>
521 <groupId>log4j</groupId>
526 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
527 <artifactId>aai</artifactId>
528 <version>1.2.3</version>
531 <artifactId>log4j</artifactId>
532 <groupId>log4j</groupId>
535 <groupId>org.slf4j</groupId>
536 <artifactId>slf4j-log4j12</artifactId>
539 <artifactId>apache-log4j-extras</artifactId>
540 <groupId>log4j</groupId>
545 <groupId>org.apache.commons</groupId>
546 <artifactId>commons-csv</artifactId>
547 <version>1.3</version>
549 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
551 <groupId>org.codehaus.plexus</groupId>
552 <artifactId>plexus-utils</artifactId>
553 <version>3.0.24</version>
556 <groupId>org.jboss.spec.javax.ws.rs</groupId>
557 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
558 <version>1.0.1.Final</version>
561 <groupId>com.google.guava</groupId>
562 <artifactId>guava</artifactId>
564 <!-- Remove the MYSQL connector and replace it by Mariadb -->
566 <groupId>org.mariadb.jdbc</groupId>
567 <artifactId>mariadb-java-client</artifactId>
568 <version>2.2.1</version>
570 <!-- For SDC Controller -->
572 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
573 <artifactId>sdc-distribution-client</artifactId>
574 <version>1.3.0</version>
577 <groupId>org.onap.sdc.sdc-tosca</groupId>
578 <artifactId>sdc-tosca</artifactId>
579 <version>1.4.1</version>
582 <groupId>com.fasterxml.jackson.core</groupId>
583 <artifactId>jackson-databind</artifactId>
589 <groupId>org.assertj</groupId>
590 <artifactId>assertj-core</artifactId>
591 <version>3.10.0</version>
595 <groupId>org.mockito</groupId>
596 <artifactId>mockito-core</artifactId>
597 <version>1.10.19</version>
603 <id>central-for-plugins</id>
604 <name>Maven 2 repository 2</name>
605 <url>http://repo2.maven.org/maven2/</url>
609 <enabled>false</enabled>
611 <id>jcenter-releases-for-plugins</id>
613 <url>http://jcenter.bintray.com</url>
615 </pluginRepositories>
617 <finalName>clamp</finalName>
621 <directory>src/test/resources</directory>
623 <exclude>**/*.jks</exclude>
624 <exclude>**/*.csar</exclude>
626 <filtering>true</filtering>
629 <directory>src/test/resources/https</directory>
631 <include>**.jks</include>
633 <filtering>false</filtering>
634 <targetPath>https</targetPath>
637 <directory>src/test/resources/example/sdc</directory>
639 <include>**.csar</include>
641 <filtering>false</filtering>
642 <targetPath>example/sdc</targetPath>
645 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
647 <directory>src/test/javascript</directory>
649 <include>**/**.json</include>
651 <filtering>true</filtering>
652 <targetPath>${project.build.directory}/clamp-ui</targetPath>
655 <directory>src/main/resources/META-INF/resources/designer</directory>
656 <filtering>false</filtering>
657 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
661 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
662 Otherwise they will be broken and unreadable
665 <directory>src/main/resources</directory>
666 <filtering>true</filtering>
668 <exclude>clds/aaf/**</exclude>
672 <directory>src/main/resources</directory>
673 <filtering>false</filtering>
675 <include>clds/aaf/**</include>
679 <directory>src/main/docker</directory>
681 <include>**/*</include>
683 <filtering>true</filtering>
689 <groupId>org.sonatype.plugins</groupId>
690 <artifactId>port-allocator-maven-plugin</artifactId>
691 <version>1.2</version>
694 <phase>validate</phase>
696 <goal>allocate-ports</goal>
701 <name>docker.mariadb.port.host</name>
704 <name>docker.http-cache.port.host</name>
707 <name>clamp.it.tests.http-redirected</name>
710 <name>clamp.it.tests.https</name>
713 <name>clamp.it.tests.http</name>
720 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
721 generate a list of .adoc files containing the APIs info in more structured
724 <groupId>io.github.swagger2markup</groupId>
725 <artifactId>swagger2markup-maven-plugin</artifactId>
726 <version>1.3.3</version>
729 <groupId>io.github.swagger2markup</groupId>
730 <artifactId>swagger2markup-import-files-ext</artifactId>
731 <version>1.3.3</version>
734 <groupId>io.github.swagger2markup</groupId>
735 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
736 <version>1.3.3</version>
740 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
741 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
743 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
748 <phase>post-integration-test</phase>
750 <goal>convertSwagger2markup</goal>
756 <!-- Run the generated asciidoc through Asciidoctor to generate other
757 documentation types, such as PDFs or HTML5 -->
759 <groupId>org.asciidoctor</groupId>
760 <artifactId>asciidoctor-maven-plugin</artifactId>
761 <version>1.5.6</version>
764 <groupId>org.asciidoctor</groupId>
765 <artifactId>asciidoctorj-pdf</artifactId>
766 <version>1.5.0-alpha.10.1</version>
769 <groupId>org.jruby</groupId>
770 <artifactId>jruby-complete</artifactId>
771 <version>1.7.21</version>
775 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
776 <sourceDocumentName>swagger.adoc</sourceDocumentName>
778 <doctype>book</doctype>
780 <toclevels>3</toclevels>
785 <generated>${project.build.directory}/asciidoc/generated</generated>
792 <phase>post-integration-test</phase>
794 <goal>process-asciidoc</goal>
797 <backend>html5</backend>
798 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
799 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
804 <phase>post-integration-test</phase>
806 <goal>process-asciidoc</goal>
809 <backend>pdf</backend>
810 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
816 <groupId>org.codehaus.groovy.maven</groupId>
817 <artifactId>gmaven-plugin</artifactId>
818 <version>1.0</version>
821 <phase>validate</phase>
826 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
832 <groupId>org.apache.maven.plugins</groupId>
833 <artifactId>maven-jar-plugin</artifactId>
834 <version>3.0.2</version>
837 <id>jar-with-only-classes</id>
838 <phase>package</phase>
843 <classifier>classes</classifier>
845 <include>org/**</include>
852 <groupId>org.codehaus.mojo</groupId>
853 <artifactId>build-helper-maven-plugin</artifactId>
854 <version>3.0.0</version>
858 <goal>attach-artifact</goal>
860 <phase>package</phase>
864 <file>${project.build.directory}/clamp-classes.jar</file>
866 <classifier>classes</classifier>
875 <groupId>org.springframework.boot</groupId>
876 <artifactId>spring-boot-maven-plugin</artifactId>
877 <!-- Temporary fix -->
878 <version>1.5.13.RELEASE</version>
879 <!-- <version>${springboot.version}</version> -->
883 <goal>repackage</goal>
885 <phase>package</phase>
890 <groupId>org.sonatype.plugins</groupId>
891 <artifactId>nexus-staging-maven-plugin</artifactId>
892 <version>1.6.7</version>
893 <extensions>true</extensions>
895 <nexusUrl>https://nexus.onap.org</nexusUrl>
896 <stagingProfileId>176c31dfe190a</stagingProfileId>
897 <serverId>ecomp-staging</serverId>
898 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
903 <groupId>org.apache.maven.plugins</groupId>
904 <artifactId>maven-surefire-plugin</artifactId>
905 <version>2.22.1</version>
907 <forkCount>1C</forkCount>
908 <reuseForks>true</reuseForks>
909 <useSystemClassLoader>false</useSystemClassLoader>
910 <argLine>${surefireArgLine}</argLine>
915 <groupId>org.apache.maven.plugins</groupId>
916 <artifactId>maven-failsafe-plugin</artifactId>
917 <version>2.22.1</version>
920 <id>integration-tests</id>
922 <goal>integration-test</goal>
926 <additionalClasspathElements>
927 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
928 </additionalClasspathElements>
930 <include>**/*ItCase.java</include>
932 <forkCount>1</forkCount>
933 <reuseForks>true</reuseForks>
934 <useSystemClassLoader>false</useSystemClassLoader>
935 <argLine>${failsafeArgLine}</argLine>
942 <groupId>io.fabric8</groupId>
943 <artifactId>docker-maven-plugin</artifactId>
944 <version>0.27.2</version>
947 <groupId>org.apache.httpcomponents</groupId>
948 <artifactId>httpclient</artifactId>
949 <version>4.5.5</version>
953 <verbose>true</verbose>
954 <apiVersion>1.35</apiVersion>
957 <name>library/mariadb:10.1.11</name>
958 <alias>mariadb</alias>
961 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
963 <hostname>mariadb</hostname>
966 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
967 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
971 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
975 <port>${docker.mariadb.port.host}:3306</port>
980 <name>library/python:2-slim</name>
981 <alias>python</alias>
983 <hostname>python</hostname>
986 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
987 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
1000 <port>${docker.http-cache.port.host}:8080</port>
1002 <workingDir>/usr/src/http-cache-app</workingDir>
1004 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1009 <name>onap/clamp</name>
1010 <alias>onap-clamp</alias>
1015 <cleanup>true</cleanup>
1018 <tag>${project.docker.latesttagtimestamp.version}</tag>
1019 <tag>${project.docker.latesttag.version}</tag>
1021 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
1023 <dockerFile>Dockerfile</dockerFile>
1025 <descriptor>assembly/clamp-files.xml</descriptor>
1026 <name>onap-clamp</name>
1031 <name>onap/clamp-dashboard-logstash</name>
1032 <alias>onap-clamp-dashboard-logstash</alias>
1037 <cleanup>true</cleanup>
1040 <tag>${project.docker.latesttagtimestamp.version}</tag>
1041 <tag>${project.docker.latesttag.version}</tag>
1043 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
1047 <name>onap/clamp-dashboard-kibana</name>
1048 <alias>onap-clamp-dashboard-kibana</alias>
1053 <cleanup>true</cleanup>
1056 <tag>${project.docker.latesttagtimestamp.version}</tag>
1057 <tag>${project.docker.latesttag.version}</tag>
1059 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1067 <id>generate-images</id>
1068 <phase>install</phase>
1074 <id>push-images</id>
1075 <phase>deploy</phase>
1081 <id>docker-start-for-it</id>
1082 <phase>pre-integration-test</phase>
1088 <id>docker-stop-for-it</id>
1089 <phase>post-integration-test</phase>
1098 <groupId>org.jacoco</groupId>
1099 <artifactId>jacoco-maven-plugin</artifactId>
1100 <version>0.8.2</version>
1102 <dumpOnExit>true</dumpOnExit>
1103 <append>true</append>
1105 <include>org.onap.clamp.*</include>
1110 <id>pre-unit-test</id>
1112 <goal>prepare-agent</goal>
1115 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1116 <propertyName>surefireArgLine</propertyName>
1117 <!-- <append>true</append> -->
1121 <id>pre-integration-test</id>
1122 <phase>pre-integration-test</phase>
1124 <goal>prepare-agent</goal>
1127 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1128 <propertyName>failsafeArgLine</propertyName>
1129 <!-- <append>true</append> -->
1136 <phase>post-integration-test</phase>
1139 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1140 <directory>${project.build.directory}/coverage-reports</directory>
1142 <include>*.exec</include>
1146 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1152 <!-- This plugin will be useful when we will have multi-modules project -->
1154 <groupId>org.codehaus.mojo</groupId>
1155 <artifactId>versions-maven-plugin</artifactId>
1156 <version>1.3.1</version>
1160 <groupId>com.github.eirslett</groupId>
1161 <artifactId>frontend-maven-plugin</artifactId>
1162 <version>1.6</version>
1164 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1165 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1166 <skip>${maven.test.skip}</skip>
1171 <id>install_node_and_npm</id>
1173 <goal>install-node-and-npm</goal>
1177 <nodeVersion>v8.11.1</nodeVersion>
1178 <npmVersion>5.6.0</npmVersion>
1182 <id>npm_install</id>
1188 <arguments>install</arguments>
1198 <arguments>run-script test:coverage</arguments>