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> |
| 32 | <version>1.5.2-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> |
| 38 | <version>0.7.1-SNAPSHOT</version> |
| 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> |
| 55 | <odlux.buildno>39.0e1988b(20/01/12)</odlux.buildno> |
| 56 | </properties> |
| 57 | |
| 58 | <dependencies> |
| 59 | <dependency> |
| 60 | <groupId>org.mockito</groupId> |
| 61 | <artifactId>mockito-core</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>${project.groupId}</groupId> |
| 66 | <artifactId>sdnr-wt-common</artifactId> |
| 67 | <version>${project.version}</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>${project.groupId}</groupId> |
| 71 | <artifactId>sdnr-wt-data-provider-model</artifactId> |
| 72 | <version>${project.version}</version> |
| 73 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame^] | 74 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 75 | <groupId>javax.servlet</groupId> |
| 76 | <artifactId>servlet-api</artifactId> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.osgi</groupId> |
| 80 | <artifactId>org.osgi.core</artifactId> |
| 81 | <scope>provided</scope> |
| 82 | </dependency> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame^] | 83 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 84 | <groupId>org.apache.karaf.shell</groupId> |
| 85 | <artifactId>org.apache.karaf.shell.core</artifactId> |
| 86 | <scope>provided</scope> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.opendaylight.netconf</groupId> |
| 90 | <artifactId>sal-netconf-connector</artifactId> |
| 91 | <scope>provided</scope> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId> |
| 95 | <artifactId>rfc6991-ietf-yang-types</artifactId> |
| 96 | <scope>provided</scope> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>org.opendaylight.mdsal</groupId> |
| 100 | <artifactId>yang-binding</artifactId> |
| 101 | <scope>provided</scope> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>org.opendaylight.mdsal</groupId> |
| 105 | <artifactId>mdsal-singleton-common-api</artifactId> |
| 106 | <scope>provided</scope> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.json</groupId> |
| 110 | <artifactId>json</artifactId> |
| 111 | <scope>provided</scope> |
| 112 | </dependency> |
| 113 | </dependencies> |
| 114 | |
| 115 | <build> |
| 116 | <plugins> |
| 117 | <plugin> |
| 118 | <groupId>org.jacoco</groupId> |
| 119 | <artifactId>jacoco-maven-plugin</artifactId> |
| 120 | <configuration> |
| 121 | <excludes> |
| 122 | <exclude>**/gen/**</exclude> |
| 123 | <exclude>**/generated-sources/**</exclude> |
| 124 | <exclude>**/yang-gen-sal/**</exclude> |
| 125 | <exclude>**/pax/**</exclude> |
| 126 | </excludes> |
| 127 | </configuration> |
| 128 | </plugin> |
| 129 | <plugin> |
| 130 | <groupId>org.codehaus.mojo</groupId> |
| 131 | <artifactId>exec-maven-plugin</artifactId> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>generateDTOs</id> |
| 135 | <phase>generate-sources</phase> |
| 136 | <goals> |
| 137 | <goal>exec</goal> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame^] | 138 | </goals> |
| 139 | <configuration> |
| 140 | <executable>bash</executable> |
| 141 | <arguments> |
| 142 | <argument>${basedir}/../../data-provider/provider/src/main/resources/es-init.sh</argument> |
| 143 | <argument>initfile</argument> |
| 144 | <argument>-f</argument> |
| 145 | <argument>${project.build.directory}/EsInit.script</argument> |
| 146 | </arguments> |
| 147 | </configuration> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <groupId>com.github.alexcojocaru</groupId> |
| 153 | <artifactId>elasticsearch-maven-plugin</artifactId> |
| 154 | <version>6.16</version> |
| 155 | <configuration> |
| 156 | <skip>${skipTests}</skip> |
| 157 | <clusterName>testCluster</clusterName> |
| 158 | <transportPort>9500</transportPort> |
| 159 | <httpPort>${databaseport}</httpPort> |
| 160 | <version>6.5.0</version> |
| 161 | <timeout>120</timeout> |
| 162 | <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> |
| 163 | </configuration> |
| 164 | <executions> |
| 165 | <execution> |
| 166 | <id>start-elasticsearch</id> |
| 167 | <phase>process-test-classes</phase> |
| 168 | <goals> |
| 169 | <goal>runforked</goal> |
| 170 | </goals> |
| 171 | </execution> |
| 172 | <execution> |
| 173 | <id>stop-elasticsearch</id> |
| 174 | <phase>prepare-package</phase> |
| 175 | <goals> |
| 176 | <goal>stop</goal> |
| 177 | </goals> |
| 178 | </execution> |
| 179 | </executions> |
| 180 | </plugin> |
| 181 | <plugin> |
| 182 | <groupId>org.apache.maven.plugins</groupId> |
| 183 | <artifactId>maven-surefire-plugin</artifactId> |
| 184 | <configuration> |
| 185 | <systemProperties> |
| 186 | <property> |
| 187 | <name>databaseport</name> |
| 188 | <value>${databaseport}</value> |
| 189 | </property> |
| 190 | </systemProperties> |
| 191 | </configuration> |
| 192 | </plugin> |
| 193 | </plugins> |
| 194 | </build> |
| 195 | </project> |