blob: b1b20b6e4c445c59ea9f85f44c93b104829bf2cc [file] [log] [blame]
Aijana Schumann4bd84be2020-08-27 09:01:53 +02001<?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 -->
Aijana Schumann4bd84be2020-08-27 09:01:53 +020022<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>odlparent</artifactId>
Dan Timoney24383fb2021-05-04 13:52:45 -040028 <version>2.1.4</version>
Aijana Schumann4bd84be2020-08-27 09:01:53 +020029 <relativePath/>
30 </parent>
31
32 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
33 <artifactId>sdnr-wt-odlux-app-linkCalculationApp</artifactId>
Dan Timoney89e06242021-05-07 16:13:22 -040034 <version>1.1.6-SNAPSHOT</version>
Aijana Schumann4bd84be2020-08-27 09:01:53 +020035 <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>
Aijana Schumann4bd84be2020-08-27 09:01:53 +020047 </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>v10.16.3</nodeVersion>
143 <yarnVersion>v1.19.0</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 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-jar-plugin</artifactId>
160 </plugin>
161 <plugin>
162 <groupId>org.apache.felix</groupId>
163 <artifactId>maven-bundle-plugin</artifactId>
164 <extensions>true</extensions>
165 <configuration>
166 <instructions>
167 <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
168 <Private-Package/>
169 </instructions>
170 </configuration>
171 </plugin>
172 </plugins>
173 </build>
174</project>