summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-15 17:36:47 -0500
committertalasila <talasila@research.att.com>2017-02-15 17:37:03 -0500
commit0ff0e9f4b1862fdf46a130b89f9b18c761717f2a (patch)
tree637c9cd1e101d5f75d84ba27db393e6630d40fee /ecomp-portal-FE
parentc2de9fd318149ed43abf21b84bfdd7f805381105 (diff)
root pom added
Change-Id: I5017814ffd3b2a455d975bf9aad24cafb385a112 Signed-off-by: talasila <talasila@research.att.com>
Diffstat (limited to 'ecomp-portal-FE')
-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>