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>
6 <groupId>org.onap.portal</groupId>
7 <artifactId>onap-portal-parent</artifactId>
8 <version>1.3.0-SNAPSHOT</version>
11 <artifactId>ecompportal-FE-os</artifactId>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 <skipnode>false</skipnode>
16 <skipcopy>false</skipcopy>
22 <artifactId>maven-clean-plugin</artifactId>
23 <version>3.0.0</version>
27 <directory>${basedir}/client/app</directory>
30 <directory>${basedir}/dist</directory>
33 <directory>${basedir}/.tmp</directory>
36 <directory>${basedir}/node</directory>
39 <directory>${basedir}/node_modules</directory>
45 <groupId>org.jacoco</groupId>
46 <artifactId>jacoco-maven-plugin</artifactId>
47 <version>0.7.6.201602180812</version>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-resources-plugin</artifactId>
55 <version>3.0.2</version>
59 <phase>generate-resources</phase>
61 <goal>copy-resources</goal>
64 <outputDirectory>${basedir}/client/app</outputDirectory>
65 <overwrite>false</overwrite>
66 <skip>${skipcopy}</skip>
69 <directory>${basedir}/client/src</directory>
77 <phase>generate-resources</phase>
79 <goal>copy-resources</goal>
82 <outputDirectory>${basedir}/client/app</outputDirectory>
83 <overwrite>false</overwrite>
84 <skip>${skipcopy}</skip>
87 <directory>../ecomp-portal-FE-common/client/app</directory>
94 <id>copy-bower-components-external</id>
95 <phase>generate-resources</phase>
97 <goal>copy-resources</goal>
100 <outputDirectory>${basedir}/client/bower_components_external</outputDirectory>
101 <overwrite>false</overwrite>
102 <skip>${skipcopy}</skip>
105 <directory>../ecomp-portal-FE-common/client/bower_components_external</directory>
115 <groupId>com.github.eirslett</groupId>
116 <artifactId>frontend-maven-plugin</artifactId>
117 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
118 <version>1.3</version>
120 <skip>${skipnode}</skip>
121 <nodeVersion>v7.5.0</nodeVersion>
122 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
123 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
124 <installDirectory>./</installDirectory>
128 <!-- optional: you don't really need execution ids, but it looks nice
129 in your build log. -->
130 <id>install node and npm</id>
132 <goal>install-node-and-npm</goal>
134 <phase>generate-resources</phase>
143 <phase>generate-resources</phase>
146 <arguments>install</arguments>
151 <id>npm install bower</id>
156 <phase>generate-resources</phase>
159 <arguments>install bower</arguments>
164 <id>npm install grunt-cli</id>
169 <phase>generate-resources</phase>
172 <arguments>install grunt-cli</arguments>
177 <id>bower install</id>
183 <arguments>install --allow-root</arguments>
193 <phase>generate-resources</phase>
196 <arguments>build --env=integ</arguments>
202 <!-- No deployment step for this project -->
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-deploy-plugin</artifactId>
206 <version>2.8</version>