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> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 51 | <databaseport>49402</databaseport> |
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> |
| 63 | </dependency> |
| 64 | <dependency> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 65 | <groupId>${project.groupId}</groupId> |
| 66 | <artifactId>sdnr-wt-data-provider-setup</artifactId> |
| 67 | <version>${project.version}</version> |
| 68 | <scope>test</scope> |
| 69 | </dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 70 | <dependency> |
| 71 | <groupId>${project.groupId}</groupId> |
| 72 | <artifactId>sdnr-wt-common</artifactId> |
| 73 | <version>${project.version}</version> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>${project.groupId}</groupId> |
| 77 | <artifactId>sdnr-wt-data-provider-model</artifactId> |
| 78 | <version>${project.version}</version> |
| 79 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 80 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 81 | <groupId>javax.servlet</groupId> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 82 | <artifactId>javax.servlet-api</artifactId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.osgi</groupId> |
| 86 | <artifactId>org.osgi.core</artifactId> |
| 87 | <scope>provided</scope> |
| 88 | </dependency> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 89 | <dependency> |
| 90 | <groupId>com.fasterxml.jackson.core</groupId> |
| 91 | <artifactId>jackson-annotations</artifactId> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>com.fasterxml.jackson.core</groupId> |
| 95 | <artifactId>jackson-databind</artifactId> |
| 96 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 97 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 98 | <groupId>org.apache.karaf.shell</groupId> |
| 99 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 100 | <scope>provided</scope> |
| 101 | </dependency> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 102 | <!-- <dependency> --> |
| 103 | <!-- <groupId>org.apache.karaf.bundle</groupId> --> |
| 104 | <!-- <artifactId>org.apache.karaf.bundle.core</artifactId> --> |
| 105 | <!-- <scope>provided</scope> --> |
| 106 | <!-- </dependency> --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 107 | <dependency> |
| 108 | <groupId>org.opendaylight.netconf</groupId> |
| 109 | <artifactId>sal-netconf-connector</artifactId> |
| 110 | <scope>provided</scope> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId> |
| 114 | <artifactId>rfc6991-ietf-yang-types</artifactId> |
| 115 | <scope>provided</scope> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.opendaylight.mdsal</groupId> |
| 119 | <artifactId>yang-binding</artifactId> |
| 120 | <scope>provided</scope> |
| 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>org.opendaylight.mdsal</groupId> |
| 124 | <artifactId>mdsal-singleton-common-api</artifactId> |
| 125 | <scope>provided</scope> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>org.json</groupId> |
| 129 | <artifactId>json</artifactId> |
| 130 | <scope>provided</scope> |
| 131 | </dependency> |
| 132 | </dependencies> |
| 133 | |
| 134 | <build> |
| 135 | <plugins> |
| 136 | <plugin> |
| 137 | <groupId>org.jacoco</groupId> |
| 138 | <artifactId>jacoco-maven-plugin</artifactId> |
| 139 | <configuration> |
| 140 | <excludes> |
| 141 | <exclude>**/gen/**</exclude> |
| 142 | <exclude>**/generated-sources/**</exclude> |
| 143 | <exclude>**/yang-gen-sal/**</exclude> |
| 144 | <exclude>**/pax/**</exclude> |
| 145 | </excludes> |
| 146 | </configuration> |
| 147 | </plugin> |
| 148 | <plugin> |
| 149 | <groupId>org.codehaus.mojo</groupId> |
| 150 | <artifactId>exec-maven-plugin</artifactId> |
| 151 | <executions> |
| 152 | <execution> |
| 153 | <id>generateDTOs</id> |
| 154 | <phase>generate-sources</phase> |
| 155 | <goals> |
| 156 | <goal>exec</goal> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 157 | </goals> |
| 158 | <configuration> |
Ravi Pendurty | 80ebbf5 | 2021-02-03 13:56:31 +0100 | [diff] [blame] | 159 | <executable>${basedir}/java.sh</executable> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 160 | <arguments> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 161 | <argument>-jar</argument> |
highstreetherbert | 25b3759 | 2020-07-15 15:44:23 +0200 | [diff] [blame] | 162 | <argument>${basedir}/../../data-provider/setup/target/sdnr-dmt.jar</argument> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 163 | <argument>-c</argument> |
| 164 | <argument>pluginfile</argument> |
| 165 | <argument>-of</argument> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 166 | <argument>${project.build.directory}/EsInit.script</argument> |
| 167 | </arguments> |
| 168 | </configuration> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 169 | </execution> |
| 170 | </executions> |
| 171 | </plugin> |
| 172 | <plugin> |
| 173 | <groupId>com.github.alexcojocaru</groupId> |
| 174 | <artifactId>elasticsearch-maven-plugin</artifactId> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 175 | <configuration> |
| 176 | <skip>${skipTests}</skip> |
| 177 | <clusterName>testCluster</clusterName> |
| 178 | <transportPort>9500</transportPort> |
| 179 | <httpPort>${databaseport}</httpPort> |
Michael DÜrre | f88794b | 2020-11-19 15:40:16 +0100 | [diff] [blame] | 180 | <version>7.9.3</version> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 181 | <timeout>120</timeout> |
| 182 | <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> |
| 183 | </configuration> |
| 184 | <executions> |
| 185 | <execution> |
| 186 | <id>start-elasticsearch</id> |
| 187 | <phase>process-test-classes</phase> |
| 188 | <goals> |
| 189 | <goal>runforked</goal> |
| 190 | </goals> |
| 191 | </execution> |
| 192 | <execution> |
| 193 | <id>stop-elasticsearch</id> |
| 194 | <phase>prepare-package</phase> |
| 195 | <goals> |
| 196 | <goal>stop</goal> |
| 197 | </goals> |
| 198 | </execution> |
| 199 | </executions> |
| 200 | </plugin> |
| 201 | <plugin> |
| 202 | <groupId>org.apache.maven.plugins</groupId> |
| 203 | <artifactId>maven-surefire-plugin</artifactId> |
| 204 | <configuration> |
| 205 | <systemProperties> |
| 206 | <property> |
| 207 | <name>databaseport</name> |
| 208 | <value>${databaseport}</value> |
| 209 | </property> |
| 210 | </systemProperties> |
| 211 | </configuration> |
| 212 | </plugin> |
| 213 | </plugins> |
| 214 | </build> |
| 215 | </project> |