Roll versions
[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
4     <parent>
5         <groupId>org.onap.ccsdk.parent</groupId>
6         <artifactId>odlparent</artifactId>
7         <version>1.4.1-SNAPSHOT</version>
8         <relativePath/>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
12     <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
13     <version>0.6.1-SNAPSHOT</version>
14     <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 -->
72                                                 <fileset>
73                                                         <directory>bin</directory>
74                                                         <followSymlinks>false</followSymlinks>
75                                                 </fileset>
76                     </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>
98                 <groupId>de.jacksitlab</groupId>
99                 <artifactId>frontend-maven-plugin</artifactId>
100                 <version>1.7.1</version>
101                 <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>
136                         <Private-Package/>
137                     </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>