blob: ae19899b51714ef54e273adeb0cd6ffaf06f4efe [file] [log] [blame]
Herbert Eiselt3d202a02019-02-11 14:54:12 +01001<?xml version="1.0" encoding="UTF-8"?>
Herbert Eiselt62e83482019-03-28 19:00:35 +01002<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 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 +01005
Herbert Eiselt7446f232019-02-28 15:23:42 +01006 <parent>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent</artifactId>
Timoney, Dan (dt5972)528f6392019-03-19 18:29:32 -04009 <version>1.2.2-SNAPSHOT</version>
Herbert Eiselt62e83482019-03-28 19:00:35 +010010 <relativePath />
Herbert Eiselt7446f232019-02-28 15:23:42 +010011 </parent>
12 <modelVersion>4.0.0</modelVersion>
13 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
14 <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
Timoney, Dan (dt5972)528f6392019-03-19 18:29:32 -040015 <version>0.4.2-SNAPSHOT</version>
Herbert Eiselt7446f232019-02-28 15:23:42 +010016 <packaging>bundle</packaging>
17 <name>sdnr-wt-odlux-app-apiDemo</name>
18 <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>
24 <dependencies>
25 <dependency>
26 <groupId>${project.groupId}</groupId>
27 <artifactId>sdnr-wt-odlux-core-model</artifactId>
28 <version>${project.version}</version>
29 </dependency>
30 <dependency>
31 <groupId>${project.groupId}</groupId>
32 <artifactId>sdnr-wt-odlux-core-provider</artifactId>
33 <version>${project.version}</version>
34 <scope>test</scope>
35 </dependency>
36 <dependency>
37 <groupId>junit</groupId>
38 <artifactId>junit</artifactId>
39 <scope>test</scope>
40 </dependency>
41 <dependency>
42 <groupId>org.osgi</groupId>
43 <artifactId>org.osgi.core</artifactId>
44 </dependency>
45 <dependency>
46 <groupId>org.osgi</groupId>
47 <artifactId>org.osgi.compendium</artifactId>
48 </dependency>
49 </dependencies>
50 <build>
51 <sourceDirectory>src2/main/java</sourceDirectory>
52 <plugins>
53 <plugin>
54 <artifactId>maven-clean-plugin</artifactId>
55 <configuration>
56 <filesets>
57 <fileset>
58 <directory>dist</directory>
59 <followSymlinks>false</followSymlinks>
60 </fileset>
61 <fileset>
62 <directory>node</directory>
63 <followSymlinks>false</followSymlinks>
64 </fileset>
65 <fileset>
66 <directory>node_modules</directory>
67 <followSymlinks>false</followSymlinks>
68 </fileset>
69 <fileset>
70 <directory>../node_modules</directory>
71 <followSymlinks>false</followSymlinks>
72 </fileset>
73 <!-- eclipse bug build bin folder in basedir -->
Herbert Eiselt3d202a02019-02-11 14:54:12 +010074 <fileset>
Herbert Eiselt7446f232019-02-28 15:23:42 +010075 <directory>bin</directory>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010076 <followSymlinks>false</followSymlinks>
77 </fileset>
Herbert Eiselt7446f232019-02-28 15:23:42 +010078 </filesets>
79 </configuration>
80 </plugin>
81 <plugin>
82 <groupId>org.codehaus.mojo</groupId>
83 <artifactId>build-helper-maven-plugin</artifactId>
84 <executions>
85 <execution>
86 <id>add-test-source</id>
87 <phase>generate-test-sources</phase>
88 <goals>
89 <goal>add-test-source</goal>
90 </goals>
91 <configuration>
92 <sources>
93 <source>src2/test/java</source>
94 </sources>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +0100100 <groupId>de.jacksitlab</groupId>
Herbert Eiselt7446f232019-02-28 15:23:42 +0100101 <artifactId>frontend-maven-plugin</artifactId>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +0100102 <version>1.7.1</version>
Herbert Eiselt7446f232019-02-28 15:23:42 +0100103 <executions>
104 <execution>
105 <id>install node and yarn</id>
106 <goals>
107 <goal>install-node-and-yarn</goal>
108 </goals>
109 <!-- optional: default phase is "generate-resources" -->
110 <phase>initialize</phase>
111 <configuration>
112 <nodeVersion>v8.10.0</nodeVersion>
113 <yarnVersion>v1.12.3</yarnVersion>
114 </configuration>
115 </execution>
116 <execution>
117 <id>yarn build</id>
118 <goals>
119 <goal>yarn</goal>
120 </goals>
121 <configuration>
122 <arguments>run build</arguments>
123 </configuration>
124 </execution>
125 </executions>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-jar-plugin</artifactId>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.felix</groupId>
133 <artifactId>maven-bundle-plugin</artifactId>
134 <extensions>true</extensions>
135 <configuration>
136 <instructions>
137 <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
Herbert Eiselt62e83482019-03-28 19:00:35 +0100138 <Private-Package></Private-Package>
Herbert Eiselt7446f232019-02-28 15:23:42 +0100139 </instructions>
140 </configuration>
141 </plugin>
142 </plugins>
143 <resources>
144 <resource>
145 <directory>dist</directory>
146 <targetPath>odlux</targetPath>
147 </resource>
148 <resource>
149 <directory>src2/main/resources</directory>
150 </resource>
151 <resource>
152 <directory>src2/test/resources</directory>
153 </resource>
154 </resources>
155 </build>
156 <pluginRepositories>
157 <pluginRepository>
158 <id>highstreet repo</id>
159 <url>https://cloud-highstreet-technologies.com/mvn/</url>
160 <snapshots>
161 <enabled>true</enabled>
162 <updatePolicy>always</updatePolicy>
163 </snapshots>
164 </pluginRepository>
165 </pluginRepositories>
166</project>