Create wt-odlux directory
[ccsdk/features.git] / sdnr / wt-odlux / odlux / apps / inventoryApp / 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-inventoryApp</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
44     <build>
45         <resources>
46             <resource>
47                 <directory>dist</directory>
48                 <targetPath>odlux</targetPath>
49             </resource>
50         </resources>
51         <plugins>
52             <plugin>
53                 <artifactId>maven-clean-plugin</artifactId>
54                 <configuration>
55                     <filesets>
56                         <fileset>
57                             <directory>dist</directory>
58                             <followSymlinks>false</followSymlinks>
59                         </fileset>
60                         <fileset>
61                             <directory>node</directory>
62                             <followSymlinks>false</followSymlinks>
63                         </fileset>
64                         <fileset>
65                             <directory>node_modules</directory>
66                             <followSymlinks>false</followSymlinks>
67                         </fileset>
68                         <fileset>
69                             <directory>../node_modules</directory>
70                             <followSymlinks>false</followSymlinks>
71                         </fileset>
72                         <!-- eclipse bug build bin folder in basedir -->
73                         <fileset>
74                             <directory>bin</directory>
75                             <followSymlinks>false</followSymlinks>
76                         </fileset>
77                     </filesets>
78                 </configuration>
79             </plugin>
80             <plugin>
81                 <groupId>de.jacks-it-lab</groupId>
82                 <artifactId>frontend-maven-plugin</artifactId>
83                 <version>1.7.2</version>
84                 <executions>
85                     <execution>
86                         <id>install node and yarn</id>
87                         <goals>
88                             <goal>install-node-and-yarn</goal>
89                         </goals>
90                         <!-- optional: default phase is "generate-resources" -->
91                         <phase>initialize</phase>
92                         <configuration>
93                             <nodeVersion>v16.17.0</nodeVersion>
94                             <yarnVersion>v1.22.19</yarnVersion>
95                         </configuration>
96                     </execution>
97                     <execution>
98                         <id>yarn build</id>
99                         <goals>
100                             <goal>yarn</goal>
101                         </goals>
102                         <configuration>
103                             <arguments>run build</arguments>
104                         </configuration>
105                     </execution>
106                 </executions>
107             </plugin>
108         </plugins>
109     </build>
110 </project>