blob: 69f73cdeaa53537e2aead10c18978aa5ca116b2a [file] [log] [blame]
herberte6d0d672019-12-14 01:05:47 +01001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05002<!--
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
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050023<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>
herberte6d0d672019-12-14 01:05:47 +010025
26 <parent>
27 <groupId>org.onap.ccsdk.parent</groupId>
28 <artifactId>odlparent</artifactId>
Dan Timoney49035452020-01-30 09:53:35 -050029 <version>1.5.2-SNAPSHOT</version>
herberte6d0d672019-12-14 01:05:47 +010030 <relativePath/>
31 </parent>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050032
herberte6d0d672019-12-14 01:05:47 +010033 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34 <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
Dan Timoney49035452020-01-30 09:53:35 -050035 <version>0.7.1-SNAPSHOT</version>
herberte6d0d672019-12-14 01:05:47 +010036 <packaging>bundle</packaging>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050037
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050038 <name>ccsdk-features :: ${project.artifactId}</name>
herberte6d0d672019-12-14 01:05:47 +010039 <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>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050045
herberte6d0d672019-12-14 01:05:47 +010046 <dependencies>
47 <dependency>
48 <groupId>${project.groupId}</groupId>
49 <artifactId>sdnr-wt-odlux-core-model</artifactId>
50 <version>${project.version}</version>
51 </dependency>
52 <dependency>
53 <groupId>${project.groupId}</groupId>
54 <artifactId>sdnr-wt-odlux-core-provider</artifactId>
55 <version>${project.version}</version>
56 <scope>test</scope>
57 </dependency>
58 <dependency>
59 <groupId>junit</groupId>
60 <artifactId>junit</artifactId>
61 <scope>test</scope>
62 </dependency>
63 <dependency>
64 <groupId>org.osgi</groupId>
65 <artifactId>org.osgi.core</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>org.osgi</groupId>
69 <artifactId>org.osgi.compendium</artifactId>
70 </dependency>
71 </dependencies>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050072
herberte6d0d672019-12-14 01:05:47 +010073 <build>
74 <sourceDirectory>src2/main/java</sourceDirectory>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050075 <resources>
76 <resource>
77 <directory>dist</directory>
78 <targetPath>odlux</targetPath>
79 </resource>
80 <resource>
81 <directory>src2/main/resources</directory>
82 </resource>
83 <resource>
84 <directory>src2/test/resources</directory>
85 </resource>
86 </resources>
herberte6d0d672019-12-14 01:05:47 +010087 <plugins>
88 <plugin>
89 <artifactId>maven-clean-plugin</artifactId>
90 <configuration>
91 <filesets>
92 <fileset>
93 <directory>dist</directory>
94 <followSymlinks>false</followSymlinks>
95 </fileset>
96 <fileset>
97 <directory>node</directory>
98 <followSymlinks>false</followSymlinks>
99 </fileset>
100 <fileset>
101 <directory>node_modules</directory>
102 <followSymlinks>false</followSymlinks>
103 </fileset>
104 <fileset>
105 <directory>../node_modules</directory>
106 <followSymlinks>false</followSymlinks>
107 </fileset>
108 <!-- eclipse bug build bin folder in basedir -->
109 <fileset>
110 <directory>bin</directory>
111 <followSymlinks>false</followSymlinks>
112 </fileset>
113 </filesets>
114 </configuration>
115 </plugin>
116 <plugin>
117 <groupId>org.codehaus.mojo</groupId>
118 <artifactId>build-helper-maven-plugin</artifactId>
119 <executions>
120 <execution>
121 <id>add-test-source</id>
122 <phase>generate-test-sources</phase>
123 <goals>
124 <goal>add-test-source</goal>
125 </goals>
126 <configuration>
127 <sources>
128 <source>src2/test/java</source>
129 </sources>
130 </configuration>
131 </execution>
132 </executions>
133 </plugin>
134 <plugin>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500135 <groupId>de.jacks-it-lab</groupId>
136 <artifactId>frontend-maven-plugin</artifactId>
137 <version>1.7.2</version>
138 <executions>
herberte6d0d672019-12-14 01:05:47 +0100139 <execution>
140 <id>install node and yarn</id>
141 <goals>
142 <goal>install-node-and-yarn</goal>
143 </goals>
144 <!-- optional: default phase is "generate-resources" -->
145 <phase>initialize</phase>
146 <configuration>
147 <nodeVersion>v10.16.3</nodeVersion>
148 <yarnVersion>v1.19.0</yarnVersion>
149 </configuration>
150 </execution>
151 <execution>
152 <id>yarn build</id>
153 <goals>
154 <goal>yarn</goal>
155 </goals>
156 <configuration>
157 <arguments>run build</arguments>
158 </configuration>
159 </execution>
160 </executions>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-jar-plugin</artifactId>
165 </plugin>
166 <plugin>
167 <groupId>org.apache.felix</groupId>
168 <artifactId>maven-bundle-plugin</artifactId>
169 <extensions>true</extensions>
170 <configuration>
171 <instructions>
172 <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
173 <Private-Package/>
174 </instructions>
175 </configuration>
176 </plugin>
177 </plugins>
herberte6d0d672019-12-14 01:05:47 +0100178 </build>
179</project>