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.3-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.3</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>
455 <groupId>com.att.research.xacml</groupId>
456 <artifactId>xacml</artifactId>
461 <groupId>org.onap.policy.common</groupId>
462 <artifactId>ONAP-Logging</artifactId>
463 <version>1.2.3</version>
466 <artifactId>log4j</artifactId>
467 <groupId>log4j</groupId>
470 <groupId>org.slf4j</groupId>
471 <artifactId>slf4j-log4j12</artifactId>
474 <artifactId>apache-log4j-extras</artifactId>
475 <groupId>log4j</groupId>
480 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
481 <artifactId>policy-yaml</artifactId>
482 <version>1.2.3</version>
485 <artifactId>log4j</artifactId>
486 <groupId>log4j</groupId>
489 <groupId>org.slf4j</groupId>
490 <artifactId>slf4j-log4j12</artifactId>
493 <artifactId>apache-log4j-extras</artifactId>
494 <groupId>log4j</groupId>
499 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
500 <artifactId>sdc</artifactId>
501 <version>1.2.3</version>
504 <artifactId>log4j</artifactId>
505 <groupId>log4j</groupId>
508 <groupId>org.slf4j</groupId>
509 <artifactId>slf4j-log4j12</artifactId>
512 <artifactId>apache-log4j-extras</artifactId>
513 <groupId>log4j</groupId>
518 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
519 <artifactId>aai</artifactId>
520 <version>1.2.3</version>
523 <artifactId>log4j</artifactId>
524 <groupId>log4j</groupId>
527 <groupId>org.slf4j</groupId>
528 <artifactId>slf4j-log4j12</artifactId>
531 <artifactId>apache-log4j-extras</artifactId>
532 <groupId>log4j</groupId>
537 <groupId>org.apache.commons</groupId>
538 <artifactId>commons-csv</artifactId>
539 <version>1.3</version>
541 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
543 <groupId>org.codehaus.plexus</groupId>
544 <artifactId>plexus-utils</artifactId>
545 <version>3.0.24</version>
548 <groupId>org.jboss.spec.javax.ws.rs</groupId>
549 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
550 <version>1.0.1.Final</version>
553 <groupId>com.google.guava</groupId>
554 <artifactId>guava</artifactId>
556 <!-- Remove the MYSQL connector and replace it by Mariadb -->
558 <groupId>org.mariadb.jdbc</groupId>
559 <artifactId>mariadb-java-client</artifactId>
560 <version>2.2.1</version>
562 <!-- For SDC Controller -->
564 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
565 <artifactId>sdc-distribution-client</artifactId>
566 <version>1.3.0</version>
569 <groupId>org.onap.sdc.sdc-tosca</groupId>
570 <artifactId>sdc-tosca</artifactId>
571 <version>1.4.1</version>
575 <groupId>org.assertj</groupId>
576 <artifactId>assertj-core</artifactId>
577 <version>3.10.0</version>
581 <groupId>org.mockito</groupId>
582 <artifactId>mockito-core</artifactId>
583 <version>1.10.19</version>
589 <id>central-for-plugins</id>
590 <name>Maven 2 repository 2</name>
591 <url>http://repo2.maven.org/maven2/</url>
595 <enabled>false</enabled>
597 <id>jcenter-releases-for-plugins</id>
599 <url>http://jcenter.bintray.com</url>
601 </pluginRepositories>
603 <finalName>clamp</finalName>
607 <directory>src/test/resources</directory>
609 <exclude>**/*.jks</exclude>
610 <exclude>**/*.csar</exclude>
612 <filtering>true</filtering>
615 <directory>src/test/resources/https</directory>
617 <include>**.jks</include>
619 <filtering>false</filtering>
620 <targetPath>https</targetPath>
623 <directory>src/test/resources/example/sdc</directory>
625 <include>**.csar</include>
627 <filtering>false</filtering>
628 <targetPath>example/sdc</targetPath>
631 <!-- Copy the NPM package.json for CLAMP UI javascript testing framework -->
633 <directory>src/test/javascript</directory>
635 <include>**/**.json</include>
637 <filtering>true</filtering>
638 <targetPath>${project.build.directory}/clamp-ui</targetPath>
641 <directory>src/main/resources/META-INF/resources/designer</directory>
642 <filtering>false</filtering>
643 <targetPath>${project.build.directory}/clamp-ui/designer</targetPath>
647 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
648 Otherwise they will be broken and unreadable
651 <directory>src/main/resources</directory>
652 <filtering>true</filtering>
654 <exclude>clds/aaf/**</exclude>
658 <directory>src/main/resources</directory>
659 <filtering>false</filtering>
661 <include>clds/aaf/**</include>
665 <directory>src/main/docker</directory>
667 <include>**/*</include>
669 <filtering>true</filtering>
674 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
675 generate a list of .adoc files containing the APIs info in more structured
678 <groupId>io.github.swagger2markup</groupId>
679 <artifactId>swagger2markup-maven-plugin</artifactId>
680 <version>1.3.3</version>
683 <groupId>io.github.swagger2markup</groupId>
684 <artifactId>swagger2markup-import-files-ext</artifactId>
685 <version>1.3.3</version>
688 <groupId>io.github.swagger2markup</groupId>
689 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
690 <version>1.3.3</version>
694 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
695 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
697 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
702 <phase>post-integration-test</phase>
704 <goal>convertSwagger2markup</goal>
710 <!-- Run the generated asciidoc through Asciidoctor to generate other
711 documentation types, such as PDFs or HTML5 -->
713 <groupId>org.asciidoctor</groupId>
714 <artifactId>asciidoctor-maven-plugin</artifactId>
715 <version>1.5.6</version>
718 <groupId>org.asciidoctor</groupId>
719 <artifactId>asciidoctorj-pdf</artifactId>
720 <version>1.5.0-alpha.10.1</version>
723 <groupId>org.jruby</groupId>
724 <artifactId>jruby-complete</artifactId>
725 <version>1.7.21</version>
729 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
730 <sourceDocumentName>swagger.adoc</sourceDocumentName>
732 <doctype>book</doctype>
734 <toclevels>3</toclevels>
739 <generated>${project.build.directory}/asciidoc/generated</generated>
746 <phase>post-integration-test</phase>
748 <goal>process-asciidoc</goal>
751 <backend>html5</backend>
752 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
753 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
758 <phase>post-integration-test</phase>
760 <goal>process-asciidoc</goal>
763 <backend>pdf</backend>
764 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
770 <groupId>org.codehaus.groovy.maven</groupId>
771 <artifactId>gmaven-plugin</artifactId>
772 <version>1.0</version>
775 <phase>validate</phase>
780 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
786 <groupId>org.apache.maven.plugins</groupId>
787 <artifactId>maven-jar-plugin</artifactId>
788 <version>3.0.2</version>
791 <id>jar-with-only-classes</id>
792 <phase>package</phase>
797 <classifier>classes</classifier>
799 <include>org/**</include>
806 <groupId>org.codehaus.mojo</groupId>
807 <artifactId>build-helper-maven-plugin</artifactId>
808 <version>3.0.0</version>
812 <goal>attach-artifact</goal>
814 <phase>package</phase>
818 <file>${project.build.directory}/clamp-classes.jar</file>
820 <classifier>classes</classifier>
829 <groupId>org.springframework.boot</groupId>
830 <artifactId>spring-boot-maven-plugin</artifactId>
831 <!-- Temporary fix -->
832 <version>1.5.13.RELEASE</version>
833 <!-- <version>${springboot.version}</version> -->
837 <goal>repackage</goal>
839 <phase>package</phase>
844 <groupId>org.sonatype.plugins</groupId>
845 <artifactId>nexus-staging-maven-plugin</artifactId>
846 <version>1.6.7</version>
847 <extensions>true</extensions>
849 <nexusUrl>https://nexus.onap.org</nexusUrl>
850 <stagingProfileId>176c31dfe190a</stagingProfileId>
851 <serverId>ecomp-staging</serverId>
852 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
857 <groupId>org.apache.maven.plugins</groupId>
858 <artifactId>maven-surefire-plugin</artifactId>
859 <version>2.22.1</version>
861 <forkCount>1C</forkCount>
862 <reuseForks>true</reuseForks>
863 <useSystemClassLoader>false</useSystemClassLoader>
868 <groupId>org.apache.maven.plugins</groupId>
869 <artifactId>maven-failsafe-plugin</artifactId>
870 <version>2.22.1</version>
873 <id>integration-tests</id>
875 <goal>integration-test</goal>
879 <additionalClasspathElements>
880 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
881 </additionalClasspathElements>
883 <include>**/*ItCase.java</include>
885 <forkCount>1</forkCount>
886 <reuseForks>true</reuseForks>
887 <useSystemClassLoader>false</useSystemClassLoader>
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>
953 <port>${docker.http-cache.port.host}:8080</port>
955 <workingDir>/usr/src/http-cache-app</workingDir>
957 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
962 <name>onap/clamp</name>
963 <alias>onap-clamp</alias>
968 <cleanup>true</cleanup>
971 <tag>${project.docker.latesttagtimestamp.version}</tag>
972 <tag>${project.docker.latesttag.version}</tag>
974 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
976 <dockerFile>Dockerfile</dockerFile>
978 <descriptor>assembly/clamp-files.xml</descriptor>
979 <name>onap-clamp</name>
984 <name>onap/clamp-dashboard-logstash</name>
985 <alias>onap-clamp-dashboard-logstash</alias>
990 <cleanup>true</cleanup>
993 <tag>${project.docker.latesttagtimestamp.version}</tag>
994 <tag>${project.docker.latesttag.version}</tag>
996 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
1000 <name>onap/clamp-dashboard-kibana</name>
1001 <alias>onap-clamp-dashboard-kibana</alias>
1006 <cleanup>true</cleanup>
1009 <tag>${project.docker.latesttagtimestamp.version}</tag>
1010 <tag>${project.docker.latesttag.version}</tag>
1012 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
1020 <id>generate-images</id>
1021 <phase>install</phase>
1027 <id>push-images</id>
1028 <phase>deploy</phase>
1034 <id>docker-start-for-it</id>
1035 <phase>pre-integration-test</phase>
1041 <id>docker-stop-for-it</id>
1042 <phase>post-integration-test</phase>
1051 <groupId>org.jacoco</groupId>
1052 <artifactId>jacoco-maven-plugin</artifactId>
1053 <version>0.8.2</version>
1055 <dumpOnExit>true</dumpOnExit>
1057 <include>org.onap.clamp.*</include>
1059 <propertyName>surefireArgLine</propertyName>
1063 <id>pre-unit-test</id>
1065 <goal>prepare-agent</goal>
1068 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
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 <!-- <append>true</append> -->
1087 <phase>post-integration-test</phase>
1090 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1091 <directory>${project.build.directory}/coverage-reports</directory>
1093 <include>*.exec</include>
1097 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1103 <!-- This plugin will be useful when we will have multi-modules project -->
1105 <groupId>org.codehaus.mojo</groupId>
1106 <artifactId>versions-maven-plugin</artifactId>
1107 <version>1.3.1</version>
1111 <groupId>com.github.eirslett</groupId>
1112 <artifactId>frontend-maven-plugin</artifactId>
1113 <version>1.6</version>
1115 <installDirectory>${project.build.directory}/clamp-ui</installDirectory>
1116 <workingDirectory>${project.build.directory}/clamp-ui</workingDirectory>
1117 <skip>${maven.test.skip}</skip>
1122 <id>install_node_and_npm</id>
1124 <goal>install-node-and-npm</goal>
1128 <nodeVersion>v8.11.1</nodeVersion>
1129 <npmVersion>5.6.0</npmVersion>
1133 <id>npm_install</id>
1139 <arguments>install</arguments>
1149 <arguments>run-script test:coverage</arguments>