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.2-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>onap-releases</id>
151 <name>Clamp Release Repository</name>
152 <url>https://nexus.onap.org/content/repositories/releases/</url>
155 <id>onap-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>Maven 2 repository 2</name>
169 <url>http://repo2.maven.org/maven2/</url>
172 <id>onap-releases</id>
173 <name>ONAP Release Repository</name>
174 <url>https://nexus.onap.org/content/repositories/releases/</url>
177 <id>onap-staging</id>
178 <name>ONAP Staging Repository</name>
179 <url>https://nexus.onap.org/content/repositories/staging/</url>
182 <id>onap-snapshots</id>
183 <name>ONAP Snapshot Repository</name>
184 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
186 <enabled>true</enabled>
189 <enabled>false</enabled>
194 <name>Spring repo</name>
195 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
198 <id>repository.jboss.org-public</id>
199 <name>JBoss.org Maven repository</name>
200 <url>https://repository.jboss.org/nexus/content/groups/public</url>
204 <dependencyManagement>
206 <!-- Spring Boot BOM -->
208 <groupId>org.springframework.boot</groupId>
209 <artifactId>spring-boot-dependencies</artifactId>
210 <version>${springboot.version}</version>
212 <scope>import</scope>
216 <groupId>org.apache.camel</groupId>
217 <artifactId>camel-spring-boot-dependencies</artifactId>
218 <version>${camel.version}</version>
220 <scope>import</scope>
223 </dependencyManagement>
227 <groupId>com.att.eelf</groupId>
228 <artifactId>eelf-core</artifactId>
229 <version>${eelf.core.version}</version>
232 <groupId>org.codehaus.janino</groupId>
233 <artifactId>janino</artifactId>
234 <version>3.0.8</version>
237 <groupId>org.apache.tomcat.embed</groupId>
238 <artifactId>tomcat-embed-core</artifactId>
239 <version>${tomcat.version}</version>
242 <groupId>org.apache.tomcat.embed</groupId>
243 <artifactId>tomcat-embed-el</artifactId>
244 <version>${tomcat.version}</version>
247 <groupId>org.apache.tomcat.embed</groupId>
248 <artifactId>tomcat-embed-websocket</artifactId>
249 <version>${tomcat.version}</version>
252 <groupId>org.apache.tomcat</groupId>
253 <artifactId>tomcat-annotations-api</artifactId>
254 <version>${tomcat.version}</version>
258 <groupId>org.apache.camel</groupId>
259 <artifactId>camel-spring-boot-starter</artifactId>
262 <groupId>org.apache.camel</groupId>
263 <artifactId>camel-jaxb-starter</artifactId>
266 <groupId>org.apache.camel</groupId>
267 <artifactId>camel-servlet-starter</artifactId>
270 <groupId>org.apache.camel</groupId>
271 <artifactId>camel-jackson-starter</artifactId>
274 <groupId>org.apache.camel</groupId>
275 <artifactId>camel-swagger-java-starter</artifactId>
278 <groupId>javax.ws.rs</groupId>
279 <artifactId>jsr311-api</artifactId>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-ext</artifactId>
288 <groupId>javax.xml.bind</groupId>
289 <artifactId>jaxb-api</artifactId>
290 <version>2.3.0</version>
293 <groupId>org.glassfish.jersey.core</groupId>
294 <artifactId>jersey-common</artifactId>
295 <version>2.27</version>
297 <!-- Spring famework -->
299 <groupId>org.springframework.boot</groupId>
300 <artifactId>spring-boot-starter-web</artifactId>
303 <groupId>org.springframework.boot</groupId>
304 <artifactId>spring-boot-starter-tomcat</artifactId>
307 <groupId>org.springframework</groupId>
308 <artifactId>spring-jdbc</artifactId>
311 <groupId>org.springframework.boot</groupId>
312 <artifactId>spring-boot-starter-security</artifactId>
315 <groupId>org.springframework.boot</groupId>
316 <artifactId>spring-boot-autoconfigure</artifactId>
319 <groupId>org.springframework.boot</groupId>
320 <artifactId>spring-boot-starter-test</artifactId>
324 <groupId>com.vaadin.external.google</groupId>
325 <artifactId>android-json</artifactId>
329 <!-- Others dependencies -->
331 <groupId>org.onap.aaf.authz</groupId>
332 <artifactId>aaf-cadi-aaf</artifactId>
333 <version>2.1.1</version>
336 <groupId>javax.servlet</groupId>
337 <artifactId>servlet-api</artifactId>
342 <groupId>ch.qos.logback</groupId>
343 <artifactId>logback-core</artifactId>
344 <version>1.2.3</version>
347 <groupId>ch.qos.logback</groupId>
348 <artifactId>logback-classic</artifactId>
349 <version>1.2.3</version>
352 <groupId>commons-dbcp</groupId>
353 <artifactId>commons-dbcp</artifactId>
354 <version>1.4</version>
357 <groupId>commons-io</groupId>
358 <artifactId>commons-io</artifactId>
359 <version>2.6</version>
362 <groupId>com.googlecode.json-simple</groupId>
363 <artifactId>json-simple</artifactId>
366 <groupId>org.apache.commons</groupId>
367 <artifactId>commons-vfs2</artifactId>
368 <version>2.2</version>
371 <groupId>joda-time</groupId>
372 <artifactId>joda-time</artifactId>
375 <groupId>org.slf4j</groupId>
376 <artifactId>slf4j-api</artifactId>
379 <groupId>javax.ws.rs</groupId>
380 <artifactId>javax.ws.rs-api</artifactId>
381 <version>2.0</version>
384 <groupId>junit</groupId>
385 <artifactId>junit</artifactId>
388 <groupId>javax.transaction</groupId>
389 <artifactId>jta</artifactId>
390 <version>1.1</version>
393 <groupId>javax.persistence</groupId>
394 <artifactId>persistence-api</artifactId>
395 <version>1.0.2</version>
398 <groupId>org.onap.policy.engine</groupId>
399 <artifactId>PolicyEngineAPI</artifactId>
400 <version>1.3.1</version>
403 <groupId>com.google.guava</groupId>
404 <artifactId>guava</artifactId>
407 <artifactId>log4j</artifactId>
408 <groupId>log4j</groupId>
411 <groupId>org.slf4j</groupId>
412 <artifactId>slf4j-log4j12</artifactId>
415 <artifactId>apache-log4j-extras</artifactId>
416 <groupId>log4j</groupId>
419 <groupId>mysql</groupId>
420 <artifactId>mysql-connector-java</artifactId>
423 <groupId>commons-io</groupId>
424 <artifactId>commons-io</artifactId>
427 <artifactId>grizzly-http-server</artifactId>
428 <groupId>org.glassfish.grizzly</groupId>
431 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
432 <artifactId>dmaapClient</artifactId>
435 <groupId>org.onap.policy.common</groupId>
436 <artifactId>integrity-monitor</artifactId>
439 <groupId>org.onap.policy.common</groupId>
440 <artifactId>integrity-audit</artifactId>
443 <groupId>org.onap.aaf.cadi</groupId>
444 <artifactId>cadi-aaf</artifactId>
447 <groupId>javax.jms</groupId>
448 <artifactId>jms</artifactId>
451 <groupId>commons-fileupload</groupId>
452 <artifactId>commons-fileupload</artifactId>
457 <groupId>org.onap.policy.common</groupId>
458 <artifactId>ONAP-Logging</artifactId>
459 <version>1.2.3</version>
462 <artifactId>log4j</artifactId>
463 <groupId>log4j</groupId>
466 <groupId>org.slf4j</groupId>
467 <artifactId>slf4j-log4j12</artifactId>
470 <artifactId>apache-log4j-extras</artifactId>
471 <groupId>log4j</groupId>
476 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
477 <artifactId>policy-yaml</artifactId>
478 <version>1.2.3</version>
481 <artifactId>log4j</artifactId>
482 <groupId>log4j</groupId>
485 <groupId>org.slf4j</groupId>
486 <artifactId>slf4j-log4j12</artifactId>
489 <artifactId>apache-log4j-extras</artifactId>
490 <groupId>log4j</groupId>
495 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
496 <artifactId>sdc</artifactId>
497 <version>1.2.3</version>
500 <artifactId>log4j</artifactId>
501 <groupId>log4j</groupId>
504 <groupId>org.slf4j</groupId>
505 <artifactId>slf4j-log4j12</artifactId>
508 <artifactId>apache-log4j-extras</artifactId>
509 <groupId>log4j</groupId>
514 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
515 <artifactId>aai</artifactId>
516 <version>1.2.3</version>
519 <artifactId>log4j</artifactId>
520 <groupId>log4j</groupId>
523 <groupId>org.slf4j</groupId>
524 <artifactId>slf4j-log4j12</artifactId>
527 <artifactId>apache-log4j-extras</artifactId>
528 <groupId>log4j</groupId>
533 <groupId>org.apache.commons</groupId>
534 <artifactId>commons-csv</artifactId>
535 <version>1.3</version>
537 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
539 <groupId>org.codehaus.plexus</groupId>
540 <artifactId>plexus-utils</artifactId>
541 <version>3.0.24</version>
544 <groupId>org.jboss.spec.javax.ws.rs</groupId>
545 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
546 <version>1.0.1.Final</version>
549 <groupId>com.google.guava</groupId>
550 <artifactId>guava</artifactId>
552 <!-- Remove the MYSQL connector and replace it by Mariadb -->
554 <groupId>org.mariadb.jdbc</groupId>
555 <artifactId>mariadb-java-client</artifactId>
556 <version>2.2.1</version>
558 <!-- For SDC Controller -->
560 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
561 <artifactId>sdc-distribution-client</artifactId>
562 <version>1.3.0</version>
565 <groupId>org.onap.sdc.sdc-tosca</groupId>
566 <artifactId>sdc-tosca</artifactId>
567 <version>1.4.1</version>
571 <groupId>org.assertj</groupId>
572 <artifactId>assertj-core</artifactId>
573 <version>3.10.0</version>
577 <groupId>org.mockito</groupId>
578 <artifactId>mockito-core</artifactId>
579 <version>1.10.19</version>
585 <id>central-for-plugins</id>
586 <name>Maven 2 repository 2</name>
587 <url>http://repo2.maven.org/maven2/</url>
591 <enabled>false</enabled>
593 <id>jcenter-releases-for-plugins</id>
595 <url>http://jcenter.bintray.com</url>
597 </pluginRepositories>
599 <finalName>clamp</finalName>
603 <directory>src/test/resources</directory>
605 <exclude>**/*.jks</exclude>
606 <exclude>**/*.csar</exclude>
608 <filtering>true</filtering>
611 <directory>src/test/resources/https</directory>
613 <include>**.jks</include>
615 <filtering>false</filtering>
616 <targetPath>https</targetPath>
619 <directory>src/test/resources/example/sdc</directory>
621 <include>**.csar</include>
623 <filtering>false</filtering>
624 <targetPath>example/sdc</targetPath>
627 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
629 <directory>src/test/javascript</directory>
631 <include>**/**.json</include>
633 <filtering>true</filtering>
634 <targetPath>${project.build.directory}/clamp-ui</targetPath>
637 <directory>src/main/resources/META-INF/resources/designer</directory>
638 <filtering>false</filtering>
639 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
643 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
644 Otherwise they will be broken and unreadable
647 <directory>src/main/resources</directory>
648 <filtering>true</filtering>
650 <exclude>clds/aaf/**</exclude>
654 <directory>src/main/resources</directory>
655 <filtering>false</filtering>
657 <include>clds/aaf/**</include>
661 <directory>src/main/docker</directory>
663 <include>**/*</include>
665 <filtering>true</filtering>
670 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
671 generate a list of .adoc files containing the APIs info in more structured
674 <groupId>io.github.swagger2markup</groupId>
675 <artifactId>swagger2markup-maven-plugin</artifactId>
676 <version>1.3.3</version>
679 <groupId>io.github.swagger2markup</groupId>
680 <artifactId>swagger2markup-import-files-ext</artifactId>
681 <version>1.3.3</version>
684 <groupId>io.github.swagger2markup</groupId>
685 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
686 <version>1.3.3</version>
690 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
691 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
693 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
698 <phase>post-integration-test</phase>
700 <goal>convertSwagger2markup</goal>
706 <!-- Run the generated asciidoc through Asciidoctor to generate other
707 documentation types, such as PDFs or HTML5 -->
709 <groupId>org.asciidoctor</groupId>
710 <artifactId>asciidoctor-maven-plugin</artifactId>
711 <version>1.5.6</version>
714 <groupId>org.asciidoctor</groupId>
715 <artifactId>asciidoctorj-pdf</artifactId>
716 <version>1.5.0-alpha.10.1</version>
719 <groupId>org.jruby</groupId>
720 <artifactId>jruby-complete</artifactId>
721 <version>1.7.21</version>
725 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
726 <sourceDocumentName>swagger.adoc</sourceDocumentName>
728 <doctype>book</doctype>
730 <toclevels>3</toclevels>
735 <generated>${project.build.directory}/asciidoc/generated</generated>
742 <phase>post-integration-test</phase>
744 <goal>process-asciidoc</goal>
747 <backend>html5</backend>
748 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
749 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
754 <phase>post-integration-test</phase>
756 <goal>process-asciidoc</goal>
759 <backend>pdf</backend>
760 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
766 <groupId>org.codehaus.groovy.maven</groupId>
767 <artifactId>gmaven-plugin</artifactId>
768 <version>1.0</version>
771 <phase>validate</phase>
776 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-jar-plugin</artifactId>
784 <version>3.0.2</version>
787 <id>jar-with-only-classes</id>
788 <phase>package</phase>
793 <classifier>classes</classifier>
795 <include>org/**</include>
802 <groupId>org.codehaus.mojo</groupId>
803 <artifactId>build-helper-maven-plugin</artifactId>
804 <version>3.0.0</version>
808 <goal>attach-artifact</goal>
810 <phase>package</phase>
814 <file>${project.build.directory}/clamp-classes.jar</file>
816 <classifier>classes</classifier>
825 <groupId>org.springframework.boot</groupId>
826 <artifactId>spring-boot-maven-plugin</artifactId>
827 <!-- Temporary fix -->
828 <version>1.5.13.RELEASE</version>
829 <!-- <version>${springboot.version}</version> -->
833 <goal>repackage</goal>
835 <phase>package</phase>
840 <groupId>org.sonatype.plugins</groupId>
841 <artifactId>nexus-staging-maven-plugin</artifactId>
842 <version>1.6.7</version>
843 <extensions>true</extensions>
845 <nexusUrl>https://nexus.onap.org</nexusUrl>
846 <stagingProfileId>176c31dfe190a</stagingProfileId>
847 <serverId>ecomp-staging</serverId>
848 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
853 <groupId>org.apache.maven.plugins</groupId>
854 <artifactId>maven-surefire-plugin</artifactId>
855 <version>2.19.1</version>
857 <forkCount>1</forkCount>
858 <reuseForks>false</reuseForks>
863 <groupId>org.apache.maven.plugins</groupId>
864 <artifactId>maven-failsafe-plugin</artifactId>
865 <version>2.17</version>
869 <id>integration-tests</id>
871 <goal>integration-test</goal>
876 <include>**/*ItCase.java</include>
878 <forkCount>1</forkCount>
879 <reuseForks>false</reuseForks>
886 <groupId>io.fabric8</groupId>
887 <artifactId>docker-maven-plugin</artifactId>
888 <version>0.26.0</version>
890 <verbose>true</verbose>
891 <apiVersion>1.23</apiVersion>
894 <name>library/mariadb:10.1.11</name>
895 <alias>mariadb</alias>
898 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
900 <hostname>mariadb</hostname>
903 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
904 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
908 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
912 <port>${docker.mariadb.port.host}:3306</port>
917 <name>library/python:2-slim</name>
918 <alias>python</alias>
920 <hostname>python</hostname>
923 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
924 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
937 <port>${docker.http-cache.port.host}:8080</port>
939 <workingDir>/usr/src/http-cache-app</workingDir>
941 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
946 <name>onap/clamp</name>
947 <alias>onap-clamp</alias>
952 <cleanup>true</cleanup>
955 <tag>${project.docker.latesttagtimestamp.version}</tag>
956 <tag>${project.docker.latesttag.version}</tag>
958 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
960 <dockerFile>Dockerfile</dockerFile>
962 <descriptor>assembly/clamp-files.xml</descriptor>
963 <name>onap-clamp</name>
968 <name>onap/clamp-dashboard-logstash</name>
969 <alias>onap-clamp-dashboard-logstash</alias>
974 <cleanup>true</cleanup>
977 <tag>${project.docker.latesttagtimestamp.version}</tag>
978 <tag>${project.docker.latesttag.version}</tag>
980 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
984 <name>onap/clamp-dashboard-kibana</name>
985 <alias>onap-clamp-dashboard-kibana</alias>
990 <cleanup>true</cleanup>
993 <tag>${project.docker.latesttagtimestamp.version}</tag>
994 <tag>${project.docker.latesttag.version}</tag>
996 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1004 <id>generate-images</id>
1005 <phase>install</phase>
1011 <id>push-images</id>
1012 <phase>deploy</phase>
1018 <id>docker-start-for-it</id>
1019 <phase>pre-integration-test</phase>
1025 <id>docker-stop-for-it</id>
1026 <phase>post-integration-test</phase>
1035 <groupId>org.jacoco</groupId>
1036 <artifactId>jacoco-maven-plugin</artifactId>
1037 <version>0.7.7.201606060606</version>
1039 <dumpOnExit>true</dumpOnExit>
1041 <include>org.onap.clamp.*</include>
1046 <id>pre-unit-test</id>
1048 <goal>prepare-agent</goal>
1051 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1052 <!-- <append>true</append> -->
1056 <id>pre-integration-test</id>
1057 <phase>pre-integration-test</phase>
1059 <goal>prepare-agent</goal>
1062 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1063 <!-- <append>true</append> -->
1070 <phase>post-integration-test</phase>
1073 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1074 <directory>${project.build.directory}/coverage-reports</directory>
1076 <include>*.exec</include>
1080 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1086 <!-- This plugin will be useful when we will have multi-modules project -->
1088 <groupId>org.codehaus.mojo</groupId>
1089 <artifactId>versions-maven-plugin</artifactId>
1090 <version>1.3.1</version>
1094 <groupId>com.github.eirslett</groupId>
1095 <artifactId>frontend-maven-plugin</artifactId>
1096 <version>1.6</version>
1098 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1099 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1100 <skip>${maven.test.skip}</skip>
1105 <id>install_node_and_npm</id>
1107 <goal>install-node-and-npm</goal>
1111 <nodeVersion>v8.11.1</nodeVersion>
1112 <npmVersion>5.6.0</npmVersion>
1116 <id>npm_install</id>
1122 <arguments>install</arguments>
1132 <arguments>run-script test:coverage</arguments>