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