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