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>
6 <version>1.1.0</version>
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}/dist</directory>
28 <directory>${basedir}/.tmp</directory>
31 <directory>${basedir}/node</directory>
34 <directory>${basedir}/node_modules</directory>
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-resources-plugin</artifactId>
43 <version>3.0.2</version>
47 <phase>generate-resources</phase>
49 <goal>copy-resources</goal>
52 <outputDirectory>${basedir}/client/app</outputDirectory>
53 <overwrite>false</overwrite>
54 <skip>${skipcopy}</skip>
57 <directory>${basedir}/client/src</directory>
65 <phase>generate-resources</phase>
67 <goal>copy-resources</goal>
70 <outputDirectory>${basedir}/client/app</outputDirectory>
71 <overwrite>false</overwrite>
72 <skip>${skipcopy}</skip>
75 <directory>../ecomp-portal-FE-common/client/app</directory>
82 <id>copy-bower-components-external</id>
83 <phase>generate-resources</phase>
85 <goal>copy-resources</goal>
88 <outputDirectory>${basedir}/client/bower_components_external</outputDirectory>
89 <overwrite>false</overwrite>
90 <skip>${skipcopy}</skip>
93 <directory>../ecomp-portal-FE-common/client/bower_components_external</directory>
103 <groupId>com.github.eirslett</groupId>
104 <artifactId>frontend-maven-plugin</artifactId>
105 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
106 <version>1.3</version>
108 <skip>${skipnode}</skip>
109 <nodeVersion>v7.5.0</nodeVersion>
110 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
111 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
112 <installDirectory>./</installDirectory>
116 <!-- optional: you don't really need execution ids, but it looks nice
117 in your build log. -->
118 <id>install node and npm</id>
120 <goal>install-node-and-npm</goal>
122 <phase>generate-resources</phase>
131 <phase>generate-resources</phase>
134 <arguments>install</arguments>
139 <id>npm install bower</id>
144 <phase>generate-resources</phase>
147 <arguments>install bower</arguments>
152 <id>npm install grunt-cli</id>
157 <phase>generate-resources</phase>
160 <arguments>install grunt-cli</arguments>
165 <id>bower install</id>
171 <arguments>install --allow-root</arguments>
181 <phase>generate-resources</phase>
184 <arguments>build --env=integ</arguments>
190 <!-- No deployment step for this project -->
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-deploy-plugin</artifactId>
194 <version>2.8</version>