SDN-R Server provide GUI cut through for ODLUX
[ccsdk/features.git] / sdnr / wt / data-provider / setup / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
7   ~ All rights reserved.
8   ~ ================================================================================
9   ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10   ~ ================================================================================
11   ~ Licensed under the Apache License, Version 2.0 (the "License");
12   ~ you may not use this file except in compliance with the License.
13   ~ You may obtain a copy of the License at
14   ~
15   ~     http://www.apache.org/licenses/LICENSE-2.0
16   ~
17   ~ Unless required by applicable law or agreed to in writing, software
18   ~ distributed under the License is distributed on an "AS IS" BASIS,
19   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   ~ See the License for the specific language governing permissions and
21   ~ limitations under the License.
22   ~ ============LICENSE_END=======================================================
23   ~
24   -->
25
26 <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">
27     <modelVersion>4.0.0</modelVersion>
28
29     <parent>
30         <groupId>org.onap.ccsdk.parent</groupId>
31         <artifactId>binding-parent</artifactId>
32         <version>2.1.0-SNAPSHOT</version>
33         <relativePath/>
34     </parent>
35
36     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37     <artifactId>sdnr-wt-data-provider-setup</artifactId>
38     <version>1.1.0-SNAPSHOT</version>
39     <packaging>jar</packaging>
40
41     <name>ccsdk-features :: ${project.artifactId}</name>
42     <licenses>
43         <license>
44             <name>Apache License, Version 2.0</name>
45             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
46         </license>
47     </licenses>
48
49     <properties>
50         <maven.javadoc.skip>true</maven.javadoc.skip>
51         <databaseport>49404</databaseport>
52     </properties>
53
54     <dependencies>
55         <dependency>
56             <groupId>org.mockito</groupId>
57             <artifactId>mockito-core</artifactId>
58             <scope>test</scope>
59         </dependency>
60         <dependency>
61             <groupId>commons-cli</groupId>
62             <artifactId>commons-cli</artifactId>
63         </dependency>
64         <dependency>
65           <groupId>org.slf4j</groupId>
66           <artifactId>slf4j-api</artifactId>
67         </dependency>
68         <dependency>
69           <groupId>org.slf4j</groupId>
70           <artifactId>slf4j-log4j12</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>${project.groupId}</groupId>
74             <artifactId>sdnr-wt-common</artifactId>
75             <version>${project.version}</version>
76         </dependency>
77         <dependency>
78             <groupId>${project.groupId}</groupId>
79             <artifactId>sdnr-wt-data-provider-model</artifactId>
80             <version>${project.version}</version>
81         </dependency>
82     </dependencies>
83     <build>
84         <plugins>
85             <plugin>
86                 <groupId>com.github.alexcojocaru</groupId>
87                 <artifactId>elasticsearch-maven-plugin</artifactId>
88                 <configuration>
89                     <skip>${skipTests}</skip>
90                     <clusterName>testCluster</clusterName>
91                     <transportPort>49504</transportPort>
92                     <httpPort>${databaseport}</httpPort>
93                     <version>7.9.3</version>
94                 </configuration>
95                 <executions>
96                     <execution>
97                         <id>start-elasticsearch</id>
98                         <phase>process-test-classes</phase>
99                         <goals>
100                             <goal>runforked</goal>
101                         </goals>
102                     </execution>
103                     <execution>
104                         <id>stop-elasticsearch</id>
105                         <phase>prepare-package</phase>
106                         <goals>
107                             <goal>stop</goal>
108                         </goals>
109                     </execution>
110                 </executions>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.maven.plugins</groupId>
114                 <artifactId>maven-surefire-plugin</artifactId>
115                 <configuration>
116                     <systemProperties>
117                         <property>
118                             <name>databaseport</name>
119                             <value>${databaseport}</value>
120                         </property>
121                     </systemProperties>
122                 </configuration>
123             </plugin>
124             <plugin>
125                 <artifactId>maven-assembly-plugin</artifactId>
126                 <executions>
127                     <execution>
128                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
129                         <phase>package</phase>
130                         <goals>
131                             <goal>single</goal>
132                         </goals>
133                     </execution>
134                 </executions>
135                 <configuration>
136                     <finalName>sdnr-dmt</finalName>
137                   <appendAssemblyId>false</appendAssemblyId>
138                     <archive>
139                         <manifest>
140                             <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
141                         </manifest>
142                     </archive>
143                     <descriptorRefs>
144                         <descriptorRef>jar-with-dependencies</descriptorRef>
145                     </descriptorRefs>
146                 </configuration>
147             </plugin>
148
149         </plugins>
150     </build>
151 </project>