Roll to next snapshot
[ccsdk/features.git] / sdnr / wt / odlux / apps / apiDemo / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>odlparent</artifactId>
8         <version>1.5.2-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
13     <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
14     <version>0.7.1-SNAPSHOT</version>
15     <packaging>bundle</packaging>
16
17     <name>ccsdk-features :: ${project.artifactId}</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
25     <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>
51
52     <build>
53         <sourceDirectory>src2/main/java</sourceDirectory>
54         <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>
66         <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>
114                 <groupId>de.jacks-it-lab</groupId>
115                 <artifactId>frontend-maven-plugin</artifactId>
116                 <version>1.7.2</version>
117                 <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>
157     </build>
158 </project>