shaaban Altanany | 74ee6be | 2020-01-29 11:28:00 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START========================================== |
| 4 | =================================================================== |
| 5 | Copyright (C) 2020 Orange. All rights reserved. |
| 6 | =================================================================== |
| 7 | |
| 8 | Unless otherwise specified, all software contained herein is licensed |
| 9 | under the Apache License, Version 2.0 (the License); |
| 10 | you may not use this software except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END============================================ --> |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
| 24 | <parent> |
| 25 | <groupId>org.onap.ccsdk.cds</groupId> |
| 26 | <artifactId>ui</artifactId> |
| 27 | <version>0.7.0-SNAPSHOT</version> |
| 28 | <relativePath>..</relativePath> |
| 29 | </parent> |
| 30 | |
| 31 | <artifactId>designer-client</artifactId> |
| 32 | <version>0.7.0-SNAPSHOT</version> |
| 33 | <packaging>pom</packaging> |
| 34 | |
| 35 | <name>CDS designer Client</name> |
| 36 | |
| 37 | <properties> |
| 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 39 | <npm.executable>npm</npm.executable> |
| 40 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 41 | </properties> |
| 42 | |
| 43 | <build> |
| 44 | <plugins> |
| 45 | <plugin> |
| 46 | <groupId>com.github.eirslett</groupId> |
| 47 | <artifactId>frontend-maven-plugin</artifactId> |
| 48 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 49 | <version>1.3</version> |
| 50 | <configuration> |
| 51 | <nodeVersion>v13.7.0</nodeVersion> |
| 52 | <npmVersion>6.13.6</npmVersion> |
| 53 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
| 54 | <installDirectory>./</installDirectory> |
| 55 | </configuration> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <id>install node and npm</id> |
| 59 | <goals> |
| 60 | <goal>install-node-and-npm</goal> |
| 61 | </goals> |
| 62 | <phase>generate-resources</phase> |
| 63 | </execution> |
| 64 | |
| 65 | <execution> |
| 66 | <id>npm install</id> |
| 67 | <goals> |
| 68 | <goal>npm</goal> |
| 69 | </goals> |
| 70 | |
| 71 | <phase>generate-resources</phase> |
| 72 | |
| 73 | <configuration> |
| 74 | <arguments>install</arguments> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | |
| 78 | <execution> |
| 79 | <id>npm build</id> |
| 80 | <goals> |
| 81 | <goal>npm</goal> |
| 82 | </goals> |
| 83 | |
| 84 | <phase>generate-resources</phase> |
| 85 | |
| 86 | <configuration> |
| 87 | <arguments>run build</arguments> |
| 88 | </configuration> |
| 89 | </execution> |
| 90 | |
| 91 | </executions> |
| 92 | </plugin> |
| 93 | </plugins> |
| 94 | </build> |
| 95 | </project> |