df7fdd38bfa9fbdfbe66e4c9cd6b799707e8cb2e
[ccsdk/features.git] / sdnr / wt / odlux / apps / eventLogApp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
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" 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">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.ccsdk.parent</groupId>
27         <artifactId>binding-parent</artifactId>
28         <version>2.3.3</version>
29         <relativePath/>
30     </parent>
31
32     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
33     <artifactId>sdnr-wt-odlux-app-eventLogApp</artifactId>
34     <version>1.3.1-SNAPSHOT</version>
35     <packaging>bundle</packaging>
36
37     <name>ccsdk-features :: ${project.artifactId}</name>
38     <licenses>
39         <license>
40             <name>Apache License, Version 2.0</name>
41             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
42         </license>
43     </licenses>
44
45     <properties>
46         <maven.javadoc.skip>true</maven.javadoc.skip>
47     </properties>
48
49     <dependencies>
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>sdnr-wt-odlux-core-model</artifactId>
53             <version>${project.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>sdnr-wt-odlux-core-provider</artifactId>
58             <version>${project.version}</version>
59             <scope>test</scope>
60         </dependency>
61         <dependency>
62             <groupId>junit</groupId>
63             <artifactId>junit</artifactId>
64             <scope>test</scope>
65         </dependency>
66     </dependencies>
67
68     <build>
69         <sourceDirectory>src2/main/java</sourceDirectory>
70         <resources>
71             <resource>
72                 <directory>dist</directory>
73                 <targetPath>odlux</targetPath>
74             </resource>
75             <resource>
76                 <directory>src2/main/resources</directory>
77             </resource>
78             <resource>
79                 <directory>src2/test/resources</directory>
80             </resource>
81         </resources>
82         <plugins>
83             <plugin>
84                 <artifactId>maven-clean-plugin</artifactId>
85                 <configuration>
86                     <filesets>
87                         <fileset>
88                             <directory>dist</directory>
89                             <followSymlinks>false</followSymlinks>
90                         </fileset>
91                         <fileset>
92                             <directory>node</directory>
93                             <followSymlinks>false</followSymlinks>
94                         </fileset>
95                         <fileset>
96                             <directory>node_modules</directory>
97                             <followSymlinks>false</followSymlinks>
98                         </fileset>
99                         <fileset>
100                             <directory>../node_modules</directory>
101                             <followSymlinks>false</followSymlinks>
102                         </fileset>
103                         <!-- eclipse bug build bin folder in basedir -->
104                         <fileset>
105                             <directory>bin</directory>
106                             <followSymlinks>false</followSymlinks>
107                         </fileset>
108                     </filesets>
109                 </configuration>
110             </plugin>
111             <plugin>
112                 <groupId>org.codehaus.mojo</groupId>
113                 <artifactId>build-helper-maven-plugin</artifactId>
114                 <executions>
115                     <execution>
116                         <id>add-test-source</id>
117                         <phase>generate-test-sources</phase>
118                         <goals>
119                             <goal>add-test-source</goal>
120                         </goals>
121                         <configuration>
122                             <sources>
123                                 <source>src2/test/java</source>
124                             </sources>
125                         </configuration>
126                     </execution>
127                 </executions>
128             </plugin>
129             <plugin>
130                 <groupId>de.jacks-it-lab</groupId>
131                 <artifactId>frontend-maven-plugin</artifactId>
132                 <version>1.7.2</version>
133                 <executions>
134                     <execution>
135                         <id>install node and yarn</id>
136                         <goals>
137                             <goal>install-node-and-yarn</goal>
138                         </goals>
139                         <!-- optional: default phase is "generate-resources" -->
140                         <phase>initialize</phase>
141                         <configuration>
142                             <nodeVersion>v12.13.0</nodeVersion>
143                             <yarnVersion>v1.22.10</yarnVersion>
144                         </configuration>
145                     </execution>
146                     <execution>
147                         <id>yarn build</id>
148                         <goals>
149                             <goal>yarn</goal>
150                         </goals>
151                         <configuration>
152                             <arguments>run build</arguments>
153                         </configuration>
154                     </execution>
155                 </executions>
156             </plugin>
157         </plugins>
158     </build>
159 </project>