Remove elastic search
[clamp.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP CLAMP
5   ================================================================================
6   Copyright (C) 2017-2019 AT&T Intellectual Property. All rights
7                               reserved.
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
12
13   http://www.apache.org/licenses/LICENSE-2.0
14
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   ===================================================================
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26         <modelVersion>4.0.0</modelVersion>
27         <groupId>org.onap.clamp</groupId>
28         <artifactId>clds</artifactId>
29         <version>4.1.2-SNAPSHOT</version>
30         <name>clamp</name>
31
32
33         <parent>
34                 <groupId>org.onap.oparent</groupId>
35                 <artifactId>oparent</artifactId>
36                 <version>2.0.0</version>
37         </parent>
38
39         <description>
40                This is the MAVEN project that builds everything for ONAP CLAMP.
41                Docker engine is normally requires to perfom all possible tasks (including integration tests)
42                
43            It can build:
44            - The ONAP CLAMP JAR that contains CLAMP back-end code.
45            - The DOCKER images for:
46                 * CLAMP backend (Java Spring)
47                 * CLAMP frontend (Javscript React)
48                 * The dashboard - Elastic search
49                 * The dashboard - Logstash
50                 * The dashboard - Kibana
51
52            It can test:
53             - The CLAMP backend, JAVA unit testing
54             - The CLAMP backend, JAVA integration tests (with Spring + docker mariadb database + docker policy/dcae emulator written in python)
55             - The CLAMP frontend, Javascrip tests (NodeJS(NPM) + JEST + Enzyme fro React)
56            
57            The test coverage for dev's can be found after a "clean install" build in:
58             - Clamp backend: target/jacoco-dev.exec (unit tests + integration tests merged)
59                 or separately target/coverage-reports/jacoco.exec and target/coverage-reports/jacoco-it.exec
60             - Clamp frontend: target/ui-react/coverage
61
62            Useful mvn commands:
63             - mvn clean install: Build Clamp backend JAR + unit tests + integration tests + NPM tests (+coverage for all)
64             - mvn clean install -DskipITs=true: Build Clamp backend JAR + unit tests + NPM tests (+coverage for all), it does not require a DOCKER engine
65             - mvn clean install -DskipTests -P docker: Build Clamp backend JAR + all docker images
66
67            To start CLAMP (Build it before):
68             - Use docker-compose file in ./extra/docker/clamp/docker-compose.yml
69             - Use the script located in ./extra/bin/start-backend.sh + start-frontend.sh
70             - Use your IDE to use the Jar or start NVM/NPM
71
72         </description>
73
74         <properties>
75                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
76                 <clamp.project.version>${project.version}</clamp.project.version>
77                 <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp>
78                 <maven.compiler.source>1.8</maven.compiler.source>
79                 <maven.compiler.target>1.8</maven.compiler.target>
80                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
81                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
82
83                 <eelf.core.version>1.0.0</eelf.core.version>
84                 <camel.version>2.24.0</camel.version>
85                 <springboot.version>2.1.5.RELEASE</springboot.version>
86
87                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
88                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
89                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
90                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
91                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
92                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
93                 <!-- Enable language to disable javascript analysis -->
94                 <!-- <sonar.language>java</sonar.language> -->
95                 <!-- Parameters for Javascript coverage -->
96                 <sonar.sources>src/main,${project.build.directory}/${ui.react.src}/src</sonar.sources>
97                 <sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
98
99                 <sonar.exclusions>src/main/resources/**</sonar.exclusions>
100
101                 <docker.push.registry>localhost:5000</docker.push.registry>
102                 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
103                 <docker.skip.build>true</docker.skip.build>
104                 <docker.skip.push>true</docker.skip.push>
105                 <docker.skip.tag>true</docker.skip.tag>
106                 <skip.staging.artifacts>false</skip.staging.artifacts>
107                 <python.http.proxy.param />
108                 <tomcat.version>9.0.20</tomcat.version>
109                 <ui.react.src>ui-react</ui.react.src>
110                 <npm.publish.url>https://nexus3.onap.org/repository/npm.snapshot/</npm.publish.url>
111         </properties>
112
113         <profiles>
114                 <profile>
115                         <id>without-test</id>
116                         <activation>
117                                 <property>
118                                         <name>maven.test.skip</name>
119                                         <value>true</value>
120                                 </property>
121                         </activation>
122                         <properties>
123                                 <docker.skip.run>true</docker.skip.run>
124                                 <docker.skip>true</docker.skip>
125                         </properties>
126                 </profile>
127                 <profile>
128                         <id>without-IT-only</id>
129                         <activation>
130                                 <property>
131                                         <name>skipITs</name>
132                                         <value>true</value>
133                                 </property>
134                         </activation>
135                         <properties>
136                                 <docker.skip.run>true</docker.skip.run>
137                                 <docker.skip>true</docker.skip>
138                         </properties>
139                 </profile>
140                 <profile>
141                         <id>without-IT-only2</id>
142                         <activation>
143                                 <property>
144                                         <name>skipTests</name>
145                                         <value>true</value>
146                                 </property>
147                         </activation>
148                         <properties>
149                                 <docker.skip.run>true</docker.skip.run>
150                                 <docker.skip>true</docker.skip>
151                         </properties>
152                 </profile>
153                 <profile>
154                         <id>docker</id>
155                         <properties>
156                                 <skip.staging.artifacts>true</skip.staging.artifacts>
157                                 <docker.skip.build>false</docker.skip.build>
158                                 <docker.skip.tag>false</docker.skip.tag>
159                                 <docker.skip.push>false</docker.skip.push>
160                                 <docker.skip>false</docker.skip>
161                         </properties>
162                 </profile>
163         </profiles>
164
165         <distributionManagement>
166                 <repository>
167                         <id>ecomp-releases</id>
168                         <name>Clamp Release Repository</name>
169                         <url>https://nexus.onap.org/content/repositories/releases/</url>
170                 </repository>
171                 <snapshotRepository>
172                         <id>ecomp-snapshots</id>
173                         <name>Clamp Snapshot Repository</name>
174                         <url>https://nexus.onap.org/content/repositories/snapshots/</url>
175                 </snapshotRepository>
176                 <site>
177                         <id>ecomp-site</id>
178                         <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
179                 </site>
180         </distributionManagement>
181
182         <repositories>
183                 <repository>
184                         <id>onap-public</id>
185                         <name>onap-public</name>
186                         <url>https://nexus.onap.org/content/repositories/public/</url>
187                         <releases>
188                                 <enabled>true</enabled>
189                         </releases>
190                         <snapshots>
191                                 <enabled>false</enabled>
192                         </snapshots>
193                 </repository>
194                 <repository>
195                         <id>ecomp-releases</id>
196                         <name>ONAP Release Repository</name>
197                         <url>https://nexus.onap.org/content/repositories/releases/</url>
198                 </repository>
199                 <repository>
200                         <id>ecomp-staging</id>
201                         <name>ONAP Staging Repository</name>
202                         <url>https://nexus.onap.org/content/repositories/staging/</url>
203                 </repository>
204                 <repository>
205                         <id>ecomp-snapshots</id>
206                         <name>ONAP Snapshot Repository</name>
207                         <url>https://nexus.onap.org/content/repositories/snapshots/</url>
208                         <snapshots>
209                                 <enabled>true</enabled>
210                         </snapshots>
211                         <releases>
212                                 <enabled>false</enabled>
213                         </releases>
214                 </repository>
215                 <repository>
216                         <id>central</id>
217                         <url>http://repo1.maven.org/maven2/</url>
218                 </repository>
219         </repositories>
220         <pluginRepositories>
221                 <pluginRepository>
222                         <id>onap-public</id>
223                         <name>onap-public</name>
224                         <url>https://nexus.onap.org/content/repositories/public/</url>
225                         <releases>
226                                 <enabled>true</enabled>
227                         </releases>
228                         <snapshots>
229                                 <enabled>false</enabled>
230                         </snapshots>
231                 </pluginRepository>
232                 <pluginRepository>
233                         <id>central</id>
234                         <url>http://repo1.maven.org/maven2/</url>
235                 </pluginRepository>
236         </pluginRepositories>
237
238         <dependencyManagement>
239                 <dependencies>
240                         <!-- Spring Boot BOM -->
241                         <dependency>
242                                 <groupId>org.springframework.boot</groupId>
243                                 <artifactId>spring-boot-dependencies</artifactId>
244                                 <version>${springboot.version}</version>
245                                 <type>pom</type>
246                                 <scope>import</scope>
247                         </dependency>
248                         <!-- Camel BOM -->
249                         <dependency>
250                                 <groupId>org.apache.camel</groupId>
251                                 <artifactId>camel-spring-boot-dependencies</artifactId>
252                                 <version>${camel.version}</version>
253                                 <type>pom</type>
254                                 <scope>import</scope>
255                         </dependency>
256                 </dependencies>
257         </dependencyManagement>
258
259         <dependencies>
260                 <dependency>
261                         <groupId>org.apache.xmlgraphics</groupId>
262                         <artifactId>batik-svggen</artifactId>
263                         <version>1.11</version>
264                 </dependency>
265                 <dependency>
266                         <groupId>org.apache.xmlgraphics</groupId>
267                         <artifactId>batik-svg-dom</artifactId>
268                         <version>1.11</version>
269                 </dependency>
270                 <dependency>
271                         <groupId>org.apache.xmlgraphics</groupId>
272                         <artifactId>batik-transcoder</artifactId>
273                         <version>1.11</version>
274                 </dependency>
275                 <dependency>
276                         <groupId>com.att.eelf</groupId>
277                         <artifactId>eelf-core</artifactId>
278                         <version>${eelf.core.version}</version>
279                 </dependency>
280                 <dependency>
281                         <groupId>org.codehaus.janino</groupId>
282                         <artifactId>janino</artifactId>
283                         <version>3.0.8</version>
284                 </dependency>
285                 <dependency>
286                         <groupId>org.apache.tomcat.embed</groupId>
287                         <artifactId>tomcat-embed-core</artifactId>
288                         <version>${tomcat.version}</version>
289                 </dependency>
290                 <dependency>
291                         <groupId>org.apache.tomcat.embed</groupId>
292                         <artifactId>tomcat-embed-el</artifactId>
293                         <version>${tomcat.version}</version>
294                 </dependency>
295                 <dependency>
296                         <groupId>org.apache.tomcat.embed</groupId>
297                         <artifactId>tomcat-embed-websocket</artifactId>
298                         <version>${tomcat.version}</version>
299                 </dependency>
300                 <dependency>
301                         <groupId>org.apache.tomcat</groupId>
302                         <artifactId>tomcat-annotations-api</artifactId>
303                         <version>${tomcat.version}</version>
304                 </dependency>
305                 <!-- For CAMEL -->
306                 <dependency>
307                         <groupId>org.apache.camel</groupId>
308                         <artifactId>camel-http4-starter</artifactId>
309                 </dependency>
310                 <dependency>
311                         <groupId>org.apache.camel</groupId>
312                         <artifactId>camel-spring-boot-starter</artifactId>
313                 </dependency>
314                 <dependency>
315                         <groupId>org.apache.camel</groupId>
316                         <artifactId>camel-jaxb-starter</artifactId>
317                 </dependency>
318                 <dependency>
319                         <groupId>org.apache.camel</groupId>
320                         <artifactId>camel-servlet-starter</artifactId>
321                 </dependency>
322                 <dependency>
323                         <groupId>org.apache.camel</groupId>
324                         <artifactId>camel-gson-starter</artifactId>
325                 </dependency>
326                 <dependency>
327                         <groupId>org.apache.camel</groupId>
328                         <artifactId>camel-swagger-java-starter</artifactId>
329                         <exclusions>
330                                 <exclusion>
331                                         <groupId>javax.ws.rs</groupId>
332                                         <artifactId>jsr311-api</artifactId>
333                                 </exclusion>
334                                 <exclusion>
335                                         <groupId>org.slf4j</groupId>
336                                         <artifactId>slf4j-ext</artifactId>
337                                 </exclusion>
338                                 <exclusion>
339                                         <groupId>com.fasterxml.jackson.core</groupId>
340                                         <artifactId>jackson-databind</artifactId>
341                                 </exclusion>
342                         </exclusions>
343                 </dependency>
344                 <dependency>
345                         <groupId>javax.xml.bind</groupId>
346                         <artifactId>jaxb-api</artifactId>
347                         <version>2.3.0</version>
348                 </dependency>
349                 <dependency>
350                         <groupId>org.glassfish.jersey.core</groupId>
351                         <artifactId>jersey-common</artifactId>
352                         <version>2.27</version>
353                 </dependency>
354                 <!-- Spring famework -->
355                 <dependency>
356                         <groupId>org.springframework.boot</groupId>
357                         <artifactId>spring-boot-starter-web</artifactId>
358                         <exclusions>
359                                 <exclusion>
360                                         <groupId>org.springframework.boot</groupId>
361                                         <artifactId>spring-boot-starter-json</artifactId>
362                                 </exclusion>
363                         </exclusions>
364                 </dependency>
365                 <dependency>
366                         <groupId>org.springframework.boot</groupId>
367                         <artifactId>spring-boot-starter-tomcat</artifactId>
368                 </dependency>
369                 <dependency>
370                         <groupId>org.springframework</groupId>
371                         <artifactId>spring-jdbc</artifactId>
372                 </dependency>
373                 <dependency>
374                         <groupId>org.springframework.boot</groupId>
375                         <artifactId>spring-boot-starter-security</artifactId>
376                 </dependency>
377                 <dependency>
378                         <groupId>org.springframework.boot</groupId>
379                         <artifactId>spring-boot-autoconfigure</artifactId>
380                 </dependency>
381                 <dependency>
382                         <groupId>org.springframework.boot</groupId>
383                         <artifactId>spring-boot-starter-test</artifactId>
384                         <scope>test</scope>
385                         <exclusions>
386                                 <exclusion>
387                                         <groupId>com.vaadin.external.google</groupId>
388                                         <artifactId>android-json</artifactId>
389                                 </exclusion>
390                         </exclusions>
391                 </dependency>
392                 <dependency>
393                         <groupId>org.springframework.boot</groupId>
394                         <artifactId>spring-boot-starter-data-jpa</artifactId>
395                 </dependency>
396                 <!-- Others dependencies -->
397                 <dependency>
398                         <groupId>org.onap.aaf.authz</groupId>
399                         <artifactId>aaf-cadi-aaf</artifactId>
400                         <version>2.1.10</version>
401                         <exclusions>
402                                 <exclusion>
403                                         <groupId>javax.servlet</groupId>
404                                         <artifactId>servlet-api</artifactId>
405                                 </exclusion>
406                         </exclusions>
407                 </dependency>
408                 <dependency>
409                         <groupId>ch.qos.logback</groupId>
410                         <artifactId>logback-core</artifactId>
411                         <version>1.2.3</version>
412                 </dependency>
413                 <dependency>
414                         <groupId>ch.qos.logback</groupId>
415                         <artifactId>logback-classic</artifactId>
416                         <version>1.2.3</version>
417                 </dependency>
418                 <dependency>
419                         <groupId>commons-dbcp</groupId>
420                         <artifactId>commons-dbcp</artifactId>
421                         <version>1.4</version>
422                 </dependency>
423                 <dependency>
424                         <groupId>commons-io</groupId>
425                         <artifactId>commons-io</artifactId>
426                         <version>2.6</version>
427                 </dependency>
428                 <dependency>
429                         <groupId>com.googlecode.json-simple</groupId>
430                         <artifactId>json-simple</artifactId>
431                         <version>1.1.1</version>
432                 </dependency>
433                 <dependency>
434                         <groupId>org.apache.commons</groupId>
435                         <artifactId>commons-vfs2</artifactId>
436                         <version>2.2</version>
437                 </dependency>
438                 <dependency>
439                         <groupId>joda-time</groupId>
440                         <artifactId>joda-time</artifactId>
441                 </dependency>
442                 <dependency>
443                         <groupId>org.slf4j</groupId>
444                         <artifactId>slf4j-api</artifactId>
445                 </dependency>
446                 <dependency>
447                         <groupId>javax.ws.rs</groupId>
448                         <artifactId>javax.ws.rs-api</artifactId>
449                         <version>2.0</version>
450                 </dependency>
451                 <dependency>
452                         <groupId>junit</groupId>
453                         <artifactId>junit</artifactId>
454                 </dependency>
455                 <dependency>
456                         <groupId>javax.transaction</groupId>
457                         <artifactId>jta</artifactId>
458                         <version>1.1</version>
459                 </dependency>
460                 <dependency>
461                         <groupId>javax.persistence</groupId>
462                         <artifactId>persistence-api</artifactId>
463                         <version>1.0.2</version>
464                 </dependency>
465                 <dependency>
466                         <groupId>org.onap.policy.engine</groupId>
467                         <artifactId>PolicyEngineAPI</artifactId>
468                         <version>1.3.3</version>
469                         <exclusions>
470                                 <exclusion>
471                                         <groupId>com.google.guava</groupId>
472                                         <artifactId>guava</artifactId>
473                                 </exclusion>
474                                 <exclusion>
475                                         <artifactId>log4j</artifactId>
476                                         <groupId>log4j</groupId>
477                                 </exclusion>
478                                 <exclusion>
479                                         <groupId>org.slf4j</groupId>
480                                         <artifactId>slf4j-log4j12</artifactId>
481                                 </exclusion>
482                                 <exclusion>
483                                         <artifactId>apache-log4j-extras</artifactId>
484                                         <groupId>log4j</groupId>
485                                 </exclusion>
486                                 <exclusion>
487                                         <groupId>mysql</groupId>
488                                         <artifactId>mysql-connector-java</artifactId>
489                                 </exclusion>
490                                 <exclusion>
491                                         <groupId>commons-io</groupId>
492                                         <artifactId>commons-io</artifactId>
493                                 </exclusion>
494                                 <exclusion>
495                                         <artifactId>grizzly-http-server</artifactId>
496                                         <groupId>org.glassfish.grizzly</groupId>
497                                 </exclusion>
498                                 <exclusion>
499                                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
500                                         <artifactId>dmaapClient</artifactId>
501                                 </exclusion>
502                                 <exclusion>
503                                         <groupId>org.onap.policy.common</groupId>
504                                         <artifactId>integrity-monitor</artifactId>
505                                 </exclusion>
506                                 <exclusion>
507                                         <groupId>org.onap.policy.common</groupId>
508                                         <artifactId>integrity-audit</artifactId>
509                                 </exclusion>
510                                 <exclusion>
511                                         <groupId>com.fasterxml.jackson.core</groupId>
512                                         <artifactId>jackson-databind</artifactId>
513                                 </exclusion>
514                                 <exclusion>
515                                         <groupId>org.onap.aaf.cadi</groupId>
516                                         <artifactId>cadi-aaf</artifactId>
517                                 </exclusion>
518                                 <exclusion>
519                                         <groupId>javax.jms</groupId>
520                                         <artifactId>jms</artifactId>
521                                 </exclusion>
522                                 <exclusion>
523                                         <groupId>commons-fileupload</groupId>
524                                         <artifactId>commons-fileupload</artifactId>
525                                 </exclusion>
526                                 <exclusion>
527                                         <groupId>com.att.research.xacml</groupId>
528                                         <artifactId>xacml</artifactId>
529                                 </exclusion>
530                         </exclusions>
531                 </dependency>
532                 <dependency>
533                         <groupId>org.onap.policy.common</groupId>
534                         <artifactId>ONAP-Logging</artifactId>
535                         <version>1.2.3</version>
536                         <exclusions>
537                                 <exclusion>
538                                         <artifactId>log4j</artifactId>
539                                         <groupId>log4j</groupId>
540                                 </exclusion>
541                                 <exclusion>
542                                         <groupId>org.slf4j</groupId>
543                                         <artifactId>slf4j-log4j12</artifactId>
544                                 </exclusion>
545                                 <exclusion>
546                                         <artifactId>apache-log4j-extras</artifactId>
547                                         <groupId>log4j</groupId>
548                                 </exclusion>
549                         </exclusions>
550                 </dependency>
551                 <dependency>
552                         <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
553                         <artifactId>policy-yaml</artifactId>
554                         <version>1.2.3</version>
555                         <exclusions>
556                                 <exclusion>
557                                         <artifactId>log4j</artifactId>
558                                         <groupId>log4j</groupId>
559                                 </exclusion>
560                                 <exclusion>
561                                         <groupId>org.slf4j</groupId>
562                                         <artifactId>slf4j-log4j12</artifactId>
563                                 </exclusion>
564                                 <exclusion>
565                                         <artifactId>apache-log4j-extras</artifactId>
566                                         <groupId>log4j</groupId>
567                                 </exclusion>
568                         </exclusions>
569                 </dependency>
570                 <dependency>
571                         <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
572                         <artifactId>sdc</artifactId>
573                         <version>1.2.3</version>
574                         <exclusions>
575                                 <exclusion>
576                                         <artifactId>log4j</artifactId>
577                                         <groupId>log4j</groupId>
578                                 </exclusion>
579                                 <exclusion>
580                                         <groupId>org.slf4j</groupId>
581                                         <artifactId>slf4j-log4j12</artifactId>
582                                 </exclusion>
583                                 <exclusion>
584                                         <artifactId>apache-log4j-extras</artifactId>
585                                         <groupId>log4j</groupId>
586                                 </exclusion>
587                         </exclusions>
588                 </dependency>
589                 <dependency>
590                         <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
591                         <artifactId>aai</artifactId>
592                         <version>1.2.3</version>
593                         <exclusions>
594                                 <exclusion>
595                                         <artifactId>log4j</artifactId>
596                                         <groupId>log4j</groupId>
597                                 </exclusion>
598                                 <exclusion>
599                                         <groupId>org.slf4j</groupId>
600                                         <artifactId>slf4j-log4j12</artifactId>
601                                 </exclusion>
602                                 <exclusion>
603                                         <artifactId>apache-log4j-extras</artifactId>
604                                         <groupId>log4j</groupId>
605                                 </exclusion>
606                         </exclusions>
607                 </dependency>
608                 <dependency>
609                         <groupId>org.apache.commons</groupId>
610                         <artifactId>commons-csv</artifactId>
611                         <version>1.3</version>
612                 </dependency>
613                 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
614                 <dependency>
615                         <groupId>org.codehaus.plexus</groupId>
616                         <artifactId>plexus-utils</artifactId>
617                         <version>3.0.24</version>
618                 </dependency>
619                 <dependency>
620                         <groupId>org.jboss.spec.javax.ws.rs</groupId>
621                         <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
622                         <version>1.0.1.Final</version>
623                 </dependency>
624                 <dependency>
625                         <groupId>com.google.guava</groupId>
626                         <artifactId>guava</artifactId>
627                         <version>27.0-jre</version>
628                 </dependency>
629                 <dependency>
630                         <groupId>commons-codec</groupId>
631                         <artifactId>commons-codec</artifactId>
632                         <version>1.13</version>
633                 </dependency>
634                 <!-- Remove the MYSQL connector and replace it by Mariadb -->
635                 <dependency>
636                         <groupId>org.mariadb.jdbc</groupId>
637                         <artifactId>mariadb-java-client</artifactId>
638                         <version>2.2.1</version>
639                 </dependency>
640                 <!-- For SDC Controller -->
641                 <dependency>
642                         <groupId>org.onap.sdc.sdc-distribution-client</groupId>
643                         <artifactId>sdc-distribution-client</artifactId>
644                         <version>1.3.0</version>
645                 </dependency>
646                 <dependency>
647                         <groupId>org.onap.sdc.sdc-tosca</groupId>
648                         <artifactId>sdc-tosca</artifactId>
649                         <version>1.5.1</version>
650                 </dependency>
651                 <!-- TESTING -->
652                 <dependency>
653                         <groupId>org.assertj</groupId>
654                         <artifactId>assertj-core</artifactId>
655                         <version>3.10.0</version>
656                         <scope>test</scope>
657                 </dependency>
658                 <dependency>
659                         <groupId>org.mockito</groupId>
660                         <artifactId>mockito-core</artifactId>
661                         <version>1.10.19</version>
662                         <scope>test</scope>
663                 </dependency>
664         </dependencies>
665
666         <build>
667                 <finalName>clamp</finalName>
668
669                 <testResources>
670                         <testResource>
671                                 <directory>src/test/resources</directory>
672                                 <excludes>
673                                         <exclude>**/*.jks</exclude>
674                                         <exclude>**/*.csar</exclude>
675                                 </excludes>
676                                 <filtering>true</filtering>
677                         </testResource>
678                         <testResource>
679                                 <directory>src/test/resources/https</directory>
680                                 <includes>
681                                         <include>**.jks</include>
682                                 </includes>
683                                 <filtering>false</filtering>
684                                 <targetPath>https</targetPath>
685                         </testResource>
686                         <testResource>
687                                 <directory>src/test/resources/example/sdc</directory>
688                                 <includes>
689                                         <include>**.csar</include>
690                                 </includes>
691                                 <filtering>false</filtering>
692                                 <targetPath>example/sdc</targetPath>
693                         </testResource>
694                 </testResources>
695                 <resources>
696                         <!-- For AAF folder maven should not try to filter Keystores/Truststores ... Otherwise 
697                                 they will be broken and unreadable -->
698                         <resource>
699                                 <directory>src/main/resources</directory>
700                                 <filtering>true</filtering>
701                                 <excludes>
702                                         <exclude>clds/aaf/**</exclude>
703                                 </excludes>
704                         </resource>
705                         <resource>
706                                 <directory>src/main/resources</directory>
707                                 <filtering>false</filtering>
708                                 <includes>
709                                         <include>clds/aaf/**</include>
710                                 </includes>
711                         </resource>
712                         <resource>
713                                 <directory>${ui.react.src}</directory>
714                                 <includes>
715                                         <include>src/**</include>
716                                         <include>public/**</include>
717                                         <include>package.json</include>
718                                         <include>package-lock.json</include>
719                                 </includes>
720                                 <filtering>true</filtering>
721                                 <targetPath>${project.build.directory}/${ui.react.src}</targetPath>
722                         </resource>
723                 </resources>
724
725                 <plugins>
726                         <plugin>
727                                 <groupId>de.jpdigital</groupId>
728                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
729                                 <version>2.2.0</version>
730                                 <dependencies>
731                                         <dependency>
732                                                 <groupId>javax.xml.bind</groupId>
733                                                 <artifactId>jaxb-api</artifactId>
734                                                 <version>2.3.0</version>
735                                         </dependency>
736                                 </dependencies>
737                                 <executions>
738                                         <execution>
739                                                 <phase>process-classes</phase>
740                                                 <goals>
741                                                         <goal>gen-ddl</goal>
742                                                 </goals>
743                                                 <configuration>
744                                                         <packages>
745                                                                 <param>org.onap.clamp.dao.model</param>
746                                                         </packages>
747                                                         <dialects>
748                                                                 <param>MARIADB53</param>
749                                                         </dialects>
750                                                         <outputDirectory>${project.basedir}/extra/sql/bulkload/</outputDirectory>
751                                                         <outputFileNameSuffix>create-tables</outputFileNameSuffix>
752                                                         <!-- <createDropStatements>true</createDropStatements> -->
753                                                         <omitDialectFromFileName>true</omitDialectFromFileName>
754                                                 </configuration>
755                                         </execution>
756                                 </executions>
757
758                         </plugin>
759                         <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate 
760                                 a list of .adoc files containing the APIs info in more structured way -->
761                         <plugin>
762                                 <groupId>io.github.swagger2markup</groupId>
763                                 <artifactId>swagger2markup-maven-plugin</artifactId>
764                                 <version>1.3.3</version>
765                                 <dependencies>
766                                         <dependency>
767                                                 <groupId>io.github.swagger2markup</groupId>
768                                                 <artifactId>swagger2markup-import-files-ext</artifactId>
769                                                 <version>1.3.3</version>
770                                         </dependency>
771                                         <dependency>
772                                                 <groupId>io.github.swagger2markup</groupId>
773                                                 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
774                                                 <version>1.3.3</version>
775                                         </dependency>
776                                 </dependencies>
777                                 <configuration>
778                                         <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
779                                         <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
780                                         <config>
781                                                 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
782                                         </config>
783                                 </configuration>
784                                 <executions>
785                                         <execution>
786                                                 <phase>post-integration-test</phase>
787                                                 <goals>
788                                                         <goal>convertSwagger2markup</goal>
789                                                 </goals>
790                                         </execution>
791                                 </executions>
792                         </plugin>
793
794                         <!-- Run the generated asciidoc through Asciidoctor to generate other documentation 
795                                 types, such as PDFs or HTML5 -->
796                         <plugin>
797                                 <groupId>org.asciidoctor</groupId>
798                                 <artifactId>asciidoctor-maven-plugin</artifactId>
799                                 <version>1.5.7.1</version>
800                                 <dependencies>
801                                         <dependency>
802                                                 <groupId>org.asciidoctor</groupId>
803                                                 <artifactId>asciidoctorj-pdf</artifactId>
804                                                 <version>1.5.0-alpha.10.1</version>
805                                         </dependency>
806                                 </dependencies>
807                                 <configuration>
808                                         <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
809                                         <sourceDocumentName>swagger.adoc</sourceDocumentName>
810                                         <attributes>
811                                                 <doctype>book</doctype>
812                                                 <toc>left</toc>
813                                                 <toclevels>3</toclevels>
814                                                 <numbered />
815                                                 <hardbreaks />
816                                                 <sectlinks />
817                                                 <sectanchors />
818                                                 <generated>${project.build.directory}/asciidoc/generated</generated>
819                                         </attributes>
820                                 </configuration>
821
822                                 <executions>
823                                         <execution>
824                                                 <id>output-html</id>
825                                                 <phase>post-integration-test</phase>
826                                                 <goals>
827                                                         <goal>process-asciidoc</goal>
828                                                 </goals>
829                                                 <configuration>
830                                                         <backend>html5</backend>
831                                                         <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
832                                                         <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
833                                                 </configuration>
834                                         </execution>
835                                         <execution>
836                                                 <id>output-pdf</id>
837                                                 <phase>post-integration-test</phase>
838                                                 <goals>
839                                                         <goal>process-asciidoc</goal>
840                                                 </goals>
841                                                 <configuration>
842                                                         <backend>pdf</backend>
843                                                         <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
844                                                 </configuration>
845                                         </execution>
846                                 </executions>
847                         </plugin>
848                         <plugin>
849                                 <groupId>org.codehaus.groovy.maven</groupId>
850                                 <artifactId>gmaven-plugin</artifactId>
851                                 <version>1.0</version>
852                                 <executions>
853                                         <execution>
854                                                 <phase>validate</phase>
855                                                 <goals>
856                                                         <goal>execute</goal>
857                                                 </goals>
858                                                 <configuration>
859                                                         <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
860                                                 </configuration>
861                                         </execution>
862                                 </executions>
863                         </plugin>
864                         <plugin>
865                                 <groupId>org.apache.maven.plugins</groupId>
866                                 <artifactId>maven-jar-plugin</artifactId>
867                                 <version>3.0.2</version>
868                                 <executions>
869                                         <execution>
870                                                 <id>jar-with-only-classes</id>
871                                                 <phase>package</phase>
872                                                 <goals>
873                                                         <goal>jar</goal>
874                                                 </goals>
875                                                 <configuration>
876                                                         <classifier>classes</classifier>
877                                                         <includes>
878                                                                 <include>org/**</include>
879                                                         </includes>
880                                                 </configuration>
881                                         </execution>
882                                 </executions>
883                         </plugin>
884                         <plugin>
885                                 <groupId>org.codehaus.mojo</groupId>
886                                 <artifactId>build-helper-maven-plugin</artifactId>
887                                 <version>3.0.0</version>
888                                 <executions>
889                                         <execution>
890                                                 <goals>
891                                                         <goal>attach-artifact</goal>
892                                                 </goals>
893                                                 <phase>package</phase>
894                                                 <configuration>
895                                                         <artifacts>
896                                                                 <artifact>
897                                                                         <file>${project.build.directory}/clamp-classes.jar</file>
898                                                                         <type>jar</type>
899                                                                         <classifier>classes</classifier>
900                                                                 </artifact>
901                                                         </artifacts>
902                                                 </configuration>
903                                         </execution>
904                                         <execution>
905                                                 <id>reserve-port-for-tests</id>
906                                                 <phase>process-resources</phase>
907                                                 <goals>
908                                                         <goal>reserve-network-port</goal>
909                                                 </goals>
910                                                 <configuration>
911                                                         <portNames>
912                                                                 <portName>docker.mariadb.port.host</portName>
913                                                                 <portName>docker.http-cache.port.host</portName>
914                                                                 <portName>clamp.it.tests.http-redirected</portName>
915                                                                 <portName>clamp.it.tests.https</portName>
916                                                                 <portName>clamp.it.tests.http</portName>
917                                                         </portNames>
918                                                 </configuration>
919                                         </execution>
920                                 </executions>
921                         </plugin>
922
923                         <plugin>
924                                 <groupId>org.springframework.boot</groupId>
925                                 <artifactId>spring-boot-maven-plugin</artifactId>
926                                 <!-- Temporary fix -->
927                                 <version>1.5.13.RELEASE</version>
928                                 <!-- <version>${springboot.version}</version> -->
929                                 <executions>
930                                         <execution>
931                                                 <goals>
932                                                         <goal>repackage</goal>
933                                                 </goals>
934                                                 <phase>package</phase>
935                                         </execution>
936                                 </executions>
937                         </plugin>
938                         <plugin>
939                                 <groupId>org.apache.maven.plugins</groupId>
940                                 <artifactId>maven-surefire-plugin</artifactId>
941                                 <version>2.22.1</version>
942                                 <configuration>
943                                         <forkCount>1C</forkCount>
944                                         <reuseForks>true</reuseForks>
945                                         <useSystemClassLoader>false</useSystemClassLoader>
946                                         <argLine>${surefireArgLine}</argLine>
947                                 </configuration>
948                         </plugin>
949
950                         <plugin>
951                                 <groupId>org.apache.maven.plugins</groupId>
952                                 <artifactId>maven-failsafe-plugin</artifactId>
953                                 <version>2.22.1</version>
954                                 <executions>
955                                         <execution>
956                                                 <id>integration-tests</id>
957                                                 <goals>
958                                                         <goal>integration-test</goal>
959                                                         <goal>verify</goal>
960                                                 </goals>
961                                                 <configuration>
962                                                         <additionalClasspathElements>
963                                                                 <additionalClasspathElement>${project.build.directory}/classes</additionalClasspathElement>
964                                                         </additionalClasspathElements>
965                                                         <includes>
966                                                                 <include>**/*ItCase.java</include>
967                                                         </includes>
968                                                         <forkCount>1</forkCount>
969                                                         <reuseForks>true</reuseForks>
970                                                         <useSystemClassLoader>false</useSystemClassLoader>
971                                                         <argLine>${failsafeArgLine}</argLine>
972                                                 </configuration>
973                                         </execution>
974                                 </executions>
975                         </plugin>
976                         <plugin>
977                                 <groupId>io.fabric8</groupId>
978                                 <artifactId>docker-maven-plugin</artifactId>
979                                 <version>0.27.2</version>
980                                 <dependencies>
981                                         <dependency>
982                                                 <groupId>org.apache.httpcomponents</groupId>
983                                                 <artifactId>httpclient</artifactId>
984                                                 <version>4.5.5</version>
985                                         </dependency>
986                                 </dependencies>
987                                 <configuration>
988                                         <verbose>true</verbose>
989                                         <apiVersion>1.35</apiVersion>
990                                         <images>
991                                                 <image>
992                                                         <name>library/mariadb:10.3.12</name>
993                                                         <alias>mariadb</alias>
994                                                         <run>
995                                                                 <env>
996                                                                         <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
997                                                                 </env>
998                                                                 <hostname>mariadb</hostname>
999                                                                 <volumes>
1000                                                                         <bind>
1001                                                                                 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d:rw</volume>
1002                                                                                 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
1003                                                                         </bind>
1004                                                                 </volumes>
1005                                                                 <wait>
1006                                                                         <log>socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
1007                                                                         <time>600000</time>
1008                                                                         <exec>
1009                                                                                 <preStop>/docker-entrypoint-initdb.d/dump/backup-data-only.sh</preStop>
1010                                                                         </exec>
1011                                                                 </wait>
1012                                                                 <ports>
1013                                                                         <port>${docker.mariadb.port.host}:3306</port>
1014                                                                 </ports>
1015                                                         </run>
1016                                                 </image>
1017                                                 <image>
1018                                                         <name>library/python:2-slim</name>
1019                                                         <alias>python</alias>
1020                                                         <run>
1021                                                                 <hostname>python</hostname>
1022                                                                 <volumes>
1023                                                                         <bind>
1024                                                                                 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
1025                                                                                 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
1026                                                                         </bind>
1027                                                                 </volumes>
1028                                                                 <wait>
1029                                                                         <tcp>
1030                                                                                 <ports>
1031                                                                                         <port>8080</port>
1032                                                                                 </ports>
1033                                                                                 <mode>direct</mode>
1034                                                                         </tcp>
1035                                                                         <time>120000</time>
1036                                                                 </wait>
1037                                                                 <ports>
1038                                                                         <port>${docker.http-cache.port.host}:8080</port>
1039                                                                 </ports>
1040                                                                 <workingDir>/usr/src/http-cache-app</workingDir>
1041                                                                 <cmd>
1042                                                                         <shell>./start_http_cache.sh ${python.http.proxy.param}
1043                                                                                 --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
1044                                                                 </cmd>
1045                                                         </run>
1046                                                 </image>
1047                                                 <image>
1048                                                         <name>onap/clamp-backend</name>
1049                                                         <alias>onap-clamp-backend</alias>
1050                                                         <run>
1051                                                                 <skip>true</skip>
1052                                                         </run>
1053                                                         <build>
1054                                                                 <cleanup>true</cleanup>
1055                                                                 <tags>
1056                                                                         <tag>latest</tag>
1057                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
1058                                                                         <tag>${project.docker.latesttag.version}</tag>
1059                                                                 </tags>
1060                                                                 <!-- A relative path is looked up in ${project.basedir}/src/main/docker by 
1061                                                                         default -->
1062                                                                 <dockerFile>backend/Dockerfile</dockerFile>
1063                                                                 <assembly>
1064                                                                         <descriptor>backend/backend-files.xml</descriptor>
1065                                                                         <name>onap-clamp-backend</name>
1066                                                                 </assembly>
1067                                                         </build>
1068                                                 </image>
1069                                                 <image>
1070                                                         <name>onap/clamp-frontend</name>
1071                                                         <alias>onap-clamp-frontend</alias>
1072                                                         <run>
1073                                                                 <skip>true</skip>
1074                                                         </run>
1075                                                         <build>
1076                                                                 <cleanup>true</cleanup>
1077                                                                 <tags>
1078                                                                         <tag>latest</tag>
1079                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
1080                                                                         <tag>${project.docker.latesttag.version}</tag>
1081                                                                 </tags>
1082                                                                 <!-- A relative path is looked up in ${project.basedir}/src/main/docker by 
1083                                                                         default -->
1084                                                                 <dockerFile>frontend/Dockerfile</dockerFile>
1085                                                                 <assembly>
1086                                                                         <descriptor>frontend/frontend-files.xml</descriptor>
1087                                                                         <name>onap-clamp-frontend</name>
1088                                                                 </assembly>
1089                                                         </build>
1090                                                 </image>
1091                                                 <image>
1092                                                         <name>onap/clamp-dashboard-logstash</name>
1093                                                         <alias>onap-clamp-dashboard-logstash</alias>
1094                                                         <run>
1095                                                                 <skip>true</skip>
1096                                                         </run>
1097                                                         <build>
1098                                                                 <cleanup>true</cleanup>
1099                                                                 <tags>
1100                                                                         <tag>latest</tag>
1101                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
1102                                                                         <tag>${project.docker.latesttag.version}</tag>
1103                                                                 </tags>
1104                                                                 <dockerFile>logstash/Dockerfile</dockerFile>
1105                                                         </build>
1106                                                 </image>
1107                                                 <image>
1108                                                         <name>onap/clamp-dashboard-kibana</name>
1109                                                         <alias>onap-clamp-dashboard-kibana</alias>
1110                                                         <run>
1111                                                                 <skip>true</skip>
1112                                                         </run>
1113                                                         <build>
1114                                                                 <cleanup>true</cleanup>
1115                                                                 <tags>
1116                                                                         <tag>latest</tag>
1117                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
1118                                                                         <tag>${project.docker.latesttag.version}</tag>
1119                                                                 </tags>
1120                                                                 <dockerFile>kibana/Dockerfile</dockerFile>
1121                                                         </build>
1122                                                 </image>
1123                                         </images>
1124                                 </configuration>
1125
1126                                 <executions>
1127                                         <execution>
1128                                                 <id>generate-images</id>
1129                                                 <phase>install</phase>
1130                                                 <goals>
1131                                                         <goal>build</goal>
1132                                                 </goals>
1133                                         </execution>
1134                                         <execution>
1135                                                 <id>push-images</id>
1136                                                 <phase>deploy</phase>
1137                                                 <goals>
1138                                                         <goal>push</goal>
1139                                                 </goals>
1140                                         </execution>
1141                                         <execution>
1142                                                 <id>docker-start-for-it</id>
1143                                                 <phase>pre-integration-test</phase>
1144                                                 <goals>
1145                                                         <goal>start</goal>
1146                                                 </goals>
1147                                         </execution>
1148                                         <execution>
1149                                                 <id>docker-stop-for-it</id>
1150                                                 <phase>post-integration-test</phase>
1151                                                 <goals>
1152                                                         <goal>stop</goal>
1153                                                 </goals>
1154                                         </execution>
1155                                 </executions>
1156                         </plugin>
1157
1158                         <plugin>
1159                                 <groupId>org.jacoco</groupId>
1160                                 <artifactId>jacoco-maven-plugin</artifactId>
1161                                 <version>0.8.2</version>
1162                                 <configuration>
1163                                         <dumpOnExit>true</dumpOnExit>
1164                                         <append>true</append>
1165                                         <includes>
1166                                                 <include>org.onap.clamp.*</include>
1167                                         </includes>
1168                                 </configuration>
1169                                 <executions>
1170                                         <execution>
1171                                                 <id>pre-unit-test</id>
1172                                                 <goals>
1173                                                         <goal>prepare-agent</goal>
1174                                                 </goals>
1175                                                 <configuration>
1176                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1177                                                         <propertyName>surefireArgLine</propertyName>
1178                                                         <!-- <append>true</append> -->
1179                                                 </configuration>
1180                                         </execution>
1181                                         <execution>
1182                                                 <id>pre-integration-test</id>
1183                                                 <phase>pre-integration-test</phase>
1184                                                 <goals>
1185                                                         <goal>prepare-agent</goal>
1186                                                 </goals>
1187                                                 <configuration>
1188                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1189                                                         <propertyName>failsafeArgLine</propertyName>
1190                                                         <!-- <append>true</append> -->
1191                                                 </configuration>
1192                                         </execution>
1193                                         <execution>
1194                                                 <goals>
1195                                                         <goal>merge</goal>
1196                                                 </goals>
1197                                                 <phase>post-integration-test</phase>
1198                                                 <configuration>
1199                                                         <fileSets>
1200                                                                 <fileSet
1201                                                                         implementation="org.apache.maven.shared.model.fileset.FileSet">
1202                                                                         <directory>${project.build.directory}/coverage-reports</directory>
1203                                                                         <includes>
1204                                                                                 <include>*.exec</include>
1205                                                                         </includes>
1206                                                                 </fileSet>
1207                                                         </fileSets>
1208                                                         <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1209                                                 </configuration>
1210                                         </execution>
1211                                 </executions>
1212                         </plugin>
1213
1214                         <!-- This plugin will be useful when we will have multi-modules project -->
1215                         <plugin>
1216                                 <groupId>org.codehaus.mojo</groupId>
1217                                 <artifactId>versions-maven-plugin</artifactId>
1218                                 <version>1.3.1</version>
1219                         </plugin>
1220
1221                         <plugin>
1222                                 <groupId>com.github.eirslett</groupId>
1223                                 <artifactId>frontend-maven-plugin</artifactId>
1224                                 <version>1.8.0</version>
1225                                 <configuration>
1226                                         <installDirectory>${project.build.directory}/${ui.react.src}</installDirectory>
1227                                         <workingDirectory>${project.build.directory}/${ui.react.src}</workingDirectory>
1228                                 </configuration>
1229                                 <executions>
1230                                         <execution>
1231                                                 <id>install_node_and_npm</id>
1232                                                 <goals>
1233                                                         <goal>install-node-and-npm</goal>
1234                                                 </goals>
1235                                                 <phase>generate-sources</phase>
1236                                                 <configuration>
1237                                                         <nodeVersion>v12.10.0</nodeVersion>
1238                                                         <npmVersion>6.10.3</npmVersion>
1239                                                 </configuration>
1240                                         </execution>
1241                                         <execution>
1242                                                 <id>npm_install</id>
1243                                                 <goals>
1244                                                         <goal>npm</goal>
1245                                                 </goals>
1246                                                 <phase>compile</phase>
1247                                                 <configuration>
1248                                                         <arguments>install</arguments>
1249                                                 </configuration>
1250                                         </execution>
1251                                         <execution>
1252                                                 <id>npm_test</id>
1253                                                 <goals>
1254                                                         <goal>npm</goal>
1255                                                 </goals>
1256                                                 <phase>test</phase>
1257                                                 <configuration>
1258                                                         <arguments>run-script test:coverage</arguments>
1259                                                 </configuration>
1260                                         </execution>
1261                                         <execution>
1262                                                 <id>npm_publish</id>
1263                                                 <goals>
1264                                                         <goal>npm</goal>
1265                                                 </goals>
1266                                                 <phase>deploy</phase>
1267                                                 <configuration>
1268                                                         <skip>true</skip>
1269                                                         <arguments>publish --registry ${npm.publish.url}</arguments>
1270                                                 </configuration>
1271                                         </execution>
1272                                 </executions>
1273                         </plugin>
1274                 </plugins>
1275         </build>
1276 </project>