blob: ab3f40aacd3426fa63fbba4622ba6556bb1e26e8 [file] [log] [blame]
Herbert Eiselt3d202a02019-02-11 14:54:12 +01001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -04002<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">
Herbert Eiselt3d202a02019-02-11 14:54:12 +01003
Herbert Eiselt7446f232019-02-28 15:23:42 +01004 <parent>
5 <groupId>org.onap.ccsdk.parent</groupId>
6 <artifactId>odlparent</artifactId>
Timoney, Dan (dt5972)b511df02019-11-13 10:49:18 -05007 <version>1.5.0</version>
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -04008 <relativePath/>
Herbert Eiselt7446f232019-02-28 15:23:42 +01009 </parent>
10 <modelVersion>4.0.0</modelVersion>
11 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
12 <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
Timoney, Dan (dt5972)bc483372019-09-11 10:58:56 -040013 <version>0.7.0-SNAPSHOT</version>
Herbert Eiselt7446f232019-02-28 15:23:42 +010014 <packaging>bundle</packaging>
15 <name>sdnr-wt-odlux-app-apiDemo</name>
16 <licenses>
17 <license>
18 <name>Apache License, Version 2.0</name>
19 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
20 </license>
21 </licenses>
22 <dependencies>
23 <dependency>
24 <groupId>${project.groupId}</groupId>
25 <artifactId>sdnr-wt-odlux-core-model</artifactId>
26 <version>${project.version}</version>
27 </dependency>
28 <dependency>
29 <groupId>${project.groupId}</groupId>
30 <artifactId>sdnr-wt-odlux-core-provider</artifactId>
31 <version>${project.version}</version>
32 <scope>test</scope>
33 </dependency>
34 <dependency>
35 <groupId>junit</groupId>
36 <artifactId>junit</artifactId>
37 <scope>test</scope>
38 </dependency>
39 <dependency>
40 <groupId>org.osgi</groupId>
41 <artifactId>org.osgi.core</artifactId>
42 </dependency>
43 <dependency>
44 <groupId>org.osgi</groupId>
45 <artifactId>org.osgi.compendium</artifactId>
46 </dependency>
47 </dependencies>
48 <build>
49 <sourceDirectory>src2/main/java</sourceDirectory>
50 <plugins>
51 <plugin>
52 <artifactId>maven-clean-plugin</artifactId>
53 <configuration>
54 <filesets>
55 <fileset>
56 <directory>dist</directory>
57 <followSymlinks>false</followSymlinks>
58 </fileset>
59 <fileset>
60 <directory>node</directory>
61 <followSymlinks>false</followSymlinks>
62 </fileset>
63 <fileset>
64 <directory>node_modules</directory>
65 <followSymlinks>false</followSymlinks>
66 </fileset>
67 <fileset>
68 <directory>../node_modules</directory>
69 <followSymlinks>false</followSymlinks>
70 </fileset>
71 <!-- eclipse bug build bin folder in basedir -->
Herbert Eiselt3d202a02019-02-11 14:54:12 +010072 <fileset>
Herbert Eiselt7446f232019-02-28 15:23:42 +010073 <directory>bin</directory>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010074 <followSymlinks>false</followSymlinks>
75 </fileset>
Herbert Eiselt7446f232019-02-28 15:23:42 +010076 </filesets>
77 </configuration>
78 </plugin>
79 <plugin>
80 <groupId>org.codehaus.mojo</groupId>
81 <artifactId>build-helper-maven-plugin</artifactId>
82 <executions>
83 <execution>
84 <id>add-test-source</id>
85 <phase>generate-test-sources</phase>
86 <goals>
87 <goal>add-test-source</goal>
88 </goals>
89 <configuration>
90 <sources>
91 <source>src2/test/java</source>
92 </sources>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
97 <plugin>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +010098 <groupId>de.jacksitlab</groupId>
Herbert Eiselt7446f232019-02-28 15:23:42 +010099 <artifactId>frontend-maven-plugin</artifactId>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +0100100 <version>1.7.1</version>
Herbert Eiselt7446f232019-02-28 15:23:42 +0100101 <executions>
102 <execution>
103 <id>install node and yarn</id>
104 <goals>
105 <goal>install-node-and-yarn</goal>
106 </goals>
107 <!-- optional: default phase is "generate-resources" -->
108 <phase>initialize</phase>
109 <configuration>
110 <nodeVersion>v8.10.0</nodeVersion>
111 <yarnVersion>v1.12.3</yarnVersion>
112 </configuration>
113 </execution>
114 <execution>
115 <id>yarn build</id>
116 <goals>
117 <goal>yarn</goal>
118 </goals>
119 <configuration>
120 <arguments>run build</arguments>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-jar-plugin</artifactId>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-bundle-plugin</artifactId>
132 <extensions>true</extensions>
133 <configuration>
134 <instructions>
135 <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -0400136 <Private-Package/>
Herbert Eiselt7446f232019-02-28 15:23:42 +0100137 </instructions>
138 </configuration>
139 </plugin>
140 </plugins>
141 <resources>
142 <resource>
143 <directory>dist</directory>
144 <targetPath>odlux</targetPath>
145 </resource>
146 <resource>
147 <directory>src2/main/resources</directory>
148 </resource>
149 <resource>
150 <directory>src2/test/resources</directory>
151 </resource>
152 </resources>
153 </build>
154 <pluginRepositories>
155 <pluginRepository>
156 <id>highstreet repo</id>
157 <url>https://cloud-highstreet-technologies.com/mvn/</url>
158 <snapshots>
159 <enabled>true</enabled>
160 <updatePolicy>always</updatePolicy>
161 </snapshots>
162 </pluginRepository>
163 </pluginRepositories>
164</project>