[AAI] Remove Robby Maharajh & Harish Kajur as committers
[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.6.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>v6.2.2</nodeVersion>
77                             <npmVersion>3.10.3</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                         
104                     </execution>
105                     <execution>
106                         <id>gulp build</id>
107                         <goals>
108                             <goal>gulp</goal>
109                         </goals>
110                         <phase>generate-resources</phase>
111
112                          <configuration>
113                                 <arguments>build</arguments>
114                         </configuration>
115
116                     </execution>
117                 </executions>
118             </plugin>
119             <plugin>
120               <groupId>org.apache.maven.plugins</groupId>
121               <artifactId>maven-deploy-plugin</artifactId>
122             </plugin>
123         </plugins>
124     </build>
125
126     <distributionManagement>
127        <repository>
128           <id>ecomp-releases</id>
129           <name>ECOMP Release Repository</name>
130           <url>${nexusproxy}/content/repositories/releases/</url>
131        </repository>
132        <snapshotRepository>
133           <id>ecomp-snapshots</id>
134           <name>ECOMP Snapshot Repository</name>
135           <url>${nexusproxy}/content/repositories/snapshots/</url>
136       </snapshotRepository>
137    </distributionManagement>
138
139     <repositories>
140         <repository>
141             <id>central</id>
142             <name>Maven 2 repository 2</name>
143             <url>http://repo2.maven.org/maven2/</url>
144         </repository>
145         <repository>
146             <id>ecomp-releases</id>
147             <name>ECOMP Release Repository</name>
148             <url>${nexusproxy}/content/repositories/releases/</url>
149         </repository>
150         <repository>
151             <id>ecomp-snapshots</id>
152             <name>ECOMP Snapshot Repository</name>
153             <url>${nexusproxy}/content/repositories/snapshots/</url>
154         </repository>
155         <repository>
156             <id>ecomp-staging</id>
157             <name>ECOMP Staging Repository</name>
158             <url>${nexusproxy}/content/repositories/staging/</url>
159         </repository>
160
161     </repositories>
162 </project>