Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 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> |
| 4 | |
| 5 | <groupId>org.onap.portal</groupId> |
| 6 | <artifactId>portal-FE-os</artifactId> |
Sudarshan Kumar | 47e3e9e | 2020-10-15 16:33:52 +0530 | [diff] [blame] | 7 | <version>3.5.0</version> |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 8 | |
| 9 | <properties> |
| 10 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 11 | <skipnode>false</skipnode> |
| 12 | <skipcopy>false</skipcopy> |
statta | 69943c5 | 2020-07-29 18:14:56 -0400 | [diff] [blame] | 13 | <skipTests>false</skipTests> |
jegadeeshbabu3 | 4c6f6a4 | 2020-02-28 17:42:20 +0530 | [diff] [blame] | 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> |
jegadeeshbabu3 | c8e0094 | 2020-03-17 23:05:19 +0530 | [diff] [blame] | 22 | <sonar.nodejs.executable>${project.basedir}\node\</sonar.nodejs.executable> |
Sudarshan Kumar | 47e3e9e | 2020-10-15 16:33:52 +0530 | [diff] [blame] | 23 | <epsdk.version>3.4.0-SNAPSHOT</epsdk.version> |
jegadeeshbabu3 | 560c13c | 2020-08-11 01:49:30 +0530 | [diff] [blame] | 24 | |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 25 | </properties> |
| 26 | |
| 27 | <build> |
| 28 | <plugins> |
| 29 | |
| 30 | <plugin> |
| 31 | <artifactId>maven-clean-plugin</artifactId> |
| 32 | <version>3.0.0</version> |
| 33 | <configuration> |
| 34 | <filesets> |
| 35 | <fileset> |
| 36 | <directory>${basedir}/dist</directory> |
| 37 | </fileset> |
| 38 | <!-- |
| 39 | <fileset> |
| 40 | <directory>${basedir}/node</directory> |
| 41 | </fileset> |
| 42 | <fileset> |
| 43 | <directory>${basedir}/node_modules</directory> |
| 44 | </fileset> |
| 45 | --> |
| 46 | </filesets> |
| 47 | </configuration> |
| 48 | </plugin> |
jegadeeshbabu3 | 560c13c | 2020-08-11 01:49:30 +0530 | [diff] [blame] | 49 | <plugin> |
| 50 | <groupId>org.apache.maven.plugins</groupId> |
| 51 | <artifactId>maven-dependency-plugin</artifactId> |
| 52 | <executions> |
| 53 | <execution> |
| 54 | <id>unpack</id> |
| 55 | <phase>initialize</phase> |
| 56 | <goals> |
| 57 | <goal>unpack</goal> |
| 58 | </goals> |
| 59 | <configuration> |
| 60 | <artifactItems> |
| 61 | <artifactItem> |
| 62 | <groupId>org.onap.portal.sdk</groupId> |
| 63 | <artifactId>epsdk-app-overlay</artifactId> |
| 64 | <version>${epsdk.version}</version> |
| 65 | <type>war</type> |
| 66 | <overWrite>false</overWrite> |
| 67 | <includes>ngapp/src/app/pages/analytics/**</includes> |
| 68 | <outputDirectory>${basedir}/</outputDirectory> |
| 69 | </artifactItem> |
| 70 | </artifactItems> |
| 71 | <overWriteReleases>true</overWriteReleases> |
| 72 | <overWriteSnapshots>true</overWriteSnapshots> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | |
| 77 | |
| 78 | </plugin> |
| 79 | <plugin> |
| 80 | <groupId>org.apache.maven.plugins</groupId> |
| 81 | <artifactId>maven-resources-plugin</artifactId> |
| 82 | <version>3.0.2</version> |
| 83 | <executions> |
| 84 | |
| 85 | <execution> |
| 86 | <id>copy-analytics</id> |
| 87 | <phase>generate-sources</phase> |
| 88 | <goals> |
| 89 | <goal>copy-resources</goal> |
| 90 | </goals> |
| 91 | <configuration> |
| 92 | <outputDirectory>${basedir}/src/app/pages/</outputDirectory> |
| 93 | |
| 94 | <resources> |
| 95 | <resource> |
| 96 | <directory>${basedir}/ngapp/src/app/pages</directory> |
| 97 | </resource> |
| 98 | </resources> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | |
| 102 | </executions> |
| 103 | </plugin> |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 104 | |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-resources-plugin</artifactId> |
| 108 | <version>3.0.2</version> |
| 109 | <executions> |
| 110 | |
| 111 | <execution> |
| 112 | <id>copy-common</id> |
| 113 | <phase>generate-resources</phase> |
| 114 | <goals> |
| 115 | <goal>copy-resources</goal> |
| 116 | </goals> |
| 117 | <configuration> |
| 118 | <outputDirectory>${basedir}/src</outputDirectory> |
| 119 | <overwrite>false</overwrite> |
| 120 | <skip>${skipcopy}</skip> |
| 121 | <resources> |
| 122 | <resource> |
| 123 | <directory>../portal-FE-common/src</directory> |
| 124 | </resource> |
| 125 | </resources> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | |
| 129 | </executions> |
| 130 | </plugin> |
Ikramullah, Ikram (fi241c) | 230c716 | 2020-05-22 13:11:56 -0400 | [diff] [blame] | 131 | |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 132 | <plugin> |
| 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> |
| 137 | <configuration> |
| 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> |
| 143 | </configuration> |
| 144 | <executions> |
| 145 | <execution> |
| 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> |
| 149 | <goals> |
| 150 | <goal>install-node-and-npm</goal> |
| 151 | </goals> |
| 152 | <phase>generate-resources</phase> |
| 153 | </execution> |
| 154 | |
| 155 | <execution> |
| 156 | <id>npm install</id> |
| 157 | <goals> |
| 158 | <goal>npm</goal> |
| 159 | </goals> |
| 160 | |
| 161 | <phase>generate-resources</phase> |
| 162 | |
| 163 | <configuration> |
| 164 | <arguments>install</arguments> |
| 165 | </configuration> |
| 166 | </execution> |
statta | 69943c5 | 2020-07-29 18:14:56 -0400 | [diff] [blame] | 167 | |
jegadeeshbabu3 | 4c6f6a4 | 2020-02-28 17:42:20 +0530 | [diff] [blame] | 168 | <execution> |
| 169 | <id>npm run test</id> |
| 170 | <goals> |
| 171 | <goal>npm</goal> |
| 172 | </goals> |
| 173 | |
| 174 | <phase>generate-resources</phase> |
| 175 | |
| 176 | <configuration> |
| 177 | <arguments>run-script test</arguments> |
statta | 69943c5 | 2020-07-29 18:14:56 -0400 | [diff] [blame] | 178 | <skip>${skipTests}</skip> |
jegadeeshbabu3 | 4c6f6a4 | 2020-02-28 17:42:20 +0530 | [diff] [blame] | 179 | </configuration> |
| 180 | </execution> |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 181 | |
| 182 | <execution> |
| 183 | <id>npm build</id> |
| 184 | <goals> |
| 185 | <goal>npm</goal> |
| 186 | </goals> |
| 187 | |
| 188 | <phase>generate-resources</phase> |
| 189 | |
| 190 | <configuration> |
| 191 | <arguments>run-script build</arguments> |
| 192 | </configuration> |
| 193 | </execution> |
| 194 | |
| 195 | </executions> |
| 196 | </plugin> |
Ikramullah, Ikram (fi241c) | 230c716 | 2020-05-22 13:11:56 -0400 | [diff] [blame] | 197 | |
Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [diff] [blame] | 198 | </plugins> |
| 199 | </build> |
| 200 | </project> |