Roll to initial Honolulu release version
[ccsdk/features.git] / sdnr / wt / odlux / apps / connectApp / 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>2.1.0-SNAPSHOT</version>
30         <relativePath/>
31     </parent>
32
33     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34     <artifactId>sdnr-wt-odlux-app-connectApp</artifactId>
35     <version>1.1.0-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     <properties>
47         <maven.javadoc.skip>true</maven.javadoc.skip>
48         <checkstyle.skip>true</checkstyle.skip>
49     </properties>
50
51     <dependencies>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>sdnr-wt-odlux-core-model</artifactId>
55             <version>${project.version}</version>
56         </dependency>
57         <dependency>
58             <groupId>${project.groupId}</groupId>
59             <artifactId>sdnr-wt-odlux-core-provider</artifactId>
60             <version>${project.version}</version>
61             <scope>test</scope>
62         </dependency>
63         <dependency>
64             <groupId>junit</groupId>
65             <artifactId>junit</artifactId>
66             <scope>test</scope>
67         </dependency>
68     </dependencies>
69
70     <build>
71         <sourceDirectory>src2/main/java</sourceDirectory>
72         <resources>
73             <resource>
74                 <directory>dist</directory>
75                 <targetPath>odlux</targetPath>
76             </resource>
77             <resource>
78                 <directory>src2/main/resources</directory>
79             </resource>
80             <resource>
81                 <directory>src2/test/resources</directory>
82             </resource>
83         </resources>
84         <plugins>
85             <plugin>
86                 <artifactId>maven-clean-plugin</artifactId>
87                 <configuration>
88                     <filesets>
89                         <fileset>
90                             <directory>dist</directory>
91                             <followSymlinks>false</followSymlinks>
92                         </fileset>
93                         <fileset>
94                             <directory>node</directory>
95                             <followSymlinks>false</followSymlinks>
96                         </fileset>
97                         <fileset>
98                             <directory>node_modules</directory>
99                             <followSymlinks>false</followSymlinks>
100                         </fileset>
101                         <fileset>
102                             <directory>../node_modules</directory>
103                             <followSymlinks>false</followSymlinks>
104                         </fileset>
105                         <!-- eclipse bug build bin folder in basedir -->
106                         <fileset>
107                             <directory>bin</directory>
108                             <followSymlinks>false</followSymlinks>
109                         </fileset>
110                     </filesets>
111                 </configuration>
112             </plugin>
113             <plugin>
114                 <groupId>org.codehaus.mojo</groupId>
115                 <artifactId>build-helper-maven-plugin</artifactId>
116                 <executions>
117                     <execution>
118                         <id>add-test-source</id>
119                         <phase>generate-test-sources</phase>
120                         <goals>
121                             <goal>add-test-source</goal>
122                         </goals>
123                         <configuration>
124                             <sources>
125                                 <source>src2/test/java</source>
126                             </sources>
127                         </configuration>
128                     </execution>
129                 </executions>
130             </plugin>
131             <plugin>
132                 <groupId>de.jacks-it-lab</groupId>
133                 <artifactId>frontend-maven-plugin</artifactId>
134                 <version>1.7.2</version>
135                 <executions>
136                     <execution>
137                         <id>install node and yarn</id>
138                         <goals>
139                             <goal>install-node-and-yarn</goal>
140                         </goals>
141                         <!-- optional: default phase is "generate-resources" -->
142                         <phase>initialize</phase>
143                         <configuration>
144                             <nodeVersion>v10.16.3</nodeVersion>
145                             <yarnVersion>v1.19.0</yarnVersion>
146                         </configuration>
147                     </execution>
148                     <execution>
149                         <id>yarn build</id>
150                         <goals>
151                             <goal>yarn</goal>
152                         </goals>
153                         <configuration>
154                             <arguments>run build</arguments>
155                         </configuration>
156                     </execution>
157                 </executions>
158             </plugin>
159             <plugin>
160                 <groupId>org.apache.maven.plugins</groupId>
161                 <artifactId>maven-jar-plugin</artifactId>
162             </plugin>
163             <plugin>
164                 <groupId>org.apache.felix</groupId>
165                 <artifactId>maven-bundle-plugin</artifactId>
166                 <extensions>true</extensions>
167                 <configuration>
168                     <instructions>
169                         <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
170                         <Private-Package/>
171                     </instructions>
172                 </configuration>
173             </plugin>
174         </plugins>
175     </build>
176 </project>