Add SDN-R odlux performance
[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"
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">
5
6     <parent>
7         <groupId>org.onap.ccsdk.parent</groupId>
8         <artifactId>odlparent</artifactId>
9         <version>1.2.2-SNAPSHOT</version>
10         <relativePath />
11     </parent>
12     <modelVersion>4.0.0</modelVersion>
13     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
14     <artifactId>sdnr-wt-odlux-app-apiDemo</artifactId>
15     <version>0.4.2-SNAPSHOT</version>
16     <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 -->
74                                                 <fileset>
75                                                         <directory>bin</directory>
76                                                         <followSymlinks>false</followSymlinks>
77                                                 </fileset>
78                     </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>
100                 <groupId>de.jacksitlab</groupId>
101                 <artifactId>frontend-maven-plugin</artifactId>
102                 <version>1.7.1</version>
103                 <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>
138                         <Private-Package></Private-Package>
139                     </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>