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