Updated Sparky to add ECOMP functionality Browse, Specialized Search, BYOQ, and the...
[aai/sparky-fe.git] / pom.xml
1 <!--
2
3     ============LICENSE_START=======================================================
4     org.onap.aai
5     ================================================================================
6     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7     Copyright © 2017-2018 Amdocs
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13           http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.oparent</groupId>
28         <artifactId>oparent</artifactId>
29         <version>2.0.0</version>
30     </parent>
31     <groupId>org.onap.aai</groupId>
32     <artifactId>sparky-fe</artifactId>
33     <packaging>war</packaging>
34     <version>1.8.0-SNAPSHOT</version>
35     <name>aai-sparky-fe</name>
36     <url>http://maven.apache.org</url>
37
38     <properties>
39        <nexusproxy>https://nexus.onap.org</nexusproxy>
40     </properties>
41
42     <dependencies>
43     </dependencies>
44
45     <build>
46         <plugins>
47             <plugin>
48                 <groupId>org.codehaus.mojo</groupId>
49                 <artifactId>sonar-maven-plugin</artifactId>
50                 <version>3.2</version>
51             </plugin>
52             <plugin>
53                 <groupId>org.apache.maven.plugins</groupId>
54                 <artifactId>maven-war-plugin</artifactId>
55                 <configuration>
56                     <failOnMissingWebXml>false</failOnMissingWebXml>
57                     <webResources>
58                        <resource>
59                           <directory>dist</directory>
60                                </resource>
61                     </webResources>
62                 </configuration>
63             </plugin>
64             <plugin>
65                 <groupId>com.github.eirslett</groupId>
66                 <artifactId>frontend-maven-plugin</artifactId>
67                 <version>1.4</version>
68                 <executions>
69                     <execution>
70                         <id>install node and npm</id>
71                         <goals>
72                             <goal>install-node-and-npm</goal>
73                         </goals>
74                         <phase>generate-resources</phase>
75                         <configuration>
76                             <nodeVersion>v9.4.0</nodeVersion>
77                             <npmVersion>6.9.0</npmVersion>
78                         </configuration>
79                     </execution>
80                     <execution>
81                         <id>npm config</id>
82                         <goals>
83                             <goal>npm</goal>
84                         </goals>
85                         <phase>generate-resources</phase>
86                         <configuration>
87                             <arguments>config set cache node${file.separator}npm-cache</arguments>
88                         </configuration>
89                     </execution>
90                     <execution>
91                         <id>npm install</id>
92                         <goals>
93                             <goal>npm</goal>
94                         </goals>
95                         <phase>generate-resources</phase>
96                         <configuration>
97                             <!-- optional: The default argument is actually
98                                  "install", so unless you need to run some other npm command,
99                                  you can remove this whole <configuration> section.
100                             -->
101                             <arguments>install -ddd</arguments>
102                         </configuration>
103                     </execution>
104                     <execution>
105                         <id>gulp build</id>
106                         <goals>
107                             <goal>gulp</goal>
108                         </goals>
109                         <phase>generate-resources</phase>
110
111                          <configuration>
112                                 <arguments>build</arguments>
113                         </configuration>
114
115                     </execution>
116                 </executions>
117             </plugin>
118             <plugin>
119               <groupId>org.apache.maven.plugins</groupId>
120               <artifactId>maven-deploy-plugin</artifactId>
121             </plugin>
122         </plugins>
123     </build>
124
125     <distributionManagement>
126        <repository>
127           <id>ecomp-releases</id>
128           <name>ECOMP Release Repository</name>
129           <url>${nexusproxy}/content/repositories/releases/</url>
130        </repository>
131        <snapshotRepository>
132           <id>ecomp-snapshots</id>
133           <name>ECOMP Snapshot Repository</name>
134           <url>${nexusproxy}/content/repositories/snapshots/</url>
135       </snapshotRepository>
136    </distributionManagement>
137
138     <repositories>
139         <repository>
140             <id>central</id>
141             <name>Maven 2 repository 2</name>
142             <url>http://repo2.maven.org/maven2/</url>
143         </repository>
144         <repository>
145             <id>ecomp-releases</id>
146             <name>ECOMP Release Repository</name>
147             <url>${nexusproxy}/content/repositories/releases/</url>
148         </repository>
149         <repository>
150             <id>ecomp-snapshots</id>
151             <name>ECOMP Snapshot Repository</name>
152             <url>${nexusproxy}/content/repositories/snapshots/</url>
153         </repository>
154         <repository>
155             <id>ecomp-staging</id>
156             <name>ECOMP Staging Repository</name>
157             <url>${nexusproxy}/content/repositories/staging/</url>
158         </repository>
159
160     </repositories>
161 </project>