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