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.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 <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.3.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.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
78 <sonar.projectVersion>${project.version}</sonar.projectVersion>
79 <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources>
80 <sonar.exclusions>src/main/resources/**,**/clamp-ui/designer/lib/*</sonar.exclusions>
82 <docker.push.registry>localhost:5000</docker.push.registry>
83 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
84 <docker.skip.build>true</docker.skip.build>
85 <docker.skip.push>true</docker.skip.push>
86 <docker.skip.tag>true</docker.skip.tag>
87 <skip.staging.artifacts>false</skip.staging.artifacts>
88 <python.http.proxy.param/>
89 <tomcat.version>8.5.32</tomcat.version>
97 <name>maven.test.skip</name>
102 <docker.skip.run>true</docker.skip.run>
103 <docker.skip>true</docker.skip>
107 <id>without-IT-only</id>
115 <docker.skip.run>true</docker.skip.run>
116 <docker.skip>true</docker.skip>
120 <id>without-IT-only2</id>
123 <name>skipTests</name>
128 <docker.skip.run>true</docker.skip.run>
129 <docker.skip>true</docker.skip>
135 <skip.staging.artifacts>true</skip.staging.artifacts>
136 <docker.skip.build>false</docker.skip.build>
137 <docker.skip.tag>false</docker.skip.tag>
138 <docker.skip.push>false</docker.skip.push>
139 <docker.skip>false</docker.skip>
144 <distributionManagement>
146 <id>ecomp-releases</id>
147 <name>Clamp Release Repository</name>
148 <url>https://nexus.onap.org/content/repositories/releases/</url>
151 <id>ecomp-snapshots</id>
152 <name>Clamp Snapshot Repository</name>
153 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
154 </snapshotRepository>
157 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
159 </distributionManagement>
164 <name>Maven 2 repository 2</name>
165 <url>http://repo2.maven.org/maven2/</url>
168 <id>ecomp-releases</id>
169 <name>ONAP Release Repository</name>
170 <url>https://nexus.onap.org/content/repositories/releases/</url>
173 <id>ecomp-staging</id>
174 <name>ONAP Staging Repository</name>
175 <url>https://nexus.onap.org/content/repositories/staging/</url>
178 <id>ecomp-snapshots</id>
179 <name>ONAP Snapshot Repository</name>
180 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
182 <enabled>true</enabled>
185 <enabled>false</enabled>
190 <name>Spring repo</name>
191 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
194 <id>repository.jboss.org-public</id>
195 <name>JBoss.org Maven repository</name>
196 <url>https://repository.jboss.org/nexus/content/groups/public</url>
200 <dependencyManagement>
202 <!-- Spring Boot BOM -->
204 <groupId>org.springframework.boot</groupId>
205 <artifactId>spring-boot-dependencies</artifactId>
206 <version>${springboot.version}</version>
208 <scope>import</scope>
212 <groupId>org.apache.camel</groupId>
213 <artifactId>camel-spring-boot-dependencies</artifactId>
214 <version>${camel.version}</version>
216 <scope>import</scope>
219 </dependencyManagement>
223 <groupId>com.att.eelf</groupId>
224 <artifactId>eelf-core</artifactId>
225 <version>${eelf.core.version}</version>
228 <groupId>org.codehaus.janino</groupId>
229 <artifactId>janino</artifactId>
230 <version>3.0.8</version>
233 <groupId>org.apache.tomcat.embed</groupId>
234 <artifactId>tomcat-embed-core</artifactId>
235 <version>${tomcat.version}</version>
238 <groupId>org.apache.tomcat.embed</groupId>
239 <artifactId>tomcat-embed-el</artifactId>
240 <version>${tomcat.version}</version>
243 <groupId>org.apache.tomcat.embed</groupId>
244 <artifactId>tomcat-embed-websocket</artifactId>
245 <version>${tomcat.version}</version>
248 <groupId>org.apache.tomcat</groupId>
249 <artifactId>tomcat-annotations-api</artifactId>
250 <version>${tomcat.version}</version>
254 <groupId>org.apache.camel</groupId>
255 <artifactId>camel-spring-boot-starter</artifactId>
258 <groupId>org.apache.camel</groupId>
259 <artifactId>camel-jaxb-starter</artifactId>
262 <groupId>org.apache.camel</groupId>
263 <artifactId>camel-servlet-starter</artifactId>
266 <groupId>org.apache.camel</groupId>
267 <artifactId>camel-jackson-starter</artifactId>
270 <groupId>org.apache.camel</groupId>
271 <artifactId>camel-swagger-java-starter</artifactId>
274 <groupId>javax.ws.rs</groupId>
275 <artifactId>jsr311-api</artifactId>
278 <groupId>org.slf4j</groupId>
279 <artifactId>slf4j-ext</artifactId>
284 <groupId>javax.xml.bind</groupId>
285 <artifactId>jaxb-api</artifactId>
286 <version>2.3.0</version>
289 <groupId>org.glassfish.jersey.core</groupId>
290 <artifactId>jersey-common</artifactId>
291 <version>2.27</version>
293 <!-- Spring famework -->
295 <groupId>org.springframework.boot</groupId>
296 <artifactId>spring-boot-starter-web</artifactId>
299 <groupId>org.springframework.boot</groupId>
300 <artifactId>spring-boot-starter-tomcat</artifactId>
303 <groupId>org.springframework</groupId>
304 <artifactId>spring-jdbc</artifactId>
307 <groupId>org.springframework.boot</groupId>
308 <artifactId>spring-boot-starter-security</artifactId>
311 <groupId>org.springframework.boot</groupId>
312 <artifactId>spring-boot-autoconfigure</artifactId>
315 <groupId>org.springframework.boot</groupId>
316 <artifactId>spring-boot-starter-test</artifactId>
320 <groupId>com.vaadin.external.google</groupId>
321 <artifactId>android-json</artifactId>
325 <!-- Others dependencies -->
327 <groupId>org.onap.aaf.authz</groupId>
328 <artifactId>aaf-cadi-aaf</artifactId>
329 <version>2.1.1</version>
332 <groupId>javax.servlet</groupId>
333 <artifactId>servlet-api</artifactId>
338 <groupId>ch.qos.logback</groupId>
339 <artifactId>logback-core</artifactId>
340 <version>1.2.3</version>
343 <groupId>ch.qos.logback</groupId>
344 <artifactId>logback-classic</artifactId>
345 <version>1.2.3</version>
348 <groupId>commons-dbcp</groupId>
349 <artifactId>commons-dbcp</artifactId>
350 <version>1.4</version>
353 <groupId>commons-io</groupId>
354 <artifactId>commons-io</artifactId>
355 <version>2.6</version>
358 <groupId>com.googlecode.json-simple</groupId>
359 <artifactId>json-simple</artifactId>
362 <groupId>org.apache.commons</groupId>
363 <artifactId>commons-vfs2</artifactId>
364 <version>2.2</version>
367 <groupId>joda-time</groupId>
368 <artifactId>joda-time</artifactId>
371 <groupId>org.slf4j</groupId>
372 <artifactId>slf4j-api</artifactId>
375 <groupId>javax.ws.rs</groupId>
376 <artifactId>javax.ws.rs-api</artifactId>
377 <version>2.0</version>
380 <groupId>junit</groupId>
381 <artifactId>junit</artifactId>
384 <groupId>javax.transaction</groupId>
385 <artifactId>jta</artifactId>
386 <version>1.1</version>
389 <groupId>javax.persistence</groupId>
390 <artifactId>persistence-api</artifactId>
391 <version>1.0.2</version>
394 <groupId>org.onap.policy.engine</groupId>
395 <artifactId>PolicyEngineAPI</artifactId>
396 <version>1.3.0-SNAPSHOT</version>
399 <groupId>com.google.guava</groupId>
400 <artifactId>guava</artifactId>
403 <artifactId>log4j</artifactId>
404 <groupId>log4j</groupId>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-log4j12</artifactId>
411 <artifactId>apache-log4j-extras</artifactId>
412 <groupId>log4j</groupId>
415 <groupId>mysql</groupId>
416 <artifactId>mysql-connector-java</artifactId>
419 <groupId>commons-io</groupId>
420 <artifactId>commons-io</artifactId>
423 <artifactId>grizzly-http-server</artifactId>
424 <groupId>org.glassfish.grizzly</groupId>
427 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
428 <artifactId>dmaapClient</artifactId>
431 <groupId>org.onap.policy.common</groupId>
432 <artifactId>integrity-monitor</artifactId>
435 <groupId>org.onap.policy.common</groupId>
436 <artifactId>integrity-audit</artifactId>
439 <groupId>org.onap.aaf.cadi</groupId>
440 <artifactId>cadi-aaf</artifactId>
443 <groupId>javax.jms</groupId>
444 <artifactId>jms</artifactId>
449 <groupId>org.onap.policy.common</groupId>
450 <artifactId>ONAP-Logging</artifactId>
451 <version>1.2.3</version>
454 <artifactId>log4j</artifactId>
455 <groupId>log4j</groupId>
458 <groupId>org.slf4j</groupId>
459 <artifactId>slf4j-log4j12</artifactId>
462 <artifactId>apache-log4j-extras</artifactId>
463 <groupId>log4j</groupId>
468 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
469 <artifactId>policy-yaml</artifactId>
470 <version>1.2.3</version>
473 <artifactId>log4j</artifactId>
474 <groupId>log4j</groupId>
477 <groupId>org.slf4j</groupId>
478 <artifactId>slf4j-log4j12</artifactId>
481 <artifactId>apache-log4j-extras</artifactId>
482 <groupId>log4j</groupId>
487 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
488 <artifactId>sdc</artifactId>
489 <version>1.2.3</version>
492 <artifactId>log4j</artifactId>
493 <groupId>log4j</groupId>
496 <groupId>org.slf4j</groupId>
497 <artifactId>slf4j-log4j12</artifactId>
500 <artifactId>apache-log4j-extras</artifactId>
501 <groupId>log4j</groupId>
506 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
507 <artifactId>aai</artifactId>
508 <version>1.2.3</version>
511 <artifactId>log4j</artifactId>
512 <groupId>log4j</groupId>
515 <groupId>org.slf4j</groupId>
516 <artifactId>slf4j-log4j12</artifactId>
519 <artifactId>apache-log4j-extras</artifactId>
520 <groupId>log4j</groupId>
525 <groupId>org.apache.commons</groupId>
526 <artifactId>commons-csv</artifactId>
527 <version>1.3</version>
529 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
531 <groupId>org.codehaus.plexus</groupId>
532 <artifactId>plexus-utils</artifactId>
533 <version>3.0.24</version>
536 <groupId>commons-fileupload</groupId>
537 <artifactId>commons-fileupload</artifactId>
538 <version>1.3.3</version>
541 <groupId>org.jboss.spec.javax.ws.rs</groupId>
542 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
543 <version>1.0.1.Final</version>
546 <groupId>com.google.guava</groupId>
547 <artifactId>guava</artifactId>
548 <version>25.1-jre</version>
550 <!-- Remove the MYSQL connector and replace it by Mariadb -->
552 <groupId>org.mariadb.jdbc</groupId>
553 <artifactId>mariadb-java-client</artifactId>
554 <version>2.2.1</version>
556 <!-- For SDC Controller -->
558 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
559 <artifactId>sdc-distribution-client</artifactId>
560 <version>1.3.0</version>
563 <groupId>org.onap.sdc.sdc-tosca</groupId>
564 <artifactId>sdc-tosca</artifactId>
565 <version>1.4.1</version>
569 <groupId>org.assertj</groupId>
570 <artifactId>assertj-core</artifactId>
571 <version>3.10.0</version>
575 <groupId>org.mockito</groupId>
576 <artifactId>mockito-core</artifactId>
577 <version>1.10.19</version>
583 <id>central-for-plugins</id>
584 <name>Maven 2 repository 2</name>
585 <url>http://repo2.maven.org/maven2/</url>
589 <enabled>false</enabled>
591 <id>jcenter-releases-for-plugins</id>
593 <url>http://jcenter.bintray.com</url>
595 </pluginRepositories>
597 <finalName>clamp</finalName>
601 <directory>src/test/resources</directory>
603 <exclude>**/*.jks</exclude>
604 <exclude>**/*.csar</exclude>
606 <filtering>true</filtering>
609 <directory>src/test/resources/https</directory>
611 <include>**.jks</include>
613 <filtering>false</filtering>
614 <targetPath>https</targetPath>
617 <directory>src/test/resources/example/sdc</directory>
619 <include>**.csar</include>
621 <filtering>false</filtering>
622 <targetPath>example/sdc</targetPath>
625 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
627 <directory>src/test/javascript</directory>
629 <include>**/**.json</include>
631 <filtering>true</filtering>
632 <targetPath>${project.build.directory}/clamp-ui</targetPath>
635 <directory>src/main/resources/META-INF/resources/designer</directory>
636 <filtering>false</filtering>
637 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
641 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
642 Otherwise they will be broken and unreadable
645 <directory>src/main/resources</directory>
646 <filtering>true</filtering>
648 <exclude>clds/aaf/**</exclude>
652 <directory>src/main/resources</directory>
653 <filtering>false</filtering>
655 <include>clds/aaf/**</include>
659 <directory>src/main/docker</directory>
661 <include>**/*</include>
663 <filtering>true</filtering>
668 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
669 generate a list of .adoc files containing the APIs info in more structured
672 <groupId>io.github.swagger2markup</groupId>
673 <artifactId>swagger2markup-maven-plugin</artifactId>
674 <version>1.3.3</version>
677 <groupId>io.github.swagger2markup</groupId>
678 <artifactId>swagger2markup-import-files-ext</artifactId>
679 <version>1.3.3</version>
682 <groupId>io.github.swagger2markup</groupId>
683 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
684 <version>1.3.3</version>
688 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
689 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
691 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
696 <phase>post-integration-test</phase>
698 <goal>convertSwagger2markup</goal>
704 <!-- Run the generated asciidoc through Asciidoctor to generate other
705 documentation types, such as PDFs or HTML5 -->
707 <groupId>org.asciidoctor</groupId>
708 <artifactId>asciidoctor-maven-plugin</artifactId>
709 <version>1.5.6</version>
712 <groupId>org.asciidoctor</groupId>
713 <artifactId>asciidoctorj-pdf</artifactId>
714 <version>1.5.0-alpha.10.1</version>
717 <groupId>org.jruby</groupId>
718 <artifactId>jruby-complete</artifactId>
719 <version>1.7.21</version>
723 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
724 <sourceDocumentName>swagger.adoc</sourceDocumentName>
726 <doctype>book</doctype>
728 <toclevels>3</toclevels>
733 <generated>${project.build.directory}/asciidoc/generated</generated>
740 <phase>post-integration-test</phase>
742 <goal>process-asciidoc</goal>
745 <backend>html5</backend>
746 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
747 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
752 <phase>post-integration-test</phase>
754 <goal>process-asciidoc</goal>
757 <backend>pdf</backend>
758 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
764 <groupId>org.codehaus.groovy.maven</groupId>
765 <artifactId>gmaven-plugin</artifactId>
766 <version>1.0</version>
769 <phase>validate</phase>
774 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
780 <groupId>org.apache.maven.plugins</groupId>
781 <artifactId>maven-jar-plugin</artifactId>
782 <version>3.0.2</version>
785 <id>jar-with-only-classes</id>
786 <phase>package</phase>
791 <classifier>classes</classifier>
793 <include>org/**</include>
800 <groupId>org.codehaus.mojo</groupId>
801 <artifactId>build-helper-maven-plugin</artifactId>
802 <version>3.0.0</version>
806 <goal>attach-artifact</goal>
808 <phase>package</phase>
812 <file>${project.build.directory}/clamp-classes.jar</file>
814 <classifier>classes</classifier>
823 <groupId>org.springframework.boot</groupId>
824 <artifactId>spring-boot-maven-plugin</artifactId>
825 <!-- Temporary fix -->
826 <version>1.5.13.RELEASE</version>
827 <!-- <version>${springboot.version}</version> -->
831 <goal>repackage</goal>
833 <phase>package</phase>
838 <groupId>org.sonatype.plugins</groupId>
839 <artifactId>nexus-staging-maven-plugin</artifactId>
840 <version>1.6.7</version>
841 <extensions>true</extensions>
843 <nexusUrl>https://nexus.onap.org</nexusUrl>
844 <stagingProfileId>176c31dfe190a</stagingProfileId>
845 <serverId>ecomp-staging</serverId>
846 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
851 <groupId>org.apache.maven.plugins</groupId>
852 <artifactId>maven-surefire-plugin</artifactId>
853 <version>2.19.1</version>
855 <forkCount>1</forkCount>
856 <reuseForks>false</reuseForks>
861 <groupId>org.apache.maven.plugins</groupId>
862 <artifactId>maven-failsafe-plugin</artifactId>
863 <version>2.17</version>
867 <id>integration-tests</id>
869 <goal>integration-test</goal>
874 <include>**/*ItCase.java</include>
876 <forkCount>1</forkCount>
877 <reuseForks>false</reuseForks>
884 <groupId>io.fabric8</groupId>
885 <artifactId>docker-maven-plugin</artifactId>
886 <version>0.26.0</version>
888 <verbose>true</verbose>
889 <apiVersion>1.23</apiVersion>
892 <name>library/mariadb:10.1.11</name>
893 <alias>mariadb</alias>
896 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
898 <hostname>mariadb</hostname>
901 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
902 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
906 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
910 <port>${docker.mariadb.port.host}:3306</port>
915 <name>library/python:2-slim</name>
916 <alias>python</alias>
918 <hostname>python</hostname>
921 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
922 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
935 <port>${docker.http-cache.port.host}:8080</port>
937 <workingDir>/usr/src/http-cache-app</workingDir>
939 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
944 <name>onap/clamp</name>
945 <alias>onap-clamp</alias>
950 <cleanup>true</cleanup>
953 <tag>${project.docker.latesttagtimestamp.version}</tag>
954 <tag>${project.docker.latesttag.version}</tag>
956 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
958 <dockerFile>Dockerfile</dockerFile>
960 <descriptor>assembly/clamp-files.xml</descriptor>
961 <name>onap-clamp</name>
966 <name>onap/clamp-dashboard-logstash</name>
967 <alias>onap-clamp-dashboard-logstash</alias>
972 <cleanup>true</cleanup>
975 <tag>${project.docker.latesttagtimestamp.version}</tag>
976 <tag>${project.docker.latesttag.version}</tag>
978 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
982 <name>onap/clamp-dashboard-kibana</name>
983 <alias>onap-clamp-dashboard-kibana</alias>
988 <cleanup>true</cleanup>
991 <tag>${project.docker.latesttagtimestamp.version}</tag>
992 <tag>${project.docker.latesttag.version}</tag>
994 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1002 <id>generate-images</id>
1003 <phase>install</phase>
1009 <id>push-images</id>
1010 <phase>deploy</phase>
1016 <id>docker-start-for-it</id>
1017 <phase>pre-integration-test</phase>
1023 <id>docker-stop-for-it</id>
1024 <phase>post-integration-test</phase>
1033 <groupId>org.jacoco</groupId>
1034 <artifactId>jacoco-maven-plugin</artifactId>
1035 <version>0.7.7.201606060606</version>
1037 <dumpOnExit>true</dumpOnExit>
1039 <include>org.onap.clamp.*</include>
1044 <id>pre-unit-test</id>
1046 <goal>prepare-agent</goal>
1049 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1050 <!-- <append>true</append> -->
1054 <id>pre-integration-test</id>
1055 <phase>pre-integration-test</phase>
1057 <goal>prepare-agent</goal>
1060 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1061 <!-- <append>true</append> -->
1068 <phase>post-integration-test</phase>
1071 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1072 <directory>${project.build.directory}/coverage-reports</directory>
1074 <include>*.exec</include>
1078 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1084 <!-- This plugin will be useful when we will have multi-modules project -->
1086 <groupId>org.codehaus.mojo</groupId>
1087 <artifactId>versions-maven-plugin</artifactId>
1088 <version>1.3.1</version>
1092 <groupId>com.github.eirslett</groupId>
1093 <artifactId>frontend-maven-plugin</artifactId>
1094 <version>1.6</version>
1096 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1097 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1098 <skip>${maven.test.skip}</skip>
1103 <id>install_node_and_npm</id>
1105 <goal>install-node-and-npm</goal>
1109 <nodeVersion>v8.11.1</nodeVersion>
1110 <npmVersion>5.6.0</npmVersion>
1114 <id>npm_install</id>
1120 <arguments>install</arguments>
1130 <arguments>run-script test:coverage</arguments>