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 | --> |
| 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 | af9977a | 2021-03-09 11:39:34 -0500 | [diff] [blame] | 32 | <version>2.2.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 | af9977a | 2021-03-09 11:39:34 -0500 | [diff] [blame] | 38 | <version>1.2.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> |
| 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> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 92 | <groupId>javax.servlet</groupId> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 93 | <artifactId>javax.servlet-api</artifactId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.osgi</groupId> |
| 97 | <artifactId>org.osgi.core</artifactId> |
| 98 | <scope>provided</scope> |
| 99 | </dependency> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 100 | <dependency> |
| 101 | <groupId>com.fasterxml.jackson.core</groupId> |
| 102 | <artifactId>jackson-annotations</artifactId> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>com.fasterxml.jackson.core</groupId> |
| 106 | <artifactId>jackson-databind</artifactId> |
| 107 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 108 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 109 | <groupId>org.apache.karaf.shell</groupId> |
| 110 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 111 | <scope>provided</scope> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.opendaylight.netconf</groupId> |
| 115 | <artifactId>sal-netconf-connector</artifactId> |
| 116 | <scope>provided</scope> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId> |
| 120 | <artifactId>rfc6991-ietf-yang-types</artifactId> |
| 121 | <scope>provided</scope> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>org.opendaylight.mdsal</groupId> |
| 125 | <artifactId>yang-binding</artifactId> |
| 126 | <scope>provided</scope> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.opendaylight.mdsal</groupId> |
| 130 | <artifactId>mdsal-singleton-common-api</artifactId> |
| 131 | <scope>provided</scope> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>org.json</groupId> |
| 135 | <artifactId>json</artifactId> |
| 136 | <scope>provided</scope> |
| 137 | </dependency> |
Ravi Pendurty | 0165367 | 2021-07-26 12:42:00 +0530 | [diff] [blame^] | 138 | <!-- MariaDB beginn --> |
| 139 | <dependency> |
| 140 | <groupId>ch.vorburger.mariaDB4j</groupId> |
| 141 | <artifactId>mariaDB4j</artifactId> |
| 142 | <scope>test</scope> |
| 143 | </dependency> |
| 144 | <!-- MariaDB end --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 145 | </dependencies> |
| 146 | |
| 147 | <build> |
| 148 | <plugins> |
| 149 | <plugin> |
| 150 | <groupId>org.jacoco</groupId> |
| 151 | <artifactId>jacoco-maven-plugin</artifactId> |
| 152 | <configuration> |
| 153 | <excludes> |
| 154 | <exclude>**/gen/**</exclude> |
| 155 | <exclude>**/generated-sources/**</exclude> |
| 156 | <exclude>**/yang-gen-sal/**</exclude> |
| 157 | <exclude>**/pax/**</exclude> |
| 158 | </excludes> |
| 159 | </configuration> |
| 160 | </plugin> |
| 161 | <plugin> |
| 162 | <groupId>org.codehaus.mojo</groupId> |
| 163 | <artifactId>exec-maven-plugin</artifactId> |
| 164 | <executions> |
| 165 | <execution> |
| 166 | <id>generateDTOs</id> |
| 167 | <phase>generate-sources</phase> |
| 168 | <goals> |
| 169 | <goal>exec</goal> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 170 | </goals> |
| 171 | <configuration> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 172 | <executable>${basedir}/java.sh</executable> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 173 | <arguments> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 174 | <argument>-jar</argument> |
Michael DÜrre | 24cac21 | 2021-04-06 10:33:41 +0200 | [diff] [blame] | 175 | <argument>${initdb}</argument> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 176 | <argument>-c</argument> |
| 177 | <argument>pluginfile</argument> |
| 178 | <argument>-of</argument> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 179 | <argument>${project.build.directory}/EsInit.script</argument> |
| 180 | </arguments> |
| 181 | </configuration> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 182 | </execution> |
| 183 | </executions> |
| 184 | </plugin> |
| 185 | <plugin> |
| 186 | <groupId>com.github.alexcojocaru</groupId> |
| 187 | <artifactId>elasticsearch-maven-plugin</artifactId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 188 | <configuration> |
| 189 | <skip>${skipTests}</skip> |
| 190 | <clusterName>testCluster</clusterName> |
| 191 | <transportPort>9500</transportPort> |
| 192 | <httpPort>${databaseport}</httpPort> |
Michael DÜrre | f88794b | 2020-11-19 15:40:16 +0100 | [diff] [blame] | 193 | <version>7.9.3</version> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 194 | <timeout>120</timeout> |
| 195 | <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> |
| 196 | </configuration> |
| 197 | <executions> |
| 198 | <execution> |
| 199 | <id>start-elasticsearch</id> |
| 200 | <phase>process-test-classes</phase> |
| 201 | <goals> |
| 202 | <goal>runforked</goal> |
| 203 | </goals> |
| 204 | </execution> |
| 205 | <execution> |
| 206 | <id>stop-elasticsearch</id> |
| 207 | <phase>prepare-package</phase> |
| 208 | <goals> |
| 209 | <goal>stop</goal> |
| 210 | </goals> |
| 211 | </execution> |
| 212 | </executions> |
| 213 | </plugin> |
Ravi Pendurty | 0165367 | 2021-07-26 12:42:00 +0530 | [diff] [blame^] | 214 | <!-- <plugin> --> |
| 215 | <!-- <groupId>org.apache.felix</groupId> --> |
| 216 | <!-- <artifactId>maven-bundle-plugin</artifactId> --> |
| 217 | <!-- <extensions>true</extensions> --> |
| 218 | <!-- <configuration> --> |
| 219 | <!-- <instructions> --> |
| 220 | <!-- <Export-Package>org.onap.ccsdk.features.sdnr.wt.dataprovider.*</Export-Package> --> |
| 221 | <!-- <Import-Package>*</Import-Package> --> |
| 222 | <!-- <Embed-Dependency>dblib-provider;scope=provided|;inline=false,utils-provider;scope=provided|;inline=false</Embed-Dependency> --> |
| 223 | <!-- </instructions> --> |
| 224 | <!-- </configuration> --> |
| 225 | <!-- </plugin> --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 226 | <plugin> |
| 227 | <groupId>org.apache.maven.plugins</groupId> |
| 228 | <artifactId>maven-surefire-plugin</artifactId> |
| 229 | <configuration> |
| 230 | <systemProperties> |
| 231 | <property> |
| 232 | <name>databaseport</name> |
| 233 | <value>${databaseport}</value> |
| 234 | </property> |
| 235 | </systemProperties> |
| 236 | </configuration> |
| 237 | </plugin> |
| 238 | </plugins> |
| 239 | </build> |
| 240 | </project> |