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> |
| 27 | <version>1.4.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | <artifactId>so-monitoring-ui</artifactId> |
waqas.ikram | 4123099 | 2018-08-21 17:35:35 +0100 | [diff] [blame] | 30 | |
| 31 | |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame^] | 32 | <build> |
| 33 | <plugins> |
| 34 | <plugin> |
| 35 | <groupId>com.github.eirslett</groupId> |
| 36 | <artifactId>frontend-maven-plugin</artifactId> |
| 37 | <version>1.6</version> |
| 38 | <configuration> |
| 39 | <workingDirectory>${project.basedir}/src/main/frontend</workingDirectory> |
| 40 | <installDirectory>target</installDirectory> |
| 41 | </configuration> |
| 42 | <executions> |
| 43 | <execution> |
| 44 | <id>install node and yarn</id> |
| 45 | <goals> |
| 46 | <goal>install-node-and-yarn</goal> |
| 47 | </goals> |
| 48 | <phase>generate-resources</phase> |
| 49 | <configuration> |
| 50 | <nodeVersion>v10.8.0</nodeVersion> |
| 51 | <yarnVersion>v1.7.0</yarnVersion> |
| 52 | </configuration> |
| 53 | </execution> |
| 54 | <execution> |
| 55 | <id>yarn install</id> |
| 56 | <goals> |
| 57 | <goal>yarn</goal> |
| 58 | </goals> |
| 59 | <configuration> |
| 60 | <arguments>install</arguments> |
| 61 | </configuration> |
| 62 | </execution> |
| 63 | <execution> |
| 64 | <id>yarn run webpack build</id> |
| 65 | <goals> |
| 66 | <goal>yarn</goal> |
| 67 | </goals> |
| 68 | <configuration> |
| 69 | <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven> |
| 70 | <arguments>build</arguments> |
| 71 | </configuration> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | </plugin> |
| 75 | <plugin> |
| 76 | <groupId>org.apache.maven.plugins</groupId> |
| 77 | <artifactId>maven-clean-plugin</artifactId> |
| 78 | <version>3.0.0</version> |
| 79 | <configuration> |
| 80 | <failOnError>false</failOnError> |
| 81 | <filesets> |
| 82 | <fileset> |
| 83 | <directory>${project.basedir}/src/main/frontend/dist/</directory> |
| 84 | <followSymlinks>false</followSymlinks> |
| 85 | </fileset> |
| 86 | </filesets> |
| 87 | </configuration> |
| 88 | </plugin> |
| 89 | </plugins> |
| 90 | </build> |
Rob Daugherty | 325d4e2 | 2018-10-19 15:13:38 -0400 | [diff] [blame] | 91 | </project> |