Merge "Adding readme file to the repo"
[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     <properties>
12        <nexusproxy>https://nexus.onap.org</nexusproxy>
13     </properties>
14
15     <dependencies>
16     </dependencies>
17
18     <build>
19         <plugins>
20
21             <plugin>
22                 <groupId>org.apache.maven.plugins</groupId>
23                 <artifactId>maven-war-plugin</artifactId>
24                 <configuration>
25                     <failOnMissingWebXml>false</failOnMissingWebXml>
26                     <webResources>
27                        <resource>
28                           <directory>dist</directory>
29                        </resource>
30                     </webResources>
31                 </configuration>
32             </plugin>
33
34             <plugin>
35                 <groupId>com.github.eirslett</groupId>
36                 <artifactId>frontend-maven-plugin</artifactId>
37                 <version>1.4</version>
38                 <executions>
39                     <execution>
40                         <id>install node and npm</id>
41                         <goals>
42                             <goal>install-node-and-npm</goal>
43                         </goals>
44                         <phase>generate-resources</phase>
45                         <configuration>
46                             <nodeVersion>v6.2.2</nodeVersion>
47                             <npmVersion>3.10.3</npmVersion>
48                         </configuration>
49                     </execution>
50                     <execution>
51                         <id>npm config</id>
52                         <goals>
53                             <goal>npm</goal>
54                         </goals>
55                         <phase>generate-resources</phase>
56                         <configuration>
57                             <arguments>config set cache node\npm-cache</arguments>
58                         </configuration>
59                     </execution>
60                     <execution>
61                         <id>npm install</id>
62                         <goals>
63                             <goal>npm</goal>
64                         </goals>
65                         <phase>generate-resources</phase>
66                     </execution>
67                     <execution>
68                         <id>gulp build</id>
69                         <goals>
70                             <goal>gulp</goal>
71                         </goals>
72                         <phase>generate-resources</phase>
73
74                          <configuration>
75                                 <arguments>build</arguments>
76                         </configuration>
77
78                     </execution>
79                 </executions>
80             </plugin>
81         </plugins>
82     </build>
83     
84     <distributionManagement>
85        <repository>
86           <id>ecomp-releases</id>
87           <name>ECOMP Release Repository</name>
88           <url>${nexusproxy}/content/repositories/releases/</url>
89        </repository>
90        <snapshotRepository>
91           <id>ecomp-snapshots</id>
92           <name>ECOMP Snapshot Repository</name>
93           <url>${nexusproxy}/content/repositories/snapshots/</url>
94       </snapshotRepository>
95    </distributionManagement>
96
97 </project>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use