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