Michael Dürre | 6795925 | 2019-11-25 10:22:16 +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 | |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +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"> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 28 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 29 | <parent> |
| 30 | <groupId>org.onap.ccsdk.parent</groupId> |
| 31 | <artifactId>binding-parent</artifactId> |
Dan Timoney | 4903545 | 2020-01-30 09:53:35 -0500 | [diff] [blame] | 32 | <version>1.5.2-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 33 | <relativePath/> |
| 34 | </parent> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 35 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 36 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 37 | <artifactId>sdnr-wt-common</artifactId> |
Dan Timoney | 4903545 | 2020-01-30 09:53:35 -0500 | [diff] [blame] | 38 | <version>0.7.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 39 | <packaging>jar</packaging> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 40 | |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 41 | <name>ccsdk-features :: ${project.artifactId}</name> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 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> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 48 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 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} UTC</buildtime> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 54 | <databaseport>49400</databaseport> |
herbert | d1981f7 | 2020-01-28 16:45:58 +0100 | [diff] [blame] | 55 | <elasticsearch-rest-client.version>6.4.3</elasticsearch-rest-client.version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 56 | </properties> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 57 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 58 | <dependencies> |
| 59 | <dependency> |
| 60 | <groupId>org.mockito</groupId> |
| 61 | <artifactId>mockito-core</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
herbert | d1981f7 | 2020-01-28 16:45:58 +0100 | [diff] [blame] | 65 | <groupId>javax.servlet</groupId> |
| 66 | <artifactId>servlet-api</artifactId> |
| 67 | </dependency> |
| 68 | <dependency> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 69 | <groupId>org.osgi</groupId> |
| 70 | <artifactId>org.osgi.core</artifactId> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.json</groupId> |
| 75 | <artifactId>json</artifactId> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.elasticsearch.client</groupId> |
| 79 | <artifactId>elasticsearch-rest-client</artifactId> |
herbert | d1981f7 | 2020-01-28 16:45:58 +0100 | [diff] [blame] | 80 | <version>${elasticsearch-rest-client.version}</version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>com.fasterxml.jackson.core</groupId> |
| 84 | <artifactId>jackson-core</artifactId> |
| 85 | </dependency> |
| 86 | <dependency> |
| 87 | <groupId>com.fasterxml.jackson.core</groupId> |
| 88 | <artifactId>jackson-annotations</artifactId> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>com.fasterxml.jackson.core</groupId> |
| 92 | <artifactId>jackson-databind</artifactId> |
| 93 | </dependency> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 94 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 95 | </dependencies> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 96 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 97 | <build> |
| 98 | <plugins> |
| 99 | <plugin> |
| 100 | <groupId>org.jacoco</groupId> |
| 101 | <artifactId>jacoco-maven-plugin</artifactId> |
| 102 | <configuration> |
| 103 | <excludes> |
| 104 | <exclude>**/gen/**</exclude> |
| 105 | <exclude>**/generated-sources/**</exclude> |
| 106 | <exclude>**/yang-gen-sal/**</exclude> |
| 107 | <exclude>**/pax/**</exclude> |
| 108 | </excludes> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | <plugin> |
| 112 | <groupId>org.codehaus.mojo</groupId> |
| 113 | <artifactId>exec-maven-plugin</artifactId> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <id>generateDTOs</id> |
| 117 | <phase>generate-sources</phase> |
| 118 | <goals> |
| 119 | <goal>exec</goal> |
| 120 | </goals> |
| 121 | <configuration> |
Singal, Kapil (ks220y) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 122 | <executable>bash</executable> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 123 | <arguments> |
herbert | d1981f7 | 2020-01-28 16:45:58 +0100 | [diff] [blame] | 124 | <argument>${basedir}/../data-provider/provider/src/main/resources/es-init.sh</argument> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 125 | <argument>initfile</argument> |
| 126 | <argument>-f</argument> |
| 127 | <argument>${project.build.directory}/EsInit.script</argument> |
| 128 | </arguments> |
| 129 | </configuration> |
| 130 | </execution> |
| 131 | </executions> |
| 132 | </plugin> |
| 133 | <plugin> |
| 134 | <groupId>com.github.alexcojocaru</groupId> |
| 135 | <artifactId>elasticsearch-maven-plugin</artifactId> |
herbert | 58f412a | 2019-12-11 15:06:19 +0100 | [diff] [blame] | 136 | <version>6.16</version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 137 | <configuration> |
herbert | d1981f7 | 2020-01-28 16:45:58 +0100 | [diff] [blame] | 138 | <skip>${skipTests}</skip> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 139 | <clusterName>testCluster</clusterName> |
| 140 | <transportPort>9500</transportPort> |
| 141 | <httpPort>${databaseport}</httpPort> |
herbert | 7ce54d6 | 2019-12-14 00:22:47 +0100 | [diff] [blame] | 142 | <version>6.5.0</version> |
| 143 | <timeout>120</timeout> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 144 | <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> |
| 145 | </configuration> |
| 146 | <executions> |
| 147 | <execution> |
| 148 | <id>start-elasticsearch</id> |
| 149 | <phase>process-test-classes</phase> |
| 150 | <goals> |
| 151 | <goal>runforked</goal> |
| 152 | </goals> |
| 153 | </execution> |
| 154 | <execution> |
| 155 | <id>stop-elasticsearch</id> |
| 156 | <phase>prepare-package</phase> |
| 157 | <goals> |
| 158 | <goal>stop</goal> |
| 159 | </goals> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | </plugin> |
| 163 | <plugin> |
| 164 | <groupId>org.apache.maven.plugins</groupId> |
| 165 | <artifactId>maven-surefire-plugin</artifactId> |
| 166 | <configuration> |
| 167 | <systemProperties> |
| 168 | <property> |
| 169 | <name>databaseport</name> |
| 170 | <value>${databaseport}</value> |
| 171 | </property> |
| 172 | </systemProperties> |
| 173 | </configuration> |
| 174 | </plugin> |
| 175 | </plugins> |
| 176 | </build> |
Michael Dürre | 6795925 | 2019-11-25 10:22:16 +0100 | [diff] [blame] | 177 | </project> |