blob: f6c1fe92a2378bfff7a3be35f80b5562e2c8092a [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ürreee75b192020-02-26 06:41:50 +010025<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 +010026 <modelVersion>4.0.0</modelVersion>
Dan Timoney04e519c2020-03-04 09:43:47 -050027
herbertd77d01b2020-01-30 10:15:11 +010028 <parent>
29 <groupId>org.onap.ccsdk.parent</groupId>
30 <artifactId>binding-parent</artifactId>
Dan Timoney1e091242022-09-14 10:42:10 -040031 <version>2.4.2</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050032 <relativePath/>
herbertd77d01b2020-01-30 10:15:11 +010033 </parent>
34
Ravi Pendurtycbac4382021-02-03 16:19:39 +010035 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
Michael Dürreee75b192020-02-26 06:41:50 +010036 <artifactId>sdnr-wt-data-provider-setup</artifactId>
Dan Timoneyd9e14352022-04-01 09:09:45 -040037 <version>1.4.0-SNAPSHOT</version>
Singal, Kapil (ks220y)e0ba85f2020-08-14 14:54:19 -040038 <packaging>jar</packaging>
herbertd77d01b2020-01-30 10:15:11 +010039
Michael Dürreee75b192020-02-26 06:41:50 +010040 <name>ccsdk-features :: ${project.artifactId}</name>
herbertd77d01b2020-01-30 10:15:11 +010041 <licenses>
42 <license>
43 <name>Apache License, Version 2.0</name>
44 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
45 </license>
46 </licenses>
Dan Timoney04e519c2020-03-04 09:43:47 -050047
Michael Dürreee75b192020-02-26 06:41:50 +010048 <properties>
49 <maven.javadoc.skip>true</maven.javadoc.skip>
50 <databaseport>49404</databaseport>
51 </properties>
herbertd77d01b2020-01-30 10:15:11 +010052
53 <dependencies>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050054 <dependency>
herbertd77d01b2020-01-30 10:15:11 +010055 <groupId>org.mockito</groupId>
56 <artifactId>mockito-core</artifactId>
57 <scope>test</scope>
58 </dependency>
59 <dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +053060 <groupId>ch.vorburger.mariaDB4j</groupId>
61 <artifactId>mariaDB4j</artifactId>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
Michael Dürreee75b192020-02-26 06:41:50 +010065 <groupId>commons-cli</groupId>
66 <artifactId>commons-cli</artifactId>
herbertd77d01b2020-01-30 10:15:11 +010067 </dependency>
68 <dependency>
Michael DÜrre6ae7e8a2021-04-09 08:01:19 +020069 <groupId>org.slf4j</groupId>
70 <artifactId>slf4j-api</artifactId>
Ravi Pendurty80161602020-11-27 13:28:35 +010071 </dependency>
72 <dependency>
Michael DÜrre6ae7e8a2021-04-09 08:01:19 +020073 <groupId>org.slf4j</groupId>
74 <artifactId>slf4j-log4j12</artifactId>
Ravi Pendurty80161602020-11-27 13:28:35 +010075 </dependency>
herbertd77d01b2020-01-30 10:15:11 +010076 <dependency>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>sdnr-wt-common</artifactId>
79 <version>${project.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>${project.groupId}</groupId>
Ravi Pendurty01653672021-07-26 12:42:00 +053083 <artifactId>sdnr-wt-yang-utils</artifactId>
84 <version>${project.version}</version>
85 </dependency>
86 <dependency>
87 <groupId>${project.groupId}</groupId>
herbertd77d01b2020-01-30 10:15:11 +010088 <artifactId>sdnr-wt-data-provider-model</artifactId>
89 <version>${project.version}</version>
90 </dependency>
Ravi Pendurty01653672021-07-26 12:42:00 +053091 <dependency>
92 <groupId>${project.groupId}</groupId>
93 <artifactId>sdnr-wt-data-provider-dblib</artifactId>
94 <version>${project.version}</version>
95 </dependency>
96 <dependency>
97 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
98 <artifactId>rfc6991-ietf-yang-types</artifactId>
99 </dependency>
Michael Dürre25423c52022-07-20 09:32:50 +0200100 <dependency>
101 <groupId>javax.servlet</groupId>
102 <artifactId>javax.servlet-api</artifactId>
103 </dependency>
herbertd77d01b2020-01-30 10:15:11 +0100104 </dependencies>
105 <build>
106 <plugins>
107 <plugin>
herbertd77d01b2020-01-30 10:15:11 +0100108 <groupId>com.github.alexcojocaru</groupId>
109 <artifactId>elasticsearch-maven-plugin</artifactId>
herbertd77d01b2020-01-30 10:15:11 +0100110 <configuration>
111 <skip>${skipTests}</skip>
112 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +0100113 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +0100114 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100115 <version>7.9.3</version>
herbertd77d01b2020-01-30 10:15:11 +0100116 </configuration>
117 <executions>
118 <execution>
119 <id>start-elasticsearch</id>
120 <phase>process-test-classes</phase>
121 <goals>
122 <goal>runforked</goal>
123 </goals>
124 </execution>
125 <execution>
126 <id>stop-elasticsearch</id>
127 <phase>prepare-package</phase>
128 <goals>
129 <goal>stop</goal>
130 </goals>
131 </execution>
132 </executions>
133 </plugin>
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-surefire-plugin</artifactId>
137 <configuration>
138 <systemProperties>
139 <property>
140 <name>databaseport</name>
141 <value>${databaseport}</value>
142 </property>
143 </systemProperties>
144 </configuration>
145 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100146 <plugin>
147 <artifactId>maven-assembly-plugin</artifactId>
148 <executions>
149 <execution>
150 <id>make-assembly</id> <!-- this is used for inheritance merges -->
151 <phase>package</phase>
152 <goals>
153 <goal>single</goal>
154 </goals>
155 </execution>
156 </executions>
157 <configuration>
Ravi Pendurty01653672021-07-26 12:42:00 +0530158 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100159 <archive>
160 <manifest>
161 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
162 </manifest>
163 </archive>
164 <descriptorRefs>
165 <descriptorRef>jar-with-dependencies</descriptorRef>
166 </descriptorRefs>
167 </configuration>
168 </plugin>
herbertd77d01b2020-01-30 10:15:11 +0100169 </plugins>
170 </build>
171</project>