Adding Copyright to all Files
[ccsdk/features.git] / sdnr / wt / odlux / apps / demoApp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~ Licensed under the Apache License, Version 2.0 (the "License");
9   ~ you may not use this file except in compliance with the License.
10   ~ You may obtain a copy of the License at
11   ~
12   ~     http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~ Unless required by applicable law or agreed to in writing, software
15   ~ distributed under the License is distributed on an "AS IS" BASIS,
16   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~ See the License for the specific language governing permissions and
18   ~ limitations under the License.
19   ~ ============LICENSE_END=======================================================
20   ~
21   -->
22
23 <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">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.ccsdk.parent</groupId>
28         <artifactId>odlparent</artifactId>
29         <version>1.5.2-SNAPSHOT</version>
30         <relativePath/>
31     </parent>
32
33     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34     <artifactId>sdnr-wt-odlux-app-demoApp</artifactId>
35     <version>0.7.1-SNAPSHOT</version>
36     <packaging>bundle</packaging>
37
38     <name>ccsdk-features :: ${project.artifactId}</name>
39     <licenses>
40         <license>
41             <name>Apache License, Version 2.0</name>
42             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
43         </license>
44     </licenses>
45
46     <dependencies>
47         <dependency>
48             <groupId>${project.groupId}</groupId>
49             <artifactId>sdnr-wt-odlux-core-model</artifactId>
50             <version>${project.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>sdnr-wt-odlux-core-provider</artifactId>
55             <version>${project.version}</version>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>junit</groupId>
60             <artifactId>junit</artifactId>
61             <scope>test</scope>
62         </dependency>
63     </dependencies>
64
65     <build>
66         <sourceDirectory>src2/main/java</sourceDirectory>
67         <resources>
68             <resource>
69                 <directory>dist</directory>
70                 <targetPath>odlux</targetPath>
71             </resource>
72             <resource>
73                 <directory>src2/main/resources</directory>
74             </resource>
75             <resource>
76                 <directory>src2/test/resources</directory>
77             </resource>
78         </resources>
79         <plugins>
80             <plugin>
81                 <artifactId>maven-clean-plugin</artifactId>
82                 <configuration>
83                     <filesets>
84                         <fileset>
85                             <directory>dist</directory>
86                             <followSymlinks>false</followSymlinks>
87                         </fileset>
88                         <fileset>
89                             <directory>node</directory>
90                             <followSymlinks>false</followSymlinks>
91                         </fileset>
92                         <fileset>
93                             <directory>node_modules</directory>
94                             <followSymlinks>false</followSymlinks>
95                         </fileset>
96                         <fileset>
97                             <directory>../node_modules</directory>
98                             <followSymlinks>false</followSymlinks>
99                         </fileset>
100                         <!-- eclipse bug build bin folder in basedir -->
101                         <fileset>
102                             <directory>bin</directory>
103                             <followSymlinks>false</followSymlinks>
104                         </fileset>
105                     </filesets>
106                 </configuration>
107             </plugin>
108             <plugin>
109                 <groupId>org.codehaus.mojo</groupId>
110                 <artifactId>build-helper-maven-plugin</artifactId>
111                 <executions>
112                     <execution>
113                         <id>add-test-source</id>
114                         <phase>generate-test-sources</phase>
115                         <goals>
116                             <goal>add-test-source</goal>
117                         </goals>
118                         <configuration>
119                             <sources>
120                                 <source>src2/test/java</source>
121                             </sources>
122                         </configuration>
123                     </execution>
124                 </executions>
125             </plugin>
126             <plugin>
127                 <groupId>de.jacks-it-lab</groupId>
128                 <artifactId>frontend-maven-plugin</artifactId>
129                 <version>1.7.2</version>
130                 <executions>
131                     <execution>
132                         <id>install node and yarn</id>
133                         <goals>
134                             <goal>install-node-and-yarn</goal>
135                         </goals>
136                         <!-- optional: default phase is "generate-resources" -->
137                         <phase>initialize</phase>
138                         <configuration>
139                             <nodeVersion>v10.16.3</nodeVersion>
140                             <yarnVersion>v1.19.0</yarnVersion>
141                         </configuration>
142                     </execution>
143                     <execution>
144                         <id>yarn build</id>
145                         <goals>
146                             <goal>yarn</goal>
147                         </goals>
148                         <configuration>
149                             <arguments>run build</arguments>
150                         </configuration>
151                     </execution>
152                 </executions>
153             </plugin>
154             <plugin>
155                 <groupId>org.apache.maven.plugins</groupId>
156                 <artifactId>maven-jar-plugin</artifactId>
157             </plugin>
158             <plugin>
159                 <groupId>org.apache.felix</groupId>
160                 <artifactId>maven-bundle-plugin</artifactId>
161                 <extensions>true</extensions>
162                 <configuration>
163                     <instructions>
164                         <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
165                         <Private-Package/>
166                     </instructions>
167                 </configuration>
168             </plugin>
169         </plugins>
170     </build>
171 </project>