Initial coomit for AAI-UI(sparky-fe)
[aai/sparky-fe.git] / pom.xml
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/maven-v4_0_0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>org.openecomp.aai</groupId>
5     <artifactId>sparky-fe</artifactId>
6     <packaging>war</packaging>
7     <version>1.0.0-SNAPSHOT</version>
8     <name>Sparky FE</name>
9     <url>http://maven.apache.org</url>
10
11     <dependencies>
12     </dependencies>
13
14     <build>
15         <plugins>
16
17             <plugin>
18                 <groupId>org.apache.maven.plugins</groupId>
19                 <artifactId>maven-war-plugin</artifactId>
20                 <configuration>
21                     <failOnMissingWebXml>false</failOnMissingWebXml>
22                     <webResources>
23                        <resource>
24                           <directory>dist</directory>
25                        </resource>
26                     </webResources>
27                 </configuration>
28             </plugin>
29
30             <plugin>
31                 <groupId>com.github.eirslett</groupId>
32                 <artifactId>frontend-maven-plugin</artifactId>
33                 <version>1.4</version>
34                 <executions>
35                     <execution>
36                         <id>install node and npm</id>
37                         <goals>
38                             <goal>install-node-and-npm</goal>
39                         </goals>
40                         <phase>generate-resources</phase>
41                         <configuration>
42                             <nodeVersion>v6.2.2</nodeVersion>
43                             <npmVersion>3.10.3</npmVersion>
44                         </configuration>
45                     </execution>
46                     <execution>
47                         <id>npm config</id>
48                         <goals>
49                             <goal>npm</goal>
50                         </goals>
51                         <phase>generate-resources</phase>
52                         <configuration>
53                             <arguments>config set cache node\npm-cache</arguments>
54                         </configuration>
55                     </execution>
56                     <execution>
57                         <id>npm install</id>
58                         <goals>
59                             <goal>npm</goal>
60                         </goals>
61                         <phase>generate-resources</phase>
62                     </execution>
63                     <execution>
64                         <id>gulp build</id>
65                         <goals>
66                             <goal>gulp</goal>
67                         </goals>
68                         <phase>generate-resources</phase>
69
70                          <configuration>
71                                 <arguments>build</arguments>
72                         </configuration>
73
74                     </execution>
75                 </executions>
76             </plugin>
77         </plugins>
78     </build>
79
80 </project>