blob: f36d5ae94c652686d313b4f5a18516bafad99938 [file] [log] [blame]
herbertd77d01b2020-01-30 10:15:11 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05003 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
Michael Dürreee75b192020-02-26 06:41:50 +01006 ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05007 ~ 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 -->
Michael Dürre25423c52022-07-20 09:32:50 +020025
Michael Dürreee75b192020-02-26 06:41:50 +010026<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">
herbertd77d01b2020-01-30 10:15:11 +010027 <modelVersion>4.0.0</modelVersion>
Dan Timoney04e519c2020-03-04 09:43:47 -050028
herbertd77d01b2020-01-30 10:15:11 +010029 <parent>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>binding-parent</artifactId>
Michael Dürre25423c52022-07-20 09:32:50 +020032 <version>2.4.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <relativePath/>
herbertd77d01b2020-01-30 10:15:11 +010034 </parent>
35
Ravi Pendurtycbac4382021-02-03 16:19:39 +010036 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
Michael Dürreee75b192020-02-26 06:41:50 +010037 <artifactId>sdnr-wt-data-provider-setup</artifactId>
Dan Timoneyd9e14352022-04-01 09:09:45 -040038 <version>1.4.0-SNAPSHOT</version>
Singal, Kapil (ks220y)e0ba85f2020-08-14 14:54:19 -040039 <packaging>jar</packaging>
herbertd77d01b2020-01-30 10:15:11 +010040
Michael Dürreee75b192020-02-26 06:41:50 +010041 <name>ccsdk-features :: ${project.artifactId}</name>
herbertd77d01b2020-01-30 10:15:11 +010042 <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>
Dan Timoney04e519c2020-03-04 09:43:47 -050048
Michael Dürreee75b192020-02-26 06:41:50 +010049 <properties>
50 <maven.javadoc.skip>true</maven.javadoc.skip>
51 <databaseport>49404</databaseport>
52 </properties>
herbertd77d01b2020-01-30 10:15:11 +010053
54 <dependencies>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050055 <dependency>
herbertd77d01b2020-01-30 10:15:11 +010056 <groupId>org.mockito</groupId>
57 <artifactId>mockito-core</artifactId>
58 <scope>test</scope>
59 </dependency>
60 <dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +053061 <groupId>ch.vorburger.mariaDB4j</groupId>
62 <artifactId>mariaDB4j</artifactId>
63 <scope>test</scope>
64 </dependency>
65 <dependency>
Michael Dürreee75b192020-02-26 06:41:50 +010066 <groupId>commons-cli</groupId>
67 <artifactId>commons-cli</artifactId>
herbertd77d01b2020-01-30 10:15:11 +010068 </dependency>
69 <dependency>
Michael DÜrre6ae7e8a2021-04-09 08:01:19 +020070 <groupId>org.slf4j</groupId>
71 <artifactId>slf4j-api</artifactId>
Ravi Pendurty80161602020-11-27 13:28:35 +010072 </dependency>
73 <dependency>
Michael DÜrre6ae7e8a2021-04-09 08:01:19 +020074 <groupId>org.slf4j</groupId>
75 <artifactId>slf4j-log4j12</artifactId>
Ravi Pendurty80161602020-11-27 13:28:35 +010076 </dependency>
herbertd77d01b2020-01-30 10:15:11 +010077 <dependency>
78 <groupId>${project.groupId}</groupId>
79 <artifactId>sdnr-wt-common</artifactId>
80 <version>${project.version}</version>
81 </dependency>
82 <dependency>
83 <groupId>${project.groupId}</groupId>
Ravi Pendurty01653672021-07-26 12:42:00 +053084 <artifactId>sdnr-wt-yang-utils</artifactId>
85 <version>${project.version}</version>
86 </dependency>
87 <dependency>
88 <groupId>${project.groupId}</groupId>
herbertd77d01b2020-01-30 10:15:11 +010089 <artifactId>sdnr-wt-data-provider-model</artifactId>
90 <version>${project.version}</version>
91 </dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +053092 <dependency>
93 <groupId>${project.groupId}</groupId>
94 <artifactId>sdnr-wt-data-provider-dblib</artifactId>
95 <version>${project.version}</version>
96 </dependency>
97 <dependency>
98 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
99 <artifactId>rfc6991-ietf-yang-types</artifactId>
100 </dependency>
Michael Dürre25423c52022-07-20 09:32:50 +0200101 <dependency>
102 <groupId>javax.servlet</groupId>
103 <artifactId>javax.servlet-api</artifactId>
104 </dependency>
herbertd77d01b2020-01-30 10:15:11 +0100105 </dependencies>
106 <build>
107 <plugins>
108 <plugin>
herbertd77d01b2020-01-30 10:15:11 +0100109 <groupId>com.github.alexcojocaru</groupId>
110 <artifactId>elasticsearch-maven-plugin</artifactId>
herbertd77d01b2020-01-30 10:15:11 +0100111 <configuration>
112 <skip>${skipTests}</skip>
113 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +0100114 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +0100115 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100116 <version>7.9.3</version>
herbertd77d01b2020-01-30 10:15:11 +0100117 </configuration>
118 <executions>
119 <execution>
120 <id>start-elasticsearch</id>
121 <phase>process-test-classes</phase>
122 <goals>
123 <goal>runforked</goal>
124 </goals>
125 </execution>
126 <execution>
127 <id>stop-elasticsearch</id>
128 <phase>prepare-package</phase>
129 <goals>
130 <goal>stop</goal>
131 </goals>
132 </execution>
133 </executions>
134 </plugin>
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-surefire-plugin</artifactId>
138 <configuration>
139 <systemProperties>
140 <property>
141 <name>databaseport</name>
142 <value>${databaseport}</value>
143 </property>
144 </systemProperties>
145 </configuration>
146 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100147 <plugin>
148 <artifactId>maven-assembly-plugin</artifactId>
149 <executions>
150 <execution>
151 <id>make-assembly</id> <!-- this is used for inheritance merges -->
152 <phase>package</phase>
153 <goals>
154 <goal>single</goal>
155 </goals>
156 </execution>
157 </executions>
158 <configuration>
Ravi Pendurty01653672021-07-26 12:42:00 +0530159 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100160 <archive>
161 <manifest>
162 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
163 </manifest>
164 </archive>
165 <descriptorRefs>
166 <descriptorRef>jar-with-dependencies</descriptorRef>
167 </descriptorRefs>
168 </configuration>
169 </plugin>
herbertd77d01b2020-01-30 10:15:11 +0100170 </plugins>
171 </build>
172</project>