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 | ~ ================================================================================ |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 6 | ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 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 | --> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 25 | |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +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"> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 28 | |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 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 | |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 36 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 37 | <artifactId>sdnr-wt-data-provider-setup</artifactId> |
| 38 | <version>0.7.1-SNAPSHOT</version> |
| 39 | <packaging>bundle</packaging> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 40 | |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 41 | <name>ccsdk-features :: ${project.artifactId}</name> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [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 | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 48 | |
| 49 | <properties> |
| 50 | <maven.javadoc.skip>true</maven.javadoc.skip> |
| 51 | <databaseport>49404</databaseport> |
| 52 | </properties> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 53 | |
| 54 | <dependencies> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 55 | <dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 56 | <groupId>org.mockito</groupId> |
| 57 | <artifactId>mockito-core</artifactId> |
| 58 | <scope>test</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 61 | <groupId>commons-cli</groupId> |
| 62 | <artifactId>commons-cli</artifactId> |
| 63 | <version>1.4</version> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 64 | </dependency> |
| 65 | <dependency> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 66 | <groupId>org.slf4j</groupId> |
| 67 | <artifactId>slf4j-log4j12</artifactId> |
| 68 | </dependency> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 69 | <dependency> |
| 70 | <groupId>${project.groupId}</groupId> |
| 71 | <artifactId>sdnr-wt-common</artifactId> |
| 72 | <version>${project.version}</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>${project.groupId}</groupId> |
| 76 | <artifactId>sdnr-wt-data-provider-model</artifactId> |
| 77 | <version>${project.version}</version> |
| 78 | </dependency> |
| 79 | </dependencies> |
| 80 | <build> |
| 81 | <plugins> |
| 82 | <plugin> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 83 | <groupId>org.codehaus.mojo</groupId> |
| 84 | <artifactId>exec-maven-plugin</artifactId> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>generateDTOs</id> |
| 88 | <phase>generate-sources</phase> |
| 89 | <goals> |
| 90 | <goal>exec</goal> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 91 | </goals> |
| 92 | <configuration> |
| 93 | <skip>${skipTests}</skip> |
| 94 | <executable>bash</executable> |
| 95 | <arguments> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 96 | <argument>${basedir}/../provider/src/main/resources/es-init.sh</argument> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 97 | <argument>initfile</argument> |
| 98 | <argument>-f</argument> |
| 99 | <argument>${project.build.directory}/EsInit.script</argument> |
| 100 | </arguments> |
| 101 | </configuration> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 102 | </execution> |
| 103 | </executions> |
| 104 | </plugin> |
| 105 | <plugin> |
| 106 | <groupId>com.github.alexcojocaru</groupId> |
| 107 | <artifactId>elasticsearch-maven-plugin</artifactId> |
| 108 | <version>6.16</version> |
| 109 | <configuration> |
| 110 | <skip>${skipTests}</skip> |
| 111 | <clusterName>testCluster</clusterName> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 112 | <transportPort>49504</transportPort> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 113 | <httpPort>${databaseport}</httpPort> |
| 114 | <version>6.5.0</version> |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 115 | </configuration> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <id>start-elasticsearch</id> |
| 119 | <phase>process-test-classes</phase> |
| 120 | <goals> |
| 121 | <goal>runforked</goal> |
| 122 | </goals> |
| 123 | </execution> |
| 124 | <execution> |
| 125 | <id>stop-elasticsearch</id> |
| 126 | <phase>prepare-package</phase> |
| 127 | <goals> |
| 128 | <goal>stop</goal> |
| 129 | </goals> |
| 130 | </execution> |
| 131 | </executions> |
| 132 | </plugin> |
| 133 | <plugin> |
| 134 | <groupId>org.apache.maven.plugins</groupId> |
| 135 | <artifactId>maven-surefire-plugin</artifactId> |
| 136 | <configuration> |
| 137 | <systemProperties> |
| 138 | <property> |
| 139 | <name>databaseport</name> |
| 140 | <value>${databaseport}</value> |
| 141 | </property> |
| 142 | </systemProperties> |
| 143 | </configuration> |
| 144 | </plugin> |
Michael Dürre | ee75b19 | 2020-02-26 06:41:50 +0100 | [diff] [blame^] | 145 | <plugin> |
| 146 | <artifactId>maven-assembly-plugin</artifactId> |
| 147 | <executions> |
| 148 | <execution> |
| 149 | <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 150 | <phase>package</phase> |
| 151 | <goals> |
| 152 | <goal>single</goal> |
| 153 | </goals> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | <configuration> |
| 157 | <finalName>sdnr-dmt</finalName> |
| 158 | <appendAssemblyId>false</appendAssemblyId> |
| 159 | <archive> |
| 160 | <manifest> |
| 161 | <mainClass>org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program</mainClass> |
| 162 | </manifest> |
| 163 | </archive> |
| 164 | <descriptorRefs> |
| 165 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 166 | </descriptorRefs> |
| 167 | </configuration> |
| 168 | </plugin> |
| 169 | |
herbert | d77d01b | 2020-01-30 10:15:11 +0100 | [diff] [blame] | 170 | </plugins> |
| 171 | </build> |
| 172 | </project> |