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.3.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.sourceEncoding>UTF-8</sonar.sourceEncoding>
21 <sonar.nodejs.executable>${project.basedir}\node\</sonar.nodejs.executable>
28 <artifactId>maven-clean-plugin</artifactId>
29 <version>3.0.0</version>
33 <directory>${basedir}/dist</directory>
37 <directory>${basedir}/node</directory>
40 <directory>${basedir}/node_modules</directory>
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-resources-plugin</artifactId>
50 <version>3.0.2</version>
55 <phase>generate-resources</phase>
57 <goal>copy-resources</goal>
60 <outputDirectory>${basedir}/src</outputDirectory>
61 <overwrite>false</overwrite>
62 <skip>${skipcopy}</skip>
65 <directory>../portal-FE-common/src</directory>
75 <groupId>com.github.eirslett</groupId>
76 <artifactId>frontend-maven-plugin</artifactId>
77 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
78 <version>1.3</version>
80 <skip>${skipnode}</skip>
81 <nodeVersion>v10.13.0</nodeVersion>
82 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
83 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
84 <installDirectory>./</installDirectory>
88 <!-- optional: you don't really need execution ids, but it looks nice
89 in your build log. -->
90 <id>install node and npm</id>
92 <goal>install-node-and-npm</goal>
94 <phase>generate-resources</phase>
103 <phase>generate-resources</phase>
106 <arguments>install</arguments>
111 <id>npm run test</id>
116 <phase>generate-resources</phase>
119 <arguments>run-script test</arguments>
129 <phase>generate-resources</phase>
132 <arguments>run-script build</arguments>