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.5.0</version>
10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 <skipnode>false</skipnode>
12 <skipcopy>false</skipcopy>
13 <skipTests>false</skipTests>
14 <sonar.typescript.lcov.reportPaths>coverage/lcov.info</sonar.typescript.lcov.reportPaths>
15 <sonar.sources>src</sonar.sources>
16 <sonar.projectKey>portal-FE-os</sonar.projectKey>
17 <sonar.projectName>portal-FE-os</sonar.projectName>
18 <sonar.exclusions>**/node_modules/**,**/*.spec.ts,**/*.module.ts,**/environment.prod.ts,**/*.js,**/main.ts,**/header-interceptor.ts,**/dynamic-widget.component.ts</sonar.exclusions>
19 <sonar.test.inclusions>**/*.spec.ts</sonar.test.inclusions>
20 <sonar.tests>src</sonar.tests>
21 <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
22 <sonar.nodejs.executable>${project.basedir}\node\</sonar.nodejs.executable>
23 <epsdk.version>3.4.0-SNAPSHOT</epsdk.version>
31 <artifactId>maven-clean-plugin</artifactId>
32 <version>3.0.0</version>
36 <directory>${basedir}/dist</directory>
40 <directory>${basedir}/node</directory>
43 <directory>${basedir}/node_modules</directory>
50 <groupId>org.apache.maven.plugins</groupId>
51 <artifactId>maven-dependency-plugin</artifactId>
55 <phase>initialize</phase>
62 <groupId>org.onap.portal.sdk</groupId>
63 <artifactId>epsdk-app-overlay</artifactId>
64 <version>${epsdk.version}</version>
66 <overWrite>false</overWrite>
67 <includes>ngapp/src/app/pages/analytics/**</includes>
68 <outputDirectory>${basedir}/</outputDirectory>
71 <overWriteReleases>true</overWriteReleases>
72 <overWriteSnapshots>true</overWriteSnapshots>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-resources-plugin</artifactId>
82 <version>3.0.2</version>
86 <id>copy-analytics</id>
87 <phase>generate-sources</phase>
89 <goal>copy-resources</goal>
92 <outputDirectory>${basedir}/src/app/pages/</outputDirectory>
96 <directory>${basedir}/ngapp/src/app/pages</directory>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-resources-plugin</artifactId>
108 <version>3.0.2</version>
113 <phase>generate-resources</phase>
115 <goal>copy-resources</goal>
118 <outputDirectory>${basedir}/src</outputDirectory>
119 <overwrite>false</overwrite>
120 <skip>${skipcopy}</skip>
123 <directory>../portal-FE-common/src</directory>
133 <groupId>com.github.eirslett</groupId>
134 <artifactId>frontend-maven-plugin</artifactId>
135 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
136 <version>1.3</version>
138 <skip>${skipnode}</skip>
139 <nodeVersion>v10.13.0</nodeVersion>
140 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
141 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
142 <installDirectory>./</installDirectory>
146 <!-- optional: you don't really need execution ids, but it looks nice
147 in your build log. -->
148 <id>install node and npm</id>
150 <goal>install-node-and-npm</goal>
152 <phase>generate-resources</phase>
161 <phase>generate-resources</phase>
164 <arguments>install</arguments>
169 <id>npm run test</id>
174 <phase>generate-resources</phase>
177 <arguments>run-script test</arguments>
178 <skip>${skipTests}</skip>
188 <phase>generate-resources</phase>
191 <arguments>run-script build</arguments>