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 <groupId>org.openecomp.portal</groupId>
5 <artifactId>ecompportal-FE-os</artifactId>
9 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10 <skipnode>false</skipnode>
11 <skipcopy>false</skipcopy>
17 <artifactId>maven-clean-plugin</artifactId>
18 <version>3.0.0</version>
22 <directory>${basedir}/client/app</directory>
25 <directory>${basedir}/.tmp</directory>
32 <groupId>org.apache.maven.plugins</groupId>
33 <artifactId>maven-resources-plugin</artifactId>
34 <version>3.0.2</version>
38 <phase>generate-resources</phase>
40 <goal>copy-resources</goal>
43 <outputDirectory>${basedir}/client/app</outputDirectory>
44 <overwrite>false</overwrite>
45 <skip>${skipcopy}</skip>
48 <directory>${basedir}/client/src</directory>
56 <phase>generate-resources</phase>
58 <goal>copy-resources</goal>
61 <outputDirectory>${basedir}/client/app</outputDirectory>
62 <overwrite>false</overwrite>
63 <skip>${skipcopy}</skip>
66 <directory>../ecomp-portal-FE-common/client/app</directory>
73 <id>copy-bower-components-external</id>
74 <phase>generate-resources</phase>
76 <goal>copy-resources</goal>
79 <outputDirectory>${basedir}/client/bower_components_external</outputDirectory>
80 <overwrite>false</overwrite>
81 <skip>${skipcopy}</skip>
84 <directory>../ecomp-portal-FE-common/client/bower_components_external</directory>
94 <groupId>com.github.eirslett</groupId>
95 <artifactId>frontend-maven-plugin</artifactId>
96 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
97 <version>1.3</version>
99 <skip>${skipnode}</skip>
100 <nodeVersion>v7.5.0</nodeVersion>
101 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
102 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
103 <installDirectory>./</installDirectory>
107 <!-- optional: you don't really need execution ids, but it looks nice
108 in your build log. -->
109 <id>install node and npm</id>
111 <goal>install-node-and-npm</goal>
113 <phase>generate-resources</phase>
122 <phase>generate-resources</phase>
125 <arguments>install</arguments>
130 <id>npm install bower</id>
135 <phase>generate-resources</phase>
138 <arguments>install bower</arguments>
143 <id>npm install grunt-cli</id>
148 <phase>generate-resources</phase>
151 <arguments>install grunt-cli</arguments>
156 <id>bower install</id>
162 <arguments>install --allow-root</arguments>
172 <phase>generate-resources</phase>
175 <arguments>build --env=integ</arguments>
181 <!-- No deployment step for this project -->
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-deploy-plugin</artifactId>
185 <version>2.8</version>