Merge "SDN-R add updated featureaggregator"
[ccsdk/features.git] / sdnr / wt / odlux / apps / inventoryApp / 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-inventoryApp</artifactId>
14     <version>0.7.1-SNAPSHOT</version>
15     <packaging>bundle</packaging>
16
17     <name>sdnr-wt-odlux-app-inventoryApp</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     </dependencies>
43
44     <build>
45         <sourceDirectory>src2/main/java</sourceDirectory>
46         <resources>
47             <resource>
48                 <directory>dist</directory>
49                 <targetPath>odlux</targetPath>
50             </resource>
51             <resource>
52                 <directory>src2/main/resources</directory>
53             </resource>
54             <resource>
55                 <directory>src2/test/resources</directory>
56             </resource>
57         </resources>
58         <plugins>
59             <plugin>
60                 <artifactId>maven-clean-plugin</artifactId>
61                 <configuration>
62                     <filesets>
63                         <fileset>
64                             <directory>dist</directory>
65                             <followSymlinks>false</followSymlinks>
66                         </fileset>
67                         <fileset>
68                             <directory>node</directory>
69                             <followSymlinks>false</followSymlinks>
70                         </fileset>
71                         <fileset>
72                             <directory>node_modules</directory>
73                             <followSymlinks>false</followSymlinks>
74                         </fileset>
75                         <fileset>
76                             <directory>../node_modules</directory>
77                             <followSymlinks>false</followSymlinks>
78                         </fileset>
79                         <!-- eclipse bug build bin folder in basedir -->
80                         <fileset>
81                             <directory>bin</directory>
82                             <followSymlinks>false</followSymlinks>
83                         </fileset>
84                     </filesets>
85                 </configuration>
86             </plugin>
87             <plugin>
88                 <groupId>org.codehaus.mojo</groupId>
89                 <artifactId>build-helper-maven-plugin</artifactId>
90                 <executions>
91                     <execution>
92                         <id>add-test-source</id>
93                         <phase>generate-test-sources</phase>
94                         <goals>
95                             <goal>add-test-source</goal>
96                         </goals>
97                         <configuration>
98                             <sources>
99                                 <source>src2/test/java</source>
100                             </sources>
101                         </configuration>
102                     </execution>
103                 </executions>
104             </plugin>
105             <plugin>
106                                 <groupId>de.jacks-it-lab</groupId>
107                                 <artifactId>frontend-maven-plugin</artifactId>
108                                 <version>1.7.2</version>
109                                 <executions>
110                     <execution>
111                         <id>install node and yarn</id>
112                         <goals>
113                             <goal>install-node-and-yarn</goal>
114                         </goals>
115                         <!-- optional: default phase is "generate-resources" -->
116                         <phase>initialize</phase>
117                         <configuration>
118                             <nodeVersion>v10.16.3</nodeVersion>
119                             <yarnVersion>v1.19.0</yarnVersion>
120                         </configuration>
121                     </execution>
122                     <execution>
123                         <id>yarn build</id>
124                         <goals>
125                             <goal>yarn</goal>
126                         </goals>
127                         <configuration>
128                             <arguments>run build</arguments>
129                         </configuration>
130                     </execution>
131                 </executions>
132             </plugin>
133             <plugin>
134                 <groupId>org.apache.maven.plugins</groupId>
135                 <artifactId>maven-jar-plugin</artifactId>
136             </plugin>
137             <plugin>
138                 <groupId>org.apache.felix</groupId>
139                 <artifactId>maven-bundle-plugin</artifactId>
140                 <extensions>true</extensions>
141                 <configuration>
142                     <instructions>
143                         <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
144                         <Private-Package/>
145                     </instructions>
146                 </configuration>
147             </plugin>
148         </plugins>
149     </build>
150 </project>