1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.onap.portal</groupId>
6 <artifactId>portal-FE-os</artifactId>
7 <version>3.2.0</version>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 <skipnode>false</skipnode>
12 <skipcopy>false</skipcopy>
13 <sonar.typescript.lcov.reportPaths>coverage/lcov.info</sonar.typescript.lcov.reportPaths>
14 <sonar.sources>src</sonar.sources>
15 <sonar.projectKey>portal-FE-os</sonar.projectKey>
16 <sonar.projectName>portal-FE-os</sonar.projectName>
17 <sonar.exclusions>**/node_modules/**,**/*.spec.ts,**/*.module.ts,**/environment.prod.ts,**/*.js,**/main.ts,**/header-interceptor.ts,**/dynamic-widget.component.ts</sonar.exclusions>
18 <sonar.test.inclusions>**/*.spec.ts</sonar.test.inclusions>
19 <sonar.tests>src</sonar.tests>
20 <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled>
21 <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
22 <sonar.nodejs.executable>node</sonar.nodejs.executable>
29 <artifactId>maven-clean-plugin</artifactId>
30 <version>3.0.0</version>
34 <directory>${basedir}/dist</directory>
38 <directory>${basedir}/node</directory>
41 <directory>${basedir}/node_modules</directory>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-resources-plugin</artifactId>
51 <version>3.0.2</version>
56 <phase>generate-resources</phase>
58 <goal>copy-resources</goal>
61 <outputDirectory>${basedir}/src</outputDirectory>
62 <overwrite>false</overwrite>
63 <skip>${skipcopy}</skip>
66 <directory>../portal-FE-common/src</directory>
76 <groupId>com.github.eirslett</groupId>
77 <artifactId>frontend-maven-plugin</artifactId>
78 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
79 <version>1.3</version>
81 <skip>${skipnode}</skip>
82 <nodeVersion>v10.13.0</nodeVersion>
83 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
84 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
85 <installDirectory>./</installDirectory>
89 <!-- optional: you don't really need execution ids, but it looks nice
90 in your build log. -->
91 <id>install node and npm</id>
93 <goal>install-node-and-npm</goal>
95 <phase>generate-resources</phase>
104 <phase>generate-resources</phase>
107 <arguments>install</arguments>
112 <id>npm run test</id>
117 <phase>generate-resources</phase>
120 <arguments>run-script test</arguments>
130 <phase>generate-resources</phase>
133 <arguments>run-script build</arguments>