waqas.ikram | 4123099 | 2018-08-21 17:35:35 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.onap.so.monitoring</groupId> |
| 26 | <artifactId>so-monitoring</artifactId> |
seshukm | b9af26a | 2020-02-26 19:30:17 +0800 | [diff] [blame] | 27 | <version>1.6.0-SNAPSHOT</version> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 28 | </parent> |
| 29 | <artifactId>so-monitoring-ui</artifactId> |
waqas.ikram | 4123099 | 2018-08-21 17:35:35 +0100 | [diff] [blame] | 30 | |
Benjamin, Max | 175318a | 2020-01-06 11:53:58 -0500 | [diff] [blame] | 31 | <properties> |
| 32 | <yarn.proxy>false</yarn.proxy> |
| 33 | </properties> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
| 37 | <groupId>com.github.eirslett</groupId> |
| 38 | <artifactId>frontend-maven-plugin</artifactId> |
| 39 | <version>1.6</version> |
| 40 | <configuration> |
| 41 | <workingDirectory>${project.basedir}/src/main/frontend</workingDirectory> |
| 42 | <installDirectory>target</installDirectory> |
| 43 | </configuration> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <id>install node and yarn</id> |
| 47 | <goals> |
| 48 | <goal>install-node-and-yarn</goal> |
| 49 | </goals> |
| 50 | <phase>generate-resources</phase> |
| 51 | <configuration> |
| 52 | <nodeVersion>v10.8.0</nodeVersion> |
| 53 | <yarnVersion>v1.7.0</yarnVersion> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | <execution> |
| 57 | <id>yarn install</id> |
| 58 | <goals> |
| 59 | <goal>yarn</goal> |
| 60 | </goals> |
| 61 | <configuration> |
| 62 | <arguments>install</arguments> |
| 63 | </configuration> |
| 64 | </execution> |
| 65 | <execution> |
| 66 | <id>yarn run webpack build</id> |
| 67 | <goals> |
| 68 | <goal>yarn</goal> |
| 69 | </goals> |
| 70 | <configuration> |
Benjamin, Max | 175318a | 2020-01-06 11:53:58 -0500 | [diff] [blame] | 71 | <yarnInheritsProxyConfigFromMaven>${yarn.proxy}</yarnInheritsProxyConfigFromMaven> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 72 | <arguments>build</arguments> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-clean-plugin</artifactId> |
| 80 | <version>3.0.0</version> |
| 81 | <configuration> |
| 82 | <failOnError>false</failOnError> |
| 83 | <filesets> |
| 84 | <fileset> |
| 85 | <directory>${project.basedir}/src/main/frontend/dist/</directory> |
| 86 | <followSymlinks>false</followSymlinks> |
| 87 | </fileset> |
| 88 | </filesets> |
| 89 | </configuration> |
| 90 | </plugin> |
| 91 | </plugins> |
| 92 | </build> |
Rob Daugherty | 325d4e2 | 2018-10-19 15:13:38 -0400 | [diff] [blame] | 93 | </project> |