30f136eb5720307d182d3a22cc8d75ebd13f34cd
[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.1.0-SNAPSHOT</version>
7   
8   <build>
9           <plugins>
10                   <plugin>
11                           <groupId>org.apache.maven.plugins</groupId>
12                           <artifactId>maven-deploy-plugin</artifactId>
13                           <version>2.8</version>
14                           <configuration>
15                                   <skip>true</skip>
16                           </configuration>
17                   </plugin>
18                     <plugin>
19                         <groupId>com.github.eirslett</groupId>
20                         <artifactId>frontend-maven-plugin</artifactId>
21                         <!-- Use the latest released version:
22                         https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
23                         <version>1.3</version>
24                          <configuration>
25                                 <nodeVersion>v7.5.0</nodeVersion>
26                                         <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
27                                 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
28                                 <installDirectory>./</installDirectory>
29                             </configuration>
30                         <executions>
31                                         <execution>
32                                         <!-- optional: you don't really need execution ids, but it looks nice in your build log. -->
33                                         <id>install node and npm</id>
34                                         <goals>
35                                             <goal>install-node-and-npm</goal>
36                                         </goals>
37                                         <phase>generate-resources</phase>
38                                     </execution>
39                                     
40                                     <execution>
41                                             <id>npm install</id>
42                                             <goals>
43                                                 <goal>npm</goal>
44                                             </goals>
45                                         
46                                             <phase>generate-resources</phase>
47                                         
48                                             <configuration>
49                                                   <arguments>install</arguments>
50                                             </configuration>
51                                         </execution>
52                                         
53                                          <execution>
54                                             <id>npm install bower</id>
55                                             <goals>
56                                                 <goal>npm</goal>
57                                             </goals>
58                                         
59                                             <phase>generate-resources</phase>
60                                         
61                                             <configuration>
62                                                 <arguments>install bower</arguments>
63                                             </configuration>
64                                         </execution>
65                                         
66                                         <execution>
67                                             <id>npm install grunt-cli</id>
68                                             <goals>
69                                                 <goal>npm</goal>
70                                             </goals>
71                                         
72                                             <phase>generate-resources</phase>
73                                         
74                                             <configuration>
75                                                 <arguments>install grunt-cli</arguments>
76                                             </configuration>
77                                         </execution>
78                                         
79                                         <execution>
80                                             <id>bower install</id>
81                                             <goals>
82                                                 <goal>bower</goal>
83                                             </goals>
84                                         
85                                             <configuration>
86                                                 <arguments>install --allow-root</arguments>
87                                             </configuration>
88                                         </execution>
89                                         
90                                         <execution>
91                                             <id>grunt build</id>
92                                             <goals>
93                                                 <goal>grunt</goal>
94                                             </goals>
95                                         
96                                             <phase>generate-resources</phase>
97                                         
98                                             <configuration>
99                                                 <arguments>build --env=integ</arguments>
100                                             </configuration>
101                                         </execution>
102                                     
103                                 </executions>
104                     </plugin>
105             </plugins>
106   </build>
107 </project>