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>2.2.0</version>
11 <artifactId>portal-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.apache.maven.plugins</groupId>
46 <artifactId>maven-resources-plugin</artifactId>
47 <version>3.0.2</version>
51 <phase>generate-resources</phase>
53 <goal>copy-resources</goal>
56 <outputDirectory>${basedir}/client/app</outputDirectory>
57 <overwrite>false</overwrite>
58 <skip>${skipcopy}</skip>
61 <directory>${basedir}/client/src</directory>
69 <phase>generate-resources</phase>
71 <goal>copy-resources</goal>
74 <outputDirectory>${basedir}/client/app</outputDirectory>
75 <overwrite>false</overwrite>
76 <skip>${skipcopy}</skip>
79 <directory>../ecomp-portal-FE-common/client/app</directory>
86 <id>copy-bower-components-external</id>
87 <phase>generate-resources</phase>
89 <goal>copy-resources</goal>
92 <outputDirectory>${basedir}/client/bower_components_external</outputDirectory>
93 <overwrite>false</overwrite>
94 <skip>${skipcopy}</skip>
97 <directory>../ecomp-portal-FE-common/client/bower_components_external</directory>
107 <groupId>com.github.eirslett</groupId>
108 <artifactId>frontend-maven-plugin</artifactId>
109 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
110 <version>1.3</version>
112 <skip>${skipnode}</skip>
113 <nodeVersion>v7.5.0</nodeVersion>
114 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
115 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
116 <installDirectory>./</installDirectory>
120 <!-- optional: you don't really need execution ids, but it looks nice
121 in your build log. -->
122 <id>install node and npm</id>
124 <goal>install-node-and-npm</goal>
126 <phase>generate-resources</phase>
135 <phase>generate-resources</phase>
138 <arguments>install</arguments>
143 <id>npm install bower</id>
148 <phase>generate-resources</phase>
151 <arguments>install bower</arguments>
156 <id>npm install grunt-cli</id>
161 <phase>generate-resources</phase>
164 <arguments>install grunt-cli</arguments>
169 <id>bower install</id>
175 <arguments>install --allow-root</arguments>
185 <phase>generate-resources</phase>
188 <arguments>build --env=integ</arguments>
194 <!-- No deployment step for this project -->
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-deploy-plugin</artifactId>
198 <version>2.8</version>