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 | fc05c3c | 2020-03-05 15:52:09 -0500 | [diff] [blame] | 32 | <version>2.0.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 | |
| 36 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 37 | <artifactId>sdnr-wt-data-provider-provider</artifactId> |
Dan Timoney | fc05c3c | 2020-03-05 15:52:09 -0500 | [diff] [blame] | 38 | <version>1.0.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> |
| 50 | <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration --> |
| 51 | <maven.javadoc.skip>true</maven.javadoc.skip> |
| 52 | <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format> |
| 53 | <buildtime>${maven.build.timestamp}</buildtime> |
| 54 | <databaseport>49402</databaseport> |
Aijana Schumann | 4b87cf4 | 2020-04-09 02:07:03 +0200 | [diff] [blame] | 55 | <odlux.buildno>52.3b24c2d(20/04/08)</odlux.buildno> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 56 | </properties> |
| 57 | |
| 58 | <dependencies> |
| 59 | <dependency> |
| 60 | <groupId>org.mockito</groupId> |
| 61 | <artifactId>mockito-core</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
herbert | 4eed58b | 2020-02-28 13:51:00 +0100 | [diff] [blame] | 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> |
| 82 | <artifactId>servlet-api</artifactId> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.osgi</groupId> |
| 86 | <artifactId>org.osgi.core</artifactId> |
| 87 | <scope>provided</scope> |
| 88 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 89 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 90 | <groupId>org.apache.karaf.shell</groupId> |
| 91 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 92 | <scope>provided</scope> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.opendaylight.netconf</groupId> |
| 96 | <artifactId>sal-netconf-connector</artifactId> |
| 97 | <scope>provided</scope> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId> |
| 101 | <artifactId>rfc6991-ietf-yang-types</artifactId> |
| 102 | <scope>provided</scope> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.opendaylight.mdsal</groupId> |
| 106 | <artifactId>yang-binding</artifactId> |
| 107 | <scope>provided</scope> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.opendaylight.mdsal</groupId> |
| 111 | <artifactId>mdsal-singleton-common-api</artifactId> |
| 112 | <scope>provided</scope> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>org.json</groupId> |
| 116 | <artifactId>json</artifactId> |
| 117 | <scope>provided</scope> |
| 118 | </dependency> |
| 119 | </dependencies> |
| 120 | |
| 121 | <build> |
| 122 | <plugins> |
| 123 | <plugin> |
| 124 | <groupId>org.jacoco</groupId> |
| 125 | <artifactId>jacoco-maven-plugin</artifactId> |
| 126 | <configuration> |
| 127 | <excludes> |
| 128 | <exclude>**/gen/**</exclude> |
| 129 | <exclude>**/generated-sources/**</exclude> |
| 130 | <exclude>**/yang-gen-sal/**</exclude> |
| 131 | <exclude>**/pax/**</exclude> |
| 132 | </excludes> |
| 133 | </configuration> |
| 134 | </plugin> |
| 135 | <plugin> |
| 136 | <groupId>org.codehaus.mojo</groupId> |
| 137 | <artifactId>exec-maven-plugin</artifactId> |
| 138 | <executions> |
| 139 | <execution> |
| 140 | <id>generateDTOs</id> |
| 141 | <phase>generate-sources</phase> |
| 142 | <goals> |
| 143 | <goal>exec</goal> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 144 | </goals> |
| 145 | <configuration> |
herbert | 4eed58b | 2020-02-28 13:51:00 +0100 | [diff] [blame] | 146 | <executable>java</executable> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 147 | <arguments> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 148 | <argument>-jar</argument> |
Singal, Kapil (ks220y) | 6b17990 | 2020-02-27 15:24:18 -0500 | [diff] [blame] | 149 | <argument>${basedir}/../setup/target/sdnr-dmt.jar</argument> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame] | 150 | <argument>-c</argument> |
| 151 | <argument>pluginfile</argument> |
| 152 | <argument>-of</argument> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 153 | <argument>${project.build.directory}/EsInit.script</argument> |
| 154 | </arguments> |
| 155 | </configuration> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 156 | </execution> |
| 157 | </executions> |
| 158 | </plugin> |
| 159 | <plugin> |
| 160 | <groupId>com.github.alexcojocaru</groupId> |
| 161 | <artifactId>elasticsearch-maven-plugin</artifactId> |
| 162 | <version>6.16</version> |
| 163 | <configuration> |
| 164 | <skip>${skipTests}</skip> |
| 165 | <clusterName>testCluster</clusterName> |
| 166 | <transportPort>9500</transportPort> |
| 167 | <httpPort>${databaseport}</httpPort> |
| 168 | <version>6.5.0</version> |
| 169 | <timeout>120</timeout> |
| 170 | <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> |
| 171 | </configuration> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <id>start-elasticsearch</id> |
| 175 | <phase>process-test-classes</phase> |
| 176 | <goals> |
| 177 | <goal>runforked</goal> |
| 178 | </goals> |
| 179 | </execution> |
| 180 | <execution> |
| 181 | <id>stop-elasticsearch</id> |
| 182 | <phase>prepare-package</phase> |
| 183 | <goals> |
| 184 | <goal>stop</goal> |
| 185 | </goals> |
| 186 | </execution> |
| 187 | </executions> |
| 188 | </plugin> |
| 189 | <plugin> |
| 190 | <groupId>org.apache.maven.plugins</groupId> |
| 191 | <artifactId>maven-surefire-plugin</artifactId> |
| 192 | <configuration> |
| 193 | <systemProperties> |
| 194 | <property> |
| 195 | <name>databaseport</name> |
| 196 | <value>${databaseport}</value> |
| 197 | </property> |
| 198 | </systemProperties> |
| 199 | </configuration> |
| 200 | </plugin> |
| 201 | </plugins> |
| 202 | </build> |
| 203 | </project> |