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