blob: 97b739c2c16e7eb92e57733630f2f75515788762 [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 -->
herbertd77d01b2020-01-30 10:15:11 +010025
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>
Dan Timoneyaf9977a2021-03-09 11:39:34 -050032 <version>2.2.0-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 Timoneyaf9977a2021-03-09 11:39:34 -050038 <version>1.2.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>
herbertd77d01b2020-01-30 10:15:11 +0100101 </dependencies>
102 <build>
103 <plugins>
104 <plugin>
herbertd77d01b2020-01-30 10:15:11 +0100105 <groupId>com.github.alexcojocaru</groupId>
106 <artifactId>elasticsearch-maven-plugin</artifactId>
herbertd77d01b2020-01-30 10:15:11 +0100107 <configuration>
108 <skip>${skipTests}</skip>
109 <clusterName>testCluster</clusterName>
Michael Dürreee75b192020-02-26 06:41:50 +0100110 <transportPort>49504</transportPort>
herbertd77d01b2020-01-30 10:15:11 +0100111 <httpPort>${databaseport}</httpPort>
Michael DÜrref88794b2020-11-19 15:40:16 +0100112 <version>7.9.3</version>
herbertd77d01b2020-01-30 10:15:11 +0100113 </configuration>
114 <executions>
115 <execution>
116 <id>start-elasticsearch</id>
117 <phase>process-test-classes</phase>
118 <goals>
119 <goal>runforked</goal>
120 </goals>
121 </execution>
122 <execution>
123 <id>stop-elasticsearch</id>
124 <phase>prepare-package</phase>
125 <goals>
126 <goal>stop</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-surefire-plugin</artifactId>
134 <configuration>
135 <systemProperties>
136 <property>
137 <name>databaseport</name>
138 <value>${databaseport}</value>
139 </property>
140 </systemProperties>
141 </configuration>
142 </plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100143 <plugin>
144 <artifactId>maven-assembly-plugin</artifactId>
145 <executions>
146 <execution>
147 <id>make-assembly</id> <!-- this is used for inheritance merges -->
148 <phase>package</phase>
149 <goals>
150 <goal>single</goal>
151 </goals>
152 </execution>
153 </executions>
154 <configuration>
Ravi Pendurty01653672021-07-26 12:42:00 +0530155 <appendAssemblyId>false</appendAssemblyId>
Michael Dürreee75b192020-02-26 06:41:50 +0100156 <archive>
157 <manifest>
158 <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass>
159 </manifest>
160 </archive>
161 <descriptorRefs>
162 <descriptorRef>jar-with-dependencies</descriptorRef>
163 </descriptorRefs>
164 </configuration>
165 </plugin>
herbertd77d01b2020-01-30 10:15:11 +0100166 </plugins>
167 </build>
168</project>