Add tests to Inventory module
[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     <groupId>org.onap.aai</groupId>
27     <artifactId>sparky-fe</artifactId>
28     <packaging>war</packaging>
29     <version>1.4.0-SNAPSHOT</version>
30     <name>aai-sparky-fe</name>
31     <url>http://maven.apache.org</url>
32
33     <properties>
34        <nexusproxy>https://nexus.onap.org</nexusproxy>
35     </properties>
36
37     <dependencies>
38     </dependencies>
39
40     <build>
41         <plugins>
42             <plugin>
43                 <groupId>org.codehaus.mojo</groupId>
44                 <artifactId>sonar-maven-plugin</artifactId>
45                 <version>3.2</version>
46             </plugin>
47             <plugin>
48                 <groupId>org.apache.maven.plugins</groupId>
49                 <artifactId>maven-war-plugin</artifactId>
50                 <configuration>
51                     <failOnMissingWebXml>false</failOnMissingWebXml>
52                     <webResources>
53                        <resource>
54                           <directory>dist</directory>
55                                </resource>
56                     </webResources>
57                 </configuration>
58             </plugin>
59             <plugin>
60                 <groupId>com.github.eirslett</groupId>
61                 <artifactId>frontend-maven-plugin</artifactId>
62                 <version>1.4</version>
63                 <executions>
64                     <execution>
65                         <id>install node and npm</id>
66                         <goals>
67                             <goal>install-node-and-npm</goal>
68                         </goals>
69                         <phase>generate-resources</phase>
70                         <configuration>
71                             <nodeVersion>v6.2.2</nodeVersion>
72                             <npmVersion>3.10.3</npmVersion>
73                         </configuration>
74                     </execution>
75                     <execution>
76                         <id>npm config</id>
77                         <goals>
78                             <goal>npm</goal>
79                         </goals>
80                         <phase>generate-resources</phase>
81                         <configuration>
82                             <arguments>config set cache node${file.separator}npm-cache</arguments>
83                         </configuration>
84                     </execution>
85                     <execution>
86                         <id>npm install</id>
87                         <goals>
88                             <goal>npm</goal>
89                         </goals>
90                         <phase>generate-resources</phase>
91                     </execution>
92                     <execution>
93                         <id>gulp build</id>
94                         <goals>
95                             <goal>gulp</goal>
96                         </goals>
97                         <phase>generate-resources</phase>
98
99                          <configuration>
100                                 <arguments>build</arguments>
101                         </configuration>
102
103                     </execution>
104                 </executions>
105             </plugin>
106             <plugin>
107                 <groupId>org.sonatype.plugins</groupId>
108                 <artifactId>nexus-staging-maven-plugin</artifactId>
109                 <version>1.6.7</version>
110                 <extensions>true</extensions>
111                 <configuration>
112                     <nexusUrl>${nexusproxy}</nexusUrl>
113                     <stagingProfileId>176c31dfe190a</stagingProfileId>
114                     <serverId>ecomp-staging</serverId>
115                 </configuration>
116             </plugin>
117         </plugins>
118     </build>
119
120     <distributionManagement>
121        <repository>
122           <id>ecomp-releases</id>
123           <name>ECOMP Release Repository</name>
124           <url>${nexusproxy}/content/repositories/releases/</url>
125        </repository>
126        <snapshotRepository>
127           <id>ecomp-snapshots</id>
128           <name>ECOMP Snapshot Repository</name>
129           <url>${nexusproxy}/content/repositories/snapshots/</url>
130       </snapshotRepository>
131    </distributionManagement>
132
133     <repositories>
134         <repository>
135             <id>central</id>
136             <name>Maven 2 repository 2</name>
137             <url>http://repo2.maven.org/maven2/</url>
138         </repository>
139         <repository>
140             <id>ecomp-releases</id>
141             <name>ECOMP Release Repository</name>
142             <url>${nexusproxy}/content/repositories/releases/</url>
143         </repository>
144         <repository>
145             <id>ecomp-snapshots</id>
146             <name>ECOMP Snapshot Repository</name>
147             <url>${nexusproxy}/content/repositories/snapshots/</url>
148         </repository>
149         <repository>
150             <id>ecomp-staging</id>
151             <name>ECOMP Staging Repository</name>
152             <url>${nexusproxy}/content/repositories/staging/</url>
153         </repository>
154
155     </repositories>
156 </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