blob: a860935f3497b4bf0d7b1db005a401d2a2b53a27 [file] [log] [blame]
herberte6d0d672019-12-14 01:05:47 +01001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -05002<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">
3 <modelVersion>4.0.0</modelVersion>
herberte6d0d672019-12-14 01:05:47 +01004
5 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent</artifactId>
Dan Timoneybc0f2d72020-01-23 14:42:42 -05008 <version>1.5.1</version>
herberte6d0d672019-12-14 01:05:47 +01009 <relativePath/>
10 </parent>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050011
herberte6d0d672019-12-14 01:05:47 +010012 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
13 <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
14 <version>0.7.0-SNAPSHOT</version>
15 <packaging>bundle</packaging>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050016
17 <name>ccsdk-features :: ${project.artifactId}</name>
herberte6d0d672019-12-14 01:05:47 +010018 <licenses>
19 <license>
20 <name>Apache License, Version 2.0</name>
21 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
22 </license>
23 </licenses>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050024
herberte6d0d672019-12-14 01:05:47 +010025 <dependencies>
26 <dependency>
27 <groupId>${project.groupId}</groupId>
28 <artifactId>sdnr-wt-odlux-core-model</artifactId>
29 <version>${project.version}</version>
30 </dependency>
31 <dependency>
32 <groupId>${project.groupId}</groupId>
33 <artifactId>sdnr-wt-odlux-core-provider</artifactId>
34 <version>${project.version}</version>
35 <scope>test</scope>
36 </dependency>
37 <dependency>
38 <groupId>junit</groupId>
39 <artifactId>junit</artifactId>
40 <scope>test</scope>
41 </dependency>
42 <dependency>
43 <groupId>org.osgi</groupId>
44 <artifactId>org.osgi.core</artifactId>
45 </dependency>
46 <dependency>
47 <groupId>org.osgi</groupId>
48 <artifactId>org.osgi.compendium</artifactId>
49 </dependency>
50 </dependencies>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050051
herberte6d0d672019-12-14 01:05:47 +010052 <build>
53 <sourceDirectory>src2/main/java</sourceDirectory>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050054 <resources>
55 <resource>
56 <directory>dist</directory>
57 <targetPath>odlux</targetPath>
58 </resource>
59 <resource>
60 <directory>src2/main/resources</directory>
61 </resource>
62 <resource>
63 <directory>src2/test/resources</directory>
64 </resource>
65 </resources>
herberte6d0d672019-12-14 01:05:47 +010066 <plugins>
67 <plugin>
68 <artifactId>maven-clean-plugin</artifactId>
69 <configuration>
70 <filesets>
71 <fileset>
72 <directory>dist</directory>
73 <followSymlinks>false</followSymlinks>
74 </fileset>
75 <fileset>
76 <directory>node</directory>
77 <followSymlinks>false</followSymlinks>
78 </fileset>
79 <fileset>
80 <directory>node_modules</directory>
81 <followSymlinks>false</followSymlinks>
82 </fileset>
83 <fileset>
84 <directory>../node_modules</directory>
85 <followSymlinks>false</followSymlinks>
86 </fileset>
87 <!-- eclipse bug build bin folder in basedir -->
88 <fileset>
89 <directory>bin</directory>
90 <followSymlinks>false</followSymlinks>
91 </fileset>
92 </filesets>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>build-helper-maven-plugin</artifactId>
98 <executions>
99 <execution>
100 <id>add-test-source</id>
101 <phase>generate-test-sources</phase>
102 <goals>
103 <goal>add-test-source</goal>
104 </goals>
105 <configuration>
106 <sources>
107 <source>src2/test/java</source>
108 </sources>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 <plugin>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -0500114 <groupId>de.jacks-it-lab</groupId>
115 <artifactId>frontend-maven-plugin</artifactId>
Singal, Kapil (ks220y)db2c98a2020-01-06 11:47:09 -0500116 <version>1.7.2</version>
herberte6d0d672019-12-14 01:05:47 +0100117 <executions>
118 <execution>
119 <id>install node and yarn</id>
120 <goals>
121 <goal>install-node-and-yarn</goal>
122 </goals>
123 <!-- optional: default phase is "generate-resources" -->
124 <phase>initialize</phase>
125 <configuration>
126 <nodeVersion>v10.16.3</nodeVersion>
127 <yarnVersion>v1.19.0</yarnVersion>
128 </configuration>
129 </execution>
130 <execution>
131 <id>yarn build</id>
132 <goals>
133 <goal>yarn</goal>
134 </goals>
135 <configuration>
136 <arguments>run build</arguments>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-jar-plugin</artifactId>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.felix</groupId>
147 <artifactId>maven-bundle-plugin</artifactId>
148 <extensions>true</extensions>
149 <configuration>
150 <instructions>
151 <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
152 <Private-Package/>
153 </instructions>
154 </configuration>
155 </plugin>
156 </plugins>
herberte6d0d672019-12-14 01:05:47 +0100157 </build>
158</project>