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