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-gson-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>
284 <groupId>com.fasterxml.jackson.core</groupId>
285 <artifactId>jackson-databind</artifactId>
290 <groupId>javax.xml.bind</groupId>
291 <artifactId>jaxb-api</artifactId>
292 <version>2.3.0</version>
295 <groupId>org.glassfish.jersey.core</groupId>
296 <artifactId>jersey-common</artifactId>
297 <version>2.27</version>
299 <!-- Spring famework -->
301 <groupId>org.springframework.boot</groupId>
302 <artifactId>spring-boot-starter-web</artifactId>
305 <groupId>org.springframework.boot</groupId>
306 <artifactId>spring-boot-starter-json</artifactId>
311 <groupId>org.springframework.boot</groupId>
312 <artifactId>spring-boot-starter-tomcat</artifactId>
315 <groupId>org.springframework</groupId>
316 <artifactId>spring-jdbc</artifactId>
319 <groupId>org.springframework.boot</groupId>
320 <artifactId>spring-boot-starter-security</artifactId>
323 <groupId>org.springframework.boot</groupId>
324 <artifactId>spring-boot-autoconfigure</artifactId>
327 <groupId>org.springframework.boot</groupId>
328 <artifactId>spring-boot-starter-test</artifactId>
332 <groupId>com.vaadin.external.google</groupId>
333 <artifactId>android-json</artifactId>
337 <!-- Others dependencies -->
339 <groupId>org.onap.aaf.authz</groupId>
340 <artifactId>aaf-cadi-aaf</artifactId>
341 <version>2.1.1</version>
344 <groupId>javax.servlet</groupId>
345 <artifactId>servlet-api</artifactId>
350 <groupId>ch.qos.logback</groupId>
351 <artifactId>logback-core</artifactId>
352 <version>1.2.3</version>
355 <groupId>ch.qos.logback</groupId>
356 <artifactId>logback-classic</artifactId>
357 <version>1.2.3</version>
360 <groupId>commons-dbcp</groupId>
361 <artifactId>commons-dbcp</artifactId>
362 <version>1.4</version>
365 <groupId>commons-io</groupId>
366 <artifactId>commons-io</artifactId>
367 <version>2.6</version>
370 <groupId>com.googlecode.json-simple</groupId>
371 <artifactId>json-simple</artifactId>
374 <groupId>org.apache.commons</groupId>
375 <artifactId>commons-vfs2</artifactId>
376 <version>2.2</version>
379 <groupId>joda-time</groupId>
380 <artifactId>joda-time</artifactId>
383 <groupId>org.slf4j</groupId>
384 <artifactId>slf4j-api</artifactId>
387 <groupId>javax.ws.rs</groupId>
388 <artifactId>javax.ws.rs-api</artifactId>
389 <version>2.0</version>
392 <groupId>junit</groupId>
393 <artifactId>junit</artifactId>
396 <groupId>javax.transaction</groupId>
397 <artifactId>jta</artifactId>
398 <version>1.1</version>
401 <groupId>javax.persistence</groupId>
402 <artifactId>persistence-api</artifactId>
403 <version>1.0.2</version>
406 <groupId>org.onap.policy.engine</groupId>
407 <artifactId>PolicyEngineAPI</artifactId>
408 <version>1.3.3</version>
411 <groupId>com.google.guava</groupId>
412 <artifactId>guava</artifactId>
415 <artifactId>log4j</artifactId>
416 <groupId>log4j</groupId>
419 <groupId>org.slf4j</groupId>
420 <artifactId>slf4j-log4j12</artifactId>
423 <artifactId>apache-log4j-extras</artifactId>
424 <groupId>log4j</groupId>
427 <groupId>mysql</groupId>
428 <artifactId>mysql-connector-java</artifactId>
431 <groupId>commons-io</groupId>
432 <artifactId>commons-io</artifactId>
435 <artifactId>grizzly-http-server</artifactId>
436 <groupId>org.glassfish.grizzly</groupId>
439 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
440 <artifactId>dmaapClient</artifactId>
443 <groupId>org.onap.policy.common</groupId>
444 <artifactId>integrity-monitor</artifactId>
447 <groupId>org.onap.policy.common</groupId>
448 <artifactId>integrity-audit</artifactId>
451 <groupId>com.fasterxml.jackson.core</groupId>
452 <artifactId>jackson-databind</artifactId>
455 <groupId>org.onap.aaf.cadi</groupId>
456 <artifactId>cadi-aaf</artifactId>
459 <groupId>javax.jms</groupId>
460 <artifactId>jms</artifactId>
463 <groupId>commons-fileupload</groupId>
464 <artifactId>commons-fileupload</artifactId>
467 <groupId>com.att.research.xacml</groupId>
468 <artifactId>xacml</artifactId>
473 <groupId>org.onap.policy.common</groupId>
474 <artifactId>ONAP-Logging</artifactId>
475 <version>1.2.3</version>
478 <artifactId>log4j</artifactId>
479 <groupId>log4j</groupId>
482 <groupId>org.slf4j</groupId>
483 <artifactId>slf4j-log4j12</artifactId>
486 <artifactId>apache-log4j-extras</artifactId>
487 <groupId>log4j</groupId>
492 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
493 <artifactId>policy-yaml</artifactId>
494 <version>1.2.3</version>
497 <artifactId>log4j</artifactId>
498 <groupId>log4j</groupId>
501 <groupId>org.slf4j</groupId>
502 <artifactId>slf4j-log4j12</artifactId>
505 <artifactId>apache-log4j-extras</artifactId>
506 <groupId>log4j</groupId>
511 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
512 <artifactId>sdc</artifactId>
513 <version>1.2.3</version>
516 <artifactId>log4j</artifactId>
517 <groupId>log4j</groupId>
520 <groupId>org.slf4j</groupId>
521 <artifactId>slf4j-log4j12</artifactId>
524 <artifactId>apache-log4j-extras</artifactId>
525 <groupId>log4j</groupId>
530 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
531 <artifactId>aai</artifactId>
532 <version>1.2.3</version>
535 <artifactId>log4j</artifactId>
536 <groupId>log4j</groupId>
539 <groupId>org.slf4j</groupId>
540 <artifactId>slf4j-log4j12</artifactId>
543 <artifactId>apache-log4j-extras</artifactId>
544 <groupId>log4j</groupId>
549 <groupId>org.apache.commons</groupId>
550 <artifactId>commons-csv</artifactId>
551 <version>1.3</version>
553 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
555 <groupId>org.codehaus.plexus</groupId>
556 <artifactId>plexus-utils</artifactId>
557 <version>3.0.24</version>
560 <groupId>org.jboss.spec.javax.ws.rs</groupId>
561 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
562 <version>1.0.1.Final</version>
565 <groupId>com.google.guava</groupId>
566 <artifactId>guava</artifactId>
568 <!-- Remove the MYSQL connector and replace it by Mariadb -->
570 <groupId>org.mariadb.jdbc</groupId>
571 <artifactId>mariadb-java-client</artifactId>
572 <version>2.2.1</version>
574 <!-- For SDC Controller -->
576 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
577 <artifactId>sdc-distribution-client</artifactId>
578 <version>1.3.0</version>
581 <groupId>org.onap.sdc.sdc-tosca</groupId>
582 <artifactId>sdc-tosca</artifactId>
583 <version>1.5.0</version>
587 <groupId>org.assertj</groupId>
588 <artifactId>assertj-core</artifactId>
589 <version>3.10.0</version>
593 <groupId>org.mockito</groupId>
594 <artifactId>mockito-core</artifactId>
595 <version>1.10.19</version>
601 <id>central-for-plugins</id>
602 <name>Maven 2 repository 2</name>
603 <url>http://repo2.maven.org/maven2/</url>
607 <enabled>false</enabled>
609 <id>jcenter-releases-for-plugins</id>
611 <url>http://jcenter.bintray.com</url>
613 </pluginRepositories>
615 <finalName>clamp</finalName>
619 <directory>src/test/resources</directory>
621 <exclude>**/*.jks</exclude>
622 <exclude>**/*.csar</exclude>
624 <filtering>true</filtering>
627 <directory>src/test/resources/https</directory>
629 <include>**.jks</include>
631 <filtering>false</filtering>
632 <targetPath>https</targetPath>
635 <directory>src/test/resources/example/sdc</directory>
637 <include>**.csar</include>
639 <filtering>false</filtering>
640 <targetPath>example/sdc</targetPath>
643 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
645 <directory>src/test/javascript</directory>
647 <include>**/**.json</include>
649 <filtering>true</filtering>
650 <targetPath>${project.build.directory}/clamp-ui</targetPath>
653 <directory>src/main/resources/META-INF/resources/designer</directory>
654 <filtering>false</filtering>
655 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
659 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
660 Otherwise they will be broken and unreadable
663 <directory>src/main/resources</directory>
664 <filtering>true</filtering>
666 <exclude>clds/aaf/**</exclude>
670 <directory>src/main/resources</directory>
671 <filtering>false</filtering>
673 <include>clds/aaf/**</include>
677 <directory>src/main/docker</directory>
679 <include>**/*</include>
681 <filtering>true</filtering>
687 <groupId>org.sonatype.plugins</groupId>
688 <artifactId>port-allocator-maven-plugin</artifactId>
689 <version>1.2</version>
692 <phase>validate</phase>
694 <goal>allocate-ports</goal>
699 <name>docker.mariadb.port.host</name>
702 <name>docker.http-cache.port.host</name>
705 <name>clamp.it.tests.http-redirected</name>
708 <name>clamp.it.tests.https</name>
711 <name>clamp.it.tests.http</name>
718 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
719 generate a list of .adoc files containing the APIs info in more structured
722 <groupId>io.github.swagger2markup</groupId>
723 <artifactId>swagger2markup-maven-plugin</artifactId>
724 <version>1.3.3</version>
727 <groupId>io.github.swagger2markup</groupId>
728 <artifactId>swagger2markup-import-files-ext</artifactId>
729 <version>1.3.3</version>
732 <groupId>io.github.swagger2markup</groupId>
733 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
734 <version>1.3.3</version>
738 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
739 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
741 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
746 <phase>post-integration-test</phase>
748 <goal>convertSwagger2markup</goal>
754 <!-- Run the generated asciidoc through Asciidoctor to generate other
755 documentation types, such as PDFs or HTML5 -->
757 <groupId>org.asciidoctor</groupId>
758 <artifactId>asciidoctor-maven-plugin</artifactId>
759 <version>1.5.6</version>
762 <groupId>org.asciidoctor</groupId>
763 <artifactId>asciidoctorj-pdf</artifactId>
764 <version>1.5.0-alpha.10.1</version>
767 <groupId>org.jruby</groupId>
768 <artifactId>jruby-complete</artifactId>
769 <version>1.7.21</version>
773 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
774 <sourceDocumentName>swagger.adoc</sourceDocumentName>
776 <doctype>book</doctype>
778 <toclevels>3</toclevels>
783 <generated>${project.build.directory}/asciidoc/generated</generated>
790 <phase>post-integration-test</phase>
792 <goal>process-asciidoc</goal>
795 <backend>html5</backend>
796 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
797 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
802 <phase>post-integration-test</phase>
804 <goal>process-asciidoc</goal>
807 <backend>pdf</backend>
808 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
814 <groupId>org.codehaus.groovy.maven</groupId>
815 <artifactId>gmaven-plugin</artifactId>
816 <version>1.0</version>
819 <phase>validate</phase>
824 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
830 <groupId>org.apache.maven.plugins</groupId>
831 <artifactId>maven-jar-plugin</artifactId>
832 <version>3.0.2</version>
835 <id>jar-with-only-classes</id>
836 <phase>package</phase>
841 <classifier>classes</classifier>
843 <include>org/**</include>
850 <groupId>org.codehaus.mojo</groupId>
851 <artifactId>build-helper-maven-plugin</artifactId>
852 <version>3.0.0</version>
856 <goal>attach-artifact</goal>
858 <phase>package</phase>
862 <file>${project.build.directory}/clamp-classes.jar</file>
864 <classifier>classes</classifier>
873 <groupId>org.springframework.boot</groupId>
874 <artifactId>spring-boot-maven-plugin</artifactId>
875 <!-- Temporary fix -->
876 <version>1.5.13.RELEASE</version>
877 <!-- <version>${springboot.version}</version> -->
881 <goal>repackage</goal>
883 <phase>package</phase>
888 <groupId>org.sonatype.plugins</groupId>
889 <artifactId>nexus-staging-maven-plugin</artifactId>
890 <version>1.6.7</version>
891 <extensions>true</extensions>
893 <nexusUrl>https://nexus.onap.org</nexusUrl>
894 <stagingProfileId>176c31dfe190a</stagingProfileId>
895 <serverId>ecomp-staging</serverId>
896 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
901 <groupId>org.apache.maven.plugins</groupId>
902 <artifactId>maven-surefire-plugin</artifactId>
903 <version>2.22.1</version>
905 <forkCount>1C</forkCount>
906 <reuseForks>true</reuseForks>
907 <useSystemClassLoader>false</useSystemClassLoader>
908 <argLine>${surefireArgLine}</argLine>
913 <groupId>org.apache.maven.plugins</groupId>
914 <artifactId>maven-failsafe-plugin</artifactId>
915 <version>2.22.1</version>
918 <id>integration-tests</id>
920 <goal>integration-test</goal>
924 <additionalClasspathElements>
925 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
926 </additionalClasspathElements>
928 <include>**/*ItCase.java</include>
930 <forkCount>1</forkCount>
931 <reuseForks>true</reuseForks>
932 <useSystemClassLoader>false</useSystemClassLoader>
933 <argLine>${failsafeArgLine}</argLine>
940 <groupId>io.fabric8</groupId>
941 <artifactId>docker-maven-plugin</artifactId>
942 <version>0.27.2</version>
945 <groupId>org.apache.httpcomponents</groupId>
946 <artifactId>httpclient</artifactId>
947 <version>4.5.5</version>
951 <verbose>true</verbose>
952 <apiVersion>1.35</apiVersion>
955 <name>library/mariadb:10.1.11</name>
956 <alias>mariadb</alias>
959 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
961 <hostname>mariadb</hostname>
964 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
965 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
969 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
973 <port>${docker.mariadb.port.host}:3306</port>
978 <name>library/python:2-slim</name>
979 <alias>python</alias>
981 <hostname>python</hostname>
984 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
985 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
998 <port>${docker.http-cache.port.host}:8080</port>
1000 <workingDir>/usr/src/http-cache-app</workingDir>
1002 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1007 <name>onap/clamp</name>
1008 <alias>onap-clamp</alias>
1013 <cleanup>true</cleanup>
1016 <tag>${project.docker.latesttagtimestamp.version}</tag>
1017 <tag>${project.docker.latesttag.version}</tag>
1019 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
1021 <dockerFile>Dockerfile</dockerFile>
1023 <descriptor>assembly/clamp-files.xml</descriptor>
1024 <name>onap-clamp</name>
1029 <name>onap/clamp-dashboard-logstash</name>
1030 <alias>onap-clamp-dashboard-logstash</alias>
1035 <cleanup>true</cleanup>
1038 <tag>${project.docker.latesttagtimestamp.version}</tag>
1039 <tag>${project.docker.latesttag.version}</tag>
1041 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
1045 <name>onap/clamp-dashboard-kibana</name>
1046 <alias>onap-clamp-dashboard-kibana</alias>
1051 <cleanup>true</cleanup>
1054 <tag>${project.docker.latesttagtimestamp.version}</tag>
1055 <tag>${project.docker.latesttag.version}</tag>
1057 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1065 <id>generate-images</id>
1066 <phase>install</phase>
1072 <id>push-images</id>
1073 <phase>deploy</phase>
1079 <id>docker-start-for-it</id>
1080 <phase>pre-integration-test</phase>
1086 <id>docker-stop-for-it</id>
1087 <phase>post-integration-test</phase>
1096 <groupId>org.jacoco</groupId>
1097 <artifactId>jacoco-maven-plugin</artifactId>
1098 <version>0.8.2</version>
1100 <dumpOnExit>true</dumpOnExit>
1101 <append>true</append>
1103 <include>org.onap.clamp.*</include>
1108 <id>pre-unit-test</id>
1110 <goal>prepare-agent</goal>
1113 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1114 <propertyName>surefireArgLine</propertyName>
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 <propertyName>failsafeArgLine</propertyName>
1127 <!-- <append>true</append> -->
1134 <phase>post-integration-test</phase>
1137 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1138 <directory>${project.build.directory}/coverage-reports</directory>
1140 <include>*.exec</include>
1144 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1150 <!-- This plugin will be useful when we will have multi-modules project -->
1152 <groupId>org.codehaus.mojo</groupId>
1153 <artifactId>versions-maven-plugin</artifactId>
1154 <version>1.3.1</version>
1158 <groupId>com.github.eirslett</groupId>
1159 <artifactId>frontend-maven-plugin</artifactId>
1160 <version>1.6</version>
1162 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1163 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1164 <skip>${maven.test.skip}</skip>
1169 <id>install_node_and_npm</id>
1171 <goal>install-node-and-npm</goal>
1175 <nodeVersion>v8.11.1</nodeVersion>
1176 <npmVersion>5.6.0</npmVersion>
1180 <id>npm_install</id>
1186 <arguments>install</arguments>
1196 <arguments>run-script test:coverage</arguments>