summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE/pom.xml')
-rw-r--r--ecomp-portal-FE/pom.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/ecomp-portal-FE/pom.xml b/ecomp-portal-FE/pom.xml
index 24747de7..e7f3a5d9 100644
--- a/ecomp-portal-FE/pom.xml
+++ b/ecomp-portal-FE/pom.xml
@@ -4,4 +4,96 @@
<artifactId>ecomp-portal-FE</artifactId>
<!-- Jenkins build process will append build number -->
<version>1.0.0</version>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.eirslett</groupId>
+ <artifactId>frontend-maven-plugin</artifactId>
+ <!-- Use the latest released version:
+ https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
+ <version>1.3</version>
+ <configuration>
+ <nodeVersion>v7.5.0</nodeVersion>
+ <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
+ <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
+ <installDirectory>./</installDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <!-- optional: you don't really need execution ids, but it looks nice in your build log. -->
+ <id>install node and npm</id>
+ <goals>
+ <goal>install-node-and-npm</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+
+ <execution>
+ <id>npm install</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>install</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>npm install bower</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>install bower</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>npm install grunt-cli</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>install grunt-cli</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>bower install</id>
+ <goals>
+ <goal>bower</goal>
+ </goals>
+
+ <configuration>
+ <arguments>install --allow-root</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>grunt build</id>
+ <goals>
+ <goal>grunt</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>build --env=integ</arguments>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>