herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 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 | --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 25 | <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"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
| 28 | <parent> |
| 29 | <groupId>org.onap.ccsdk.parent</groupId> |
| 30 | <artifactId>binding-parent</artifactId> |
Dan Timoney | e2583ef | 2024-10-01 12:37:44 -0400 | [diff] [blame] | 31 | <version>3.0.0</version> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 32 | <relativePath/> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 33 | </parent> |
| 34 | |
Ravi Pendurty | cbac438 | 2021-02-03 16:19:39 +0100 | [diff] [blame] | 35 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 36 | <artifactId>sdnr-wt-data-provider-provider</artifactId> |
Dan Timoney | 76d119d | 2024-10-09 14:44:14 -0400 | [diff] [blame^] | 37 | <version>2.0.1-SNAPSHOT</version> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 38 | <packaging>bundle</packaging> |
| 39 | |
| 40 | <name>ccsdk-features :: ${project.artifactId}</name> |
| 41 | <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> |
| 47 | |
| 48 | <properties> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 49 | <maven.javadoc.skip>true</maven.javadoc.skip> |
Michael DÜrre | 6ae7e8a | 2021-04-09 08:01:19 +0200 | [diff] [blame] | 50 | <databaseport>49402</databaseport> |
| 51 | <initdb>${basedir}/../setup/target/sdnr-wt-data-provider-setup-${project.version}.jar</initdb> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 52 | </properties> |
| 53 | |
| 54 | <dependencies> |
| 55 | <dependency> |
| 56 | <groupId>org.mockito</groupId> |
| 57 | <artifactId>mockito-core</artifactId> |
| 58 | <scope>test</scope> |
| 59 | </dependency> |
herbert | 4eed58b | 2020-02-28 13:51:00 +0100 | [diff] [blame] | 60 | <dependency> |
Michael Dürre | eab8409 | 2020-09-03 11:05:35 +0200 | [diff] [blame] | 61 | <groupId>org.apache.karaf.bundle</groupId> |
| 62 | <artifactId>org.apache.karaf.bundle.core</artifactId> |
Michael Dürre | 25423c5 | 2022-07-20 09:32:50 +0200 | [diff] [blame] | 63 | <scope>provided</scope> |
Michael Dürre | eab8409 | 2020-09-03 11:05:35 +0200 | [diff] [blame] | 64 | </dependency> |
| 65 | <dependency> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 66 | <groupId>${project.groupId}</groupId> |
| 67 | <artifactId>sdnr-wt-data-provider-setup</artifactId> |
| 68 | <version>${project.version}</version> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 71 | <dependency> |
| 72 | <groupId>${project.groupId}</groupId> |
| 73 | <artifactId>sdnr-wt-common</artifactId> |
| 74 | <version>${project.version}</version> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>${project.groupId}</groupId> |
Michael DÜrre | 24cac21 | 2021-04-06 10:33:41 +0200 | [diff] [blame] | 78 | <artifactId>sdnr-wt-yang-utils</artifactId> |
| 79 | <version>${project.version}</version> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>${project.groupId}</groupId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 83 | <artifactId>sdnr-wt-data-provider-model</artifactId> |
| 84 | <version>${project.version}</version> |
| 85 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 86 | <dependency> |
Ravi Pendurty | 0165367 | 2021-07-26 12:42:00 +0530 | [diff] [blame] | 87 | <groupId>${project.groupId}</groupId> |
| 88 | <artifactId>sdnr-wt-data-provider-dblib</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | </dependency> |
| 91 | <dependency> |
Ravi Pendurty | 6b8e4f1 | 2023-03-02 12:06:07 +0530 | [diff] [blame] | 92 | <groupId>jakarta.servlet</groupId> |
| 93 | <artifactId>jakarta.servlet-api</artifactId> |
Michael Dürre | 25423c5 | 2022-07-20 09:32:50 +0200 | [diff] [blame] | 94 | <scope>provided</scope> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>org.osgi</groupId> |
| 98 | <artifactId>org.osgi.core</artifactId> |
| 99 | <scope>provided</scope> |
| 100 | </dependency> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 101 | <dependency> |
| 102 | <groupId>com.fasterxml.jackson.core</groupId> |
| 103 | <artifactId>jackson-annotations</artifactId> |
Michael Dürre | 25423c5 | 2022-07-20 09:32:50 +0200 | [diff] [blame] | 104 | <scope>provided</scope> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>com.fasterxml.jackson.core</groupId> |
| 108 | <artifactId>jackson-databind</artifactId> |
Michael Dürre | 25423c5 | 2022-07-20 09:32:50 +0200 | [diff] [blame] | 109 | <scope>provided</scope> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 110 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 111 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 112 | <groupId>org.apache.karaf.shell</groupId> |
| 113 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 114 | <scope>provided</scope> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>org.opendaylight.netconf</groupId> |
Michael Dürre | 7964e8a | 2024-08-15 10:04:54 +0200 | [diff] [blame] | 118 | <artifactId>netconf-client-mdsal</artifactId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId> |
| 122 | <artifactId>rfc6991-ietf-yang-types</artifactId> |
| 123 | <scope>provided</scope> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.opendaylight.mdsal</groupId> |
| 127 | <artifactId>yang-binding</artifactId> |
| 128 | <scope>provided</scope> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>org.opendaylight.mdsal</groupId> |
Michael Dürre | 7964e8a | 2024-08-15 10:04:54 +0200 | [diff] [blame] | 132 | <artifactId>mdsal-binding-api</artifactId> |
| 133 | <scope>provided</scope> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>org.opendaylight.mdsal</groupId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 137 | <artifactId>mdsal-singleton-common-api</artifactId> |
| 138 | <scope>provided</scope> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>org.json</groupId> |
| 142 | <artifactId>json</artifactId> |
| 143 | <scope>provided</scope> |
| 144 | </dependency> |
Ravi Pendurty | 0165367 | 2021-07-26 12:42:00 +0530 | [diff] [blame] | 145 | <!-- MariaDB beginn --> |
| 146 | <dependency> |
| 147 | <groupId>ch.vorburger.mariaDB4j</groupId> |
| 148 | <artifactId>mariaDB4j</artifactId> |
| 149 | <scope>test</scope> |
| 150 | </dependency> |
Ravi Pendurty | 6b8e4f1 | 2023-03-02 12:06:07 +0530 | [diff] [blame] | 151 | <dependency> |
Dan Timoney | c35ad79 | 2023-06-28 11:38:33 -0400 | [diff] [blame] | 152 | <groupId>org.opendaylight.netconf</groupId> |
| 153 | <artifactId>netconf-topology</artifactId> |
| 154 | <scope>test</scope> |
| 155 | </dependency> |
| 156 | <dependency> |
Ravi Pendurty | 6b8e4f1 | 2023-03-02 12:06:07 +0530 | [diff] [blame] | 157 | <groupId>org.osgi</groupId> |
| 158 | <artifactId>osgi.cmpn</artifactId> |
| 159 | <version>7.0.0</version> |
| 160 | <scope>compile</scope> |
| 161 | </dependency> |
Ravi Pendurty | 0165367 | 2021-07-26 12:42:00 +0530 | [diff] [blame] | 162 | <!-- MariaDB end --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 163 | </dependencies> |
| 164 | |
| 165 | <build> |
| 166 | <plugins> |
| 167 | <plugin> |
| 168 | <groupId>org.jacoco</groupId> |
| 169 | <artifactId>jacoco-maven-plugin</artifactId> |
| 170 | <configuration> |
| 171 | <excludes> |
| 172 | <exclude>**/gen/**</exclude> |
| 173 | <exclude>**/generated-sources/**</exclude> |
| 174 | <exclude>**/yang-gen-sal/**</exclude> |
| 175 | <exclude>**/pax/**</exclude> |
| 176 | </excludes> |
| 177 | </configuration> |
| 178 | </plugin> |
| 179 | <plugin> |
| 180 | <groupId>org.codehaus.mojo</groupId> |
| 181 | <artifactId>exec-maven-plugin</artifactId> |
| 182 | <executions> |
| 183 | <execution> |
| 184 | <id>generateDTOs</id> |
| 185 | <phase>generate-sources</phase> |
| 186 | <goals> |
| 187 | <goal>exec</goal> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 188 | </goals> |
| 189 | <configuration> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 190 | <executable>${basedir}/java.sh</executable> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 191 | <arguments> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 192 | <argument>-jar</argument> |
Michael DÜrre | 24cac21 | 2021-04-06 10:33:41 +0200 | [diff] [blame] | 193 | <argument>${initdb}</argument> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 194 | <argument>-c</argument> |
| 195 | <argument>pluginfile</argument> |
| 196 | <argument>-of</argument> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 197 | <argument>${project.build.directory}/EsInit.script</argument> |
| 198 | </arguments> |
| 199 | </configuration> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 200 | </execution> |
| 201 | </executions> |
| 202 | </plugin> |
| 203 | <plugin> |
| 204 | <groupId>com.github.alexcojocaru</groupId> |
| 205 | <artifactId>elasticsearch-maven-plugin</artifactId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 206 | <configuration> |
| 207 | <skip>${skipTests}</skip> |
| 208 | <clusterName>testCluster</clusterName> |
| 209 | <transportPort>9500</transportPort> |
| 210 | <httpPort>${databaseport}</httpPort> |
Michael DÜrre | f88794b | 2020-11-19 15:40:16 +0100 | [diff] [blame] | 211 | <version>7.9.3</version> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 212 | <timeout>120</timeout> |
| 213 | <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> |
| 214 | </configuration> |
| 215 | <executions> |
| 216 | <execution> |
| 217 | <id>start-elasticsearch</id> |
| 218 | <phase>process-test-classes</phase> |
| 219 | <goals> |
| 220 | <goal>runforked</goal> |
| 221 | </goals> |
| 222 | </execution> |
| 223 | <execution> |
| 224 | <id>stop-elasticsearch</id> |
| 225 | <phase>prepare-package</phase> |
| 226 | <goals> |
| 227 | <goal>stop</goal> |
| 228 | </goals> |
| 229 | </execution> |
| 230 | </executions> |
| 231 | </plugin> |
Michael DÜrre | eb2a7c9 | 2022-03-10 10:39:16 +0100 | [diff] [blame] | 232 | |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 233 | <plugin> |
| 234 | <groupId>org.apache.maven.plugins</groupId> |
| 235 | <artifactId>maven-surefire-plugin</artifactId> |
| 236 | <configuration> |
| 237 | <systemProperties> |
| 238 | <property> |
| 239 | <name>databaseport</name> |
| 240 | <value>${databaseport}</value> |
| 241 | </property> |
| 242 | </systemProperties> |
| 243 | </configuration> |
| 244 | </plugin> |
| 245 | </plugins> |
| 246 | </build> |
| 247 | </project> |