Create wt-odlux directory
[ccsdk/features.git] / sdnr / wt-odlux / odlux / apps / faultApp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : SDNR ODLUX
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
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <groupId>org.onap.ccsdk.features.sdnr.odlux</groupId>
27     <artifactId>sdnr-odlux-app-faultApp</artifactId>
28     <version>1.7.0-SNAPSHOT</version>
29     <packaging>jar</packaging>
30
31     <name>SDNR ODLUX :: ${project.artifactId}</name>
32     <licenses>
33         <license>
34             <name>Apache License, Version 2.0</name>
35             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
36         </license>
37     </licenses>
38
39     <properties>
40         <maven.javadoc.skip>true</maven.javadoc.skip>
41     </properties>
42
43     <build>
44         <resources>
45             <resource>
46                 <directory>dist</directory>
47                 <targetPath>odlux</targetPath>
48             </resource>
49         </resources>
50         <plugins>
51             <plugin>
52                 <artifactId>maven-clean-plugin</artifactId>
53                 <configuration>
54                     <filesets>
55                         <fileset>
56                             <directory>dist</directory>
57                             <followSymlinks>false</followSymlinks>
58                         </fileset>
59                         <fileset>
60                             <directory>node</directory>
61                             <followSymlinks>false</followSymlinks>
62                         </fileset>
63                         <fileset>
64                             <directory>node_modules</directory>
65                             <followSymlinks>false</followSymlinks>
66                         </fileset>
67                         <fileset>
68                             <directory>../node_modules</directory>
69                             <followSymlinks>false</followSymlinks>
70                         </fileset>
71                         <!-- eclipse bug build bin folder in basedir -->
72                         <fileset>
73                             <directory>bin</directory>
74                             <followSymlinks>false</followSymlinks>
75                         </fileset>
76                     </filesets>
77                 </configuration>
78             </plugin>
79             <plugin>
80                 <groupId>de.jacks-it-lab</groupId>
81                 <artifactId>frontend-maven-plugin</artifactId>
82                 <version>1.7.2</version>
83                 <executions>
84                     <execution>
85                         <id>install node and yarn</id>
86                         <goals>
87                             <goal>install-node-and-yarn</goal>
88                         </goals>
89                         <!-- optional: default phase is "generate-resources" -->
90                         <phase>initialize</phase>
91                         <configuration>
92                             <nodeVersion>v16.17.0</nodeVersion>
93                             <yarnVersion>v1.22.19</yarnVersion>
94                         </configuration>
95                     </execution>
96                     <execution>
97                         <id>yarn build</id>
98                         <goals>
99                             <goal>yarn</goal>
100                         </goals>
101                         <configuration>
102                             <arguments>run build</arguments>
103                         </configuration>
104                     </execution>
105                 </executions>
106             </plugin>
107         </plugins>
108     </build>
109 </project>