Fix mod ui build issues
[dcaegen2/platform.git] / mod2 / ui / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~  org.onap.dcae
5   ~  ================================================================================
6   ~  Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
7   ~  ================================================================================
8   ~  Licensed under the Apache License, Version 2.0 (the "License");
9   ~  you may not use this file except in compliance with the License.
10   ~  You may obtain a copy of the License at
11   ~
12   ~       http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~  Unless required by applicable law or agreed to in writing, software
15   ~  distributed under the License is distributed on an "AS IS" BASIS,
16   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~  See the License for the specific language governing permissions and
18   ~  limitations under the License.
19   ~  ============LICENSE_END=========================================================
20   -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.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.dcaegen2.platform.mod</groupId>
32     <artifactId>ui</artifactId>
33     <version>1.0.0-SNAPSHOT</version>
34
35     <build>
36         <plugins>
37             <plugin>
38                 <groupId>com.github.eirslett</groupId>
39                 <artifactId>frontend-maven-plugin</artifactId>
40                 <version>1.7.6</version>
41                 <configuration>
42                     <workingDirectory>./</workingDirectory>
43                     <nodeVersion>v12.16.1</nodeVersion>
44                     <npmVersion>6.13.4</npmVersion>
45                 </configuration>
46                 <executions>
47                     <execution>
48                         <id>install node and npm</id>
49                         <goals>
50                             <goal>install-node-and-npm</goal>
51                         </goals>
52                     </execution>
53                     <execution>
54                         <id>npm install</id>
55                         <goals>
56                             <goal>npm</goal>
57                         </goals>
58                     </execution>
59                     <execution>
60                         <id>npm run build</id>
61                         <goals>
62                             <goal>npm</goal>
63                         </goals>
64                         <configuration>
65                             <arguments>run build</arguments>
66                         </configuration>
67                     </execution>
68                 </executions>
69             </plugin>
70         </plugins>
71     </build>
72 </project>