root pom added
[portal.git] / ecomp-portal-FE / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>org.openecomp.portal</groupId>
4   <artifactId>ecomp-portal-FE</artifactId>
5   <!-- Jenkins build process will append build number -->
6   <version>1.0.0</version>
7   
8   <build>
9           <plugins>
10                     <plugin>
11                         <groupId>com.github.eirslett</groupId>
12                         <artifactId>frontend-maven-plugin</artifactId>
13                         <!-- Use the latest released version:
14                         https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
15                         <version>1.3</version>
16                          <configuration>
17                                 <nodeVersion>v7.5.0</nodeVersion>
18                                         <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
19                                 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
20                                 <installDirectory>./</installDirectory>
21                             </configuration>
22                         <executions>
23                                         <execution>
24                                         <!-- optional: you don't really need execution ids, but it looks nice in your build log. -->
25                                         <id>install node and npm</id>
26                                         <goals>
27                                             <goal>install-node-and-npm</goal>
28                                         </goals>
29                                         <phase>generate-resources</phase>
30                                     </execution>
31                                     
32                                     <execution>
33                                             <id>npm install</id>
34                                             <goals>
35                                                 <goal>npm</goal>
36                                             </goals>
37                                         
38                                             <phase>generate-resources</phase>
39                                         
40                                             <configuration>
41                                                   <arguments>install</arguments>
42                                             </configuration>
43                                         </execution>
44                                         
45                                          <execution>
46                                             <id>npm install bower</id>
47                                             <goals>
48                                                 <goal>npm</goal>
49                                             </goals>
50                                         
51                                             <phase>generate-resources</phase>
52                                         
53                                             <configuration>
54                                                 <arguments>install bower</arguments>
55                                             </configuration>
56                                         </execution>
57                                         
58                                         <execution>
59                                             <id>npm install grunt-cli</id>
60                                             <goals>
61                                                 <goal>npm</goal>
62                                             </goals>
63                                         
64                                             <phase>generate-resources</phase>
65                                         
66                                             <configuration>
67                                                 <arguments>install grunt-cli</arguments>
68                                             </configuration>
69                                         </execution>
70                                         
71                                         <execution>
72                                             <id>bower install</id>
73                                             <goals>
74                                                 <goal>bower</goal>
75                                             </goals>
76                                         
77                                             <configuration>
78                                                 <arguments>install --allow-root</arguments>
79                                             </configuration>
80                                         </execution>
81                                         
82                                         <execution>
83                                             <id>grunt build</id>
84                                             <goals>
85                                                 <goal>grunt</goal>
86                                             </goals>
87                                         
88                                             <phase>generate-resources</phase>
89                                         
90                                             <configuration>
91                                                 <arguments>build --env=integ</arguments>
92                                             </configuration>
93                                         </execution>
94                                     
95                                 </executions>
96                     </plugin>
97             </plugins>
98   </build>
99 </project>