blob: c75b31a1b2e532aa7e1857be43db46ac69cef486 [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 Timoneyc35ad792023-06-28 11:38:33 -040031 <version>2.6.0</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 Timoney37a05722023-06-06 06:55:17 -040037 <version>1.6.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>
Dan Timoneyc35ad792023-06-28 11:38:33 -0400105 <!-- Tests require MariaDB4j , which does not currently support ARM64 -->
106 <profiles>
107 <profile>
108 <id>disable-test-on-ARM64</id>
109 <activation>
110 <os>
111 <arch>aarch64</arch>
112 </os>
113 </activation>
114 <properties>
115 <skipTests>true</skipTests>
116 </properties>
117 </profile>
118 </profiles>
herbertd77d01b2020-01-30 10:15:11 +0100119 <build>
120 <plugins>
121 <plugin>
herbertd77d01b2020-01-30 10:15:11 +0100122 <groupId>com.github.alexcojocaru</groupId>
123 <artifactId>elasticsearch-maven-plugin</artifactId>
herbertd77d01b2020-01-30 10:15:11 +0100124 <configuration>
125 <skip>${skipTests}</skip>
126 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +0100127 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +0100128 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100129 <version>7.9.3</version>
herbertd77d01b2020-01-30 10:15:11 +0100130 </configuration>
131 <executions>
132 <execution>
133 <id>start-elasticsearch</id>
134 <phase>process-test-classes</phase>
135 <goals>
136 <goal>runforked</goal>
137 </goals>
138 </execution>
139 <execution>
140 <id>stop-elasticsearch</id>
141 <phase>prepare-package</phase>
142 <goals>
143 <goal>stop</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-surefire-plugin</artifactId>
151 <configuration>
152 <systemProperties>
153 <property>
154 <name>databaseport</name>
155 <value>${databaseport}</value>
156 </property>
157 </systemProperties>
158 </configuration>
159 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100160 <plugin>
161 <artifactId>maven-assembly-plugin</artifactId>
162 <executions>
163 <execution>
164 <id>make-assembly</id> <!-- this is used for inheritance merges -->
165 <phase>package</phase>
166 <goals>
167 <goal>single</goal>
168 </goals>
169 </execution>
170 </executions>
171 <configuration>
Ravi Pendurty01653672021-07-26 12:42:00 +0530172 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100173 <archive>
174 <manifest>
175 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
176 </manifest>
177 </archive>
178 <descriptorRefs>
179 <descriptorRef>jar-with-dependencies</descriptorRef>
180 </descriptorRefs>
181 </configuration>
182 </plugin>
herbertd77d01b2020-01-30 10:15:11 +0100183 </plugins>
184 </build>
185</project>