1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2019 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.4-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 <docker.mariadb.port.host>3306</docker.mariadb.port.host>
64 <docker.http-cache.port.host>8085</docker.http-cache.port.host>
65 <project.scm.id>git-server</project.scm.id>
66 <java.version>1.8</java.version>
68 <eelf.core.version>1.0.0</eelf.core.version>
69 <camel.version>2.22.0</camel.version>
70 <springboot.version>2.0.6.RELEASE</springboot.version>
72 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
73 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
74 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
75 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
76 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
77 <sonar.projectVersion>${project.version}</sonar.projectVersion>
78 <!-- Enable language to disable javascript analysis -->
79 <sonar.language>java</sonar.language>
80 <!-- Parameters for Javascript coverage
81 <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources>
82 <sonar.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
84 <sonar.exclusions>src/main/resources/**,**/clamp-ui/designer/lib/*</sonar.exclusions>
86 <docker.push.registry>localhost:5000</docker.push.registry>
87 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
88 <docker.skip.build>true</docker.skip.build>
89 <docker.skip.push>true</docker.skip.push>
90 <docker.skip.tag>true</docker.skip.tag>
91 <skip.staging.artifacts>false</skip.staging.artifacts>
92 <python.http.proxy.param/>
93 <tomcat.version>8.5.34</tomcat.version>
101 <name>maven.test.skip</name>
106 <docker.skip.run>true</docker.skip.run>
107 <docker.skip>true</docker.skip>
111 <id>without-IT-only</id>
119 <docker.skip.run>true</docker.skip.run>
120 <docker.skip>true</docker.skip>
124 <id>without-IT-only2</id>
127 <name>skipTests</name>
132 <docker.skip.run>true</docker.skip.run>
133 <docker.skip>true</docker.skip>
139 <skip.staging.artifacts>true</skip.staging.artifacts>
140 <docker.skip.build>false</docker.skip.build>
141 <docker.skip.tag>false</docker.skip.tag>
142 <docker.skip.push>false</docker.skip.push>
143 <docker.skip>false</docker.skip>
148 <distributionManagement>
150 <id>ecomp-releases</id>
151 <name>Clamp Release Repository</name>
152 <url>https://nexus.onap.org/content/repositories/releases/</url>
155 <id>ecomp-snapshots</id>
156 <name>Clamp Snapshot Repository</name>
157 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
158 </snapshotRepository>
161 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
163 </distributionManagement>
168 <name>onap-public</name>
169 <url>https://nexus.onap.org/content/repositories/public/</url>
171 <enabled>true</enabled>
174 <enabled>false</enabled>
178 <id>ecomp-releases</id>
179 <name>ONAP Release Repository</name>
180 <url>https://nexus.onap.org/content/repositories/releases/</url>
183 <id>ecomp-staging</id>
184 <name>ONAP Staging Repository</name>
185 <url>https://nexus.onap.org/content/repositories/staging/</url>
188 <id>ecomp-snapshots</id>
189 <name>ONAP Snapshot Repository</name>
190 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
192 <enabled>true</enabled>
195 <enabled>false</enabled>
200 <url>http://repo1.maven.org/maven2/</url>
206 <name>onap-public</name>
207 <url>https://nexus.onap.org/content/repositories/public/</url>
209 <enabled>true</enabled>
212 <enabled>false</enabled>
217 <url>http://repo1.maven.org/maven2/</url>
219 </pluginRepositories>
221 <dependencyManagement>
223 <!-- Spring Boot BOM -->
225 <groupId>org.springframework.boot</groupId>
226 <artifactId>spring-boot-dependencies</artifactId>
227 <version>${springboot.version}</version>
229 <scope>import</scope>
233 <groupId>org.apache.camel</groupId>
234 <artifactId>camel-spring-boot-dependencies</artifactId>
235 <version>${camel.version}</version>
237 <scope>import</scope>
240 </dependencyManagement>
244 <groupId>com.att.eelf</groupId>
245 <artifactId>eelf-core</artifactId>
246 <version>${eelf.core.version}</version>
249 <groupId>org.codehaus.janino</groupId>
250 <artifactId>janino</artifactId>
251 <version>3.0.8</version>
254 <groupId>org.apache.tomcat.embed</groupId>
255 <artifactId>tomcat-embed-core</artifactId>
256 <version>${tomcat.version}</version>
259 <groupId>org.apache.tomcat.embed</groupId>
260 <artifactId>tomcat-embed-el</artifactId>
261 <version>${tomcat.version}</version>
264 <groupId>org.apache.tomcat.embed</groupId>
265 <artifactId>tomcat-embed-websocket</artifactId>
266 <version>${tomcat.version}</version>
269 <groupId>org.apache.tomcat</groupId>
270 <artifactId>tomcat-annotations-api</artifactId>
271 <version>${tomcat.version}</version>
275 <groupId>org.apache.camel</groupId>
276 <artifactId>camel-spring-boot-starter</artifactId>
279 <groupId>org.apache.camel</groupId>
280 <artifactId>camel-jaxb-starter</artifactId>
283 <groupId>org.apache.camel</groupId>
284 <artifactId>camel-servlet-starter</artifactId>
287 <groupId>org.apache.camel</groupId>
288 <artifactId>camel-jackson-starter</artifactId>
291 <groupId>org.apache.camel</groupId>
292 <artifactId>camel-swagger-java-starter</artifactId>
295 <groupId>javax.ws.rs</groupId>
296 <artifactId>jsr311-api</artifactId>
299 <groupId>org.slf4j</groupId>
300 <artifactId>slf4j-ext</artifactId>
305 <groupId>javax.xml.bind</groupId>
306 <artifactId>jaxb-api</artifactId>
307 <version>2.3.0</version>
310 <groupId>org.glassfish.jersey.core</groupId>
311 <artifactId>jersey-common</artifactId>
312 <version>2.27</version>
314 <!-- Spring famework -->
316 <groupId>org.springframework.boot</groupId>
317 <artifactId>spring-boot-starter-web</artifactId>
320 <groupId>org.springframework.boot</groupId>
321 <artifactId>spring-boot-starter-tomcat</artifactId>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-jdbc</artifactId>
328 <groupId>org.springframework.boot</groupId>
329 <artifactId>spring-boot-starter-security</artifactId>
332 <groupId>org.springframework.boot</groupId>
333 <artifactId>spring-boot-autoconfigure</artifactId>
336 <groupId>org.springframework.boot</groupId>
337 <artifactId>spring-boot-starter-test</artifactId>
341 <groupId>com.vaadin.external.google</groupId>
342 <artifactId>android-json</artifactId>
346 <!-- Others dependencies -->
348 <groupId>org.onap.aaf.authz</groupId>
349 <artifactId>aaf-cadi-aaf</artifactId>
350 <version>2.1.8</version>
353 <groupId>javax.servlet</groupId>
354 <artifactId>servlet-api</artifactId>
359 <groupId>ch.qos.logback</groupId>
360 <artifactId>logback-core</artifactId>
361 <version>1.2.3</version>
364 <groupId>ch.qos.logback</groupId>
365 <artifactId>logback-classic</artifactId>
366 <version>1.2.3</version>
369 <groupId>commons-dbcp</groupId>
370 <artifactId>commons-dbcp</artifactId>
371 <version>1.4</version>
374 <groupId>commons-io</groupId>
375 <artifactId>commons-io</artifactId>
376 <version>2.6</version>
379 <groupId>com.googlecode.json-simple</groupId>
380 <artifactId>json-simple</artifactId>
383 <groupId>org.apache.commons</groupId>
384 <artifactId>commons-vfs2</artifactId>
385 <version>2.2</version>
388 <groupId>joda-time</groupId>
389 <artifactId>joda-time</artifactId>
392 <groupId>org.slf4j</groupId>
393 <artifactId>slf4j-api</artifactId>
396 <groupId>javax.ws.rs</groupId>
397 <artifactId>javax.ws.rs-api</artifactId>
398 <version>2.0</version>
401 <groupId>junit</groupId>
402 <artifactId>junit</artifactId>
405 <groupId>javax.transaction</groupId>
406 <artifactId>jta</artifactId>
407 <version>1.1</version>
410 <groupId>javax.persistence</groupId>
411 <artifactId>persistence-api</artifactId>
412 <version>1.0.2</version>
415 <groupId>org.onap.policy.engine</groupId>
416 <artifactId>PolicyEngineAPI</artifactId>
417 <version>1.3.1</version>
420 <groupId>com.google.guava</groupId>
421 <artifactId>guava</artifactId>
424 <artifactId>log4j</artifactId>
425 <groupId>log4j</groupId>
428 <groupId>org.slf4j</groupId>
429 <artifactId>slf4j-log4j12</artifactId>
432 <artifactId>apache-log4j-extras</artifactId>
433 <groupId>log4j</groupId>
436 <groupId>mysql</groupId>
437 <artifactId>mysql-connector-java</artifactId>
440 <groupId>commons-io</groupId>
441 <artifactId>commons-io</artifactId>
444 <artifactId>grizzly-http-server</artifactId>
445 <groupId>org.glassfish.grizzly</groupId>
448 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
449 <artifactId>dmaapClient</artifactId>
452 <groupId>org.onap.policy.common</groupId>
453 <artifactId>integrity-monitor</artifactId>
456 <groupId>org.onap.policy.common</groupId>
457 <artifactId>integrity-audit</artifactId>
460 <groupId>org.onap.aaf.cadi</groupId>
461 <artifactId>cadi-aaf</artifactId>
464 <groupId>javax.jms</groupId>
465 <artifactId>jms</artifactId>
468 <groupId>commons-fileupload</groupId>
469 <artifactId>commons-fileupload</artifactId>
472 <groupId>com.att.research.xacml</groupId>
473 <artifactId>xacml</artifactId>
478 <groupId>org.onap.policy.common</groupId>
479 <artifactId>ONAP-Logging</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</groupId>
498 <artifactId>policy-yaml</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>sdc</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.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
536 <artifactId>aai</artifactId>
537 <version>1.2.3</version>
540 <artifactId>log4j</artifactId>
541 <groupId>log4j</groupId>
544 <groupId>org.slf4j</groupId>
545 <artifactId>slf4j-log4j12</artifactId>
548 <artifactId>apache-log4j-extras</artifactId>
549 <groupId>log4j</groupId>
554 <groupId>org.apache.commons</groupId>
555 <artifactId>commons-csv</artifactId>
556 <version>1.3</version>
558 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
560 <groupId>org.codehaus.plexus</groupId>
561 <artifactId>plexus-utils</artifactId>
562 <version>3.0.24</version>
565 <groupId>org.jboss.spec.javax.ws.rs</groupId>
566 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
567 <version>1.0.1.Final</version>
570 <groupId>com.google.guava</groupId>
571 <artifactId>guava</artifactId>
573 <!-- Remove the MYSQL connector and replace it by Mariadb -->
575 <groupId>org.mariadb.jdbc</groupId>
576 <artifactId>mariadb-java-client</artifactId>
577 <version>2.2.1</version>
579 <!-- For SDC Controller -->
581 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
582 <artifactId>sdc-distribution-client</artifactId>
583 <version>1.3.0</version>
586 <groupId>org.onap.sdc.sdc-tosca</groupId>
587 <artifactId>sdc-tosca</artifactId>
588 <version>1.4.1</version>
592 <groupId>org.assertj</groupId>
593 <artifactId>assertj-core</artifactId>
594 <version>3.10.0</version>
598 <groupId>org.mockito</groupId>
599 <artifactId>mockito-core</artifactId>
600 <version>1.10.19</version>
606 <finalName>clamp</finalName>
610 <directory>src/test/resources</directory>
612 <exclude>**/*.jks</exclude>
613 <exclude>**/*.csar</exclude>
615 <filtering>true</filtering>
618 <directory>src/test/resources/https</directory>
620 <include>**.jks</include>
622 <filtering>false</filtering>
623 <targetPath>https</targetPath>
626 <directory>src/test/resources/example/sdc</directory>
628 <include>**.csar</include>
630 <filtering>false</filtering>
631 <targetPath>example/sdc</targetPath>
634 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
636 <directory>src/test/javascript</directory>
638 <include>**/**.json</include>
640 <filtering>true</filtering>
641 <targetPath>${project.build.directory}/clamp-ui</targetPath>
644 <directory>src/main/resources/META-INF/resources/designer</directory>
645 <filtering>false</filtering>
646 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
650 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
651 Otherwise they will be broken and unreadable
654 <directory>src/main/resources</directory>
655 <filtering>true</filtering>
657 <exclude>clds/aaf/**</exclude>
661 <directory>src/main/resources</directory>
662 <filtering>false</filtering>
664 <include>clds/aaf/**</include>
668 <directory>src/main/docker</directory>
670 <include>**/*</include>
672 <filtering>true</filtering>
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
681 <groupId>io.github.swagger2markup</groupId>
682 <artifactId>swagger2markup-maven-plugin</artifactId>
683 <version>1.3.3</version>
686 <groupId>io.github.swagger2markup</groupId>
687 <artifactId>swagger2markup-import-files-ext</artifactId>
688 <version>1.3.3</version>
691 <groupId>io.github.swagger2markup</groupId>
692 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
693 <version>1.3.3</version>
697 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
698 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
700 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
705 <phase>post-integration-test</phase>
707 <goal>convertSwagger2markup</goal>
713 <!-- Run the generated asciidoc through Asciidoctor to generate other
714 documentation types, such as PDFs or HTML5 -->
716 <groupId>org.asciidoctor</groupId>
717 <artifactId>asciidoctor-maven-plugin</artifactId>
718 <version>1.5.7.1</version>
721 <groupId>org.asciidoctor</groupId>
722 <artifactId>asciidoctorj-pdf</artifactId>
723 <version>1.5.0-alpha.10.1</version>
727 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
728 <sourceDocumentName>swagger.adoc</sourceDocumentName>
730 <doctype>book</doctype>
732 <toclevels>3</toclevels>
737 <generated>${project.build.directory}/asciidoc/generated</generated>
744 <phase>post-integration-test</phase>
746 <goal>process-asciidoc</goal>
749 <backend>html5</backend>
750 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
751 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
756 <phase>post-integration-test</phase>
758 <goal>process-asciidoc</goal>
761 <backend>pdf</backend>
762 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
768 <groupId>org.codehaus.groovy.maven</groupId>
769 <artifactId>gmaven-plugin</artifactId>
770 <version>1.0</version>
773 <phase>validate</phase>
778 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
784 <groupId>org.apache.maven.plugins</groupId>
785 <artifactId>maven-jar-plugin</artifactId>
786 <version>3.0.2</version>
789 <id>jar-with-only-classes</id>
790 <phase>package</phase>
795 <classifier>classes</classifier>
797 <include>org/**</include>
804 <groupId>org.codehaus.mojo</groupId>
805 <artifactId>build-helper-maven-plugin</artifactId>
806 <version>3.0.0</version>
810 <goal>attach-artifact</goal>
812 <phase>package</phase>
816 <file>${project.build.directory}/clamp-classes.jar</file>
818 <classifier>classes</classifier>
827 <groupId>org.springframework.boot</groupId>
828 <artifactId>spring-boot-maven-plugin</artifactId>
829 <!-- Temporary fix -->
830 <version>1.5.13.RELEASE</version>
831 <!-- <version>${springboot.version}</version> -->
835 <goal>repackage</goal>
837 <phase>package</phase>
842 <groupId>org.sonatype.plugins</groupId>
843 <artifactId>nexus-staging-maven-plugin</artifactId>
844 <version>1.6.7</version>
845 <extensions>true</extensions>
847 <nexusUrl>https://nexus.onap.org</nexusUrl>
848 <stagingProfileId>176c31dfe190a</stagingProfileId>
849 <serverId>ecomp-staging</serverId>
850 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
855 <groupId>org.apache.maven.plugins</groupId>
856 <artifactId>maven-surefire-plugin</artifactId>
857 <version>2.22.1</version>
859 <forkCount>1C</forkCount>
860 <reuseForks>true</reuseForks>
861 <useSystemClassLoader>false</useSystemClassLoader>
862 <argLine>${surefireArgLine}</argLine>
867 <groupId>org.apache.maven.plugins</groupId>
868 <artifactId>maven-failsafe-plugin</artifactId>
869 <version>2.22.1</version>
872 <id>integration-tests</id>
874 <goal>integration-test</goal>
878 <additionalClasspathElements>
879 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
880 </additionalClasspathElements>
882 <include>**/*ItCase.java</include>
884 <forkCount>1</forkCount>
885 <reuseForks>true</reuseForks>
886 <useSystemClassLoader>false</useSystemClassLoader>
887 <argLine>${failsafeArgLine}</argLine>
894 <groupId>io.fabric8</groupId>
895 <artifactId>docker-maven-plugin</artifactId>
896 <version>0.27.2</version>
899 <groupId>org.apache.httpcomponents</groupId>
900 <artifactId>httpclient</artifactId>
901 <version>4.5.5</version>
905 <verbose>true</verbose>
906 <apiVersion>1.35</apiVersion>
909 <name>library/mariadb:10.1.11</name>
910 <alias>mariadb</alias>
913 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
915 <hostname>mariadb</hostname>
918 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
919 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
923 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
927 <port>${docker.mariadb.port.host}:3306</port>
932 <name>library/python:2-slim</name>
933 <alias>python</alias>
935 <hostname>python</hostname>
938 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
939 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
952 <port>${docker.http-cache.port.host}:8080</port>
954 <workingDir>/usr/src/http-cache-app</workingDir>
956 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
961 <name>onap/clamp</name>
962 <alias>onap-clamp</alias>
967 <cleanup>true</cleanup>
970 <tag>${project.docker.latesttagtimestamp.version}</tag>
971 <tag>${project.docker.latesttag.version}</tag>
973 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
975 <dockerFile>Dockerfile</dockerFile>
977 <descriptor>assembly/clamp-files.xml</descriptor>
978 <name>onap-clamp</name>
983 <name>onap/clamp-dashboard-logstash</name>
984 <alias>onap-clamp-dashboard-logstash</alias>
989 <cleanup>true</cleanup>
992 <tag>${project.docker.latesttagtimestamp.version}</tag>
993 <tag>${project.docker.latesttag.version}</tag>
995 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
999 <name>onap/clamp-dashboard-kibana</name>
1000 <alias>onap-clamp-dashboard-kibana</alias>
1005 <cleanup>true</cleanup>
1008 <tag>${project.docker.latesttagtimestamp.version}</tag>
1009 <tag>${project.docker.latesttag.version}</tag>
1011 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1019 <id>generate-images</id>
1020 <phase>install</phase>
1026 <id>push-images</id>
1027 <phase>deploy</phase>
1033 <id>docker-start-for-it</id>
1034 <phase>pre-integration-test</phase>
1040 <id>docker-stop-for-it</id>
1041 <phase>post-integration-test</phase>
1050 <groupId>org.jacoco</groupId>
1051 <artifactId>jacoco-maven-plugin</artifactId>
1052 <version>0.8.2</version>
1054 <dumpOnExit>true</dumpOnExit>
1055 <append>true</append>
1057 <include>org.onap.clamp.*</include>
1062 <id>pre-unit-test</id>
1064 <goal>prepare-agent</goal>
1067 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1068 <propertyName>surefireArgLine</propertyName>
1069 <!-- <append>true</append> -->
1073 <id>pre-integration-test</id>
1074 <phase>pre-integration-test</phase>
1076 <goal>prepare-agent</goal>
1079 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1080 <propertyName>failsafeArgLine</propertyName>
1081 <!-- <append>true</append> -->
1088 <phase>post-integration-test</phase>
1091 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1092 <directory>${project.build.directory}/coverage-reports</directory>
1094 <include>*.exec</include>
1098 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1104 <!-- This plugin will be useful when we will have multi-modules project -->
1106 <groupId>org.codehaus.mojo</groupId>
1107 <artifactId>versions-maven-plugin</artifactId>
1108 <version>1.3.1</version>
1112 <groupId>com.github.eirslett</groupId>
1113 <artifactId>frontend-maven-plugin</artifactId>
1114 <version>1.6</version>
1116 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1117 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1118 <skip>${maven.test.skip}</skip>
1123 <id>install_node_and_npm</id>
1125 <goal>install-node-and-npm</goal>
1129 <nodeVersion>v8.11.1</nodeVersion>
1130 <npmVersion>5.6.0</npmVersion>
1134 <id>npm_install</id>
1140 <arguments>install</arguments>
1150 <arguments>run-script test:coverage</arguments>