wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
wasala | 9292dd2 | 2018-03-28 19:04:20 +0200 | [diff] [blame] | 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ PNF-REGISTRATION-HANDLER |
| 5 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved. |
| 7 | ~ ================================================================================ |
| 8 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | ~ you may not use this file except in compliance with the License. |
| 10 | ~ You may obtain a copy of the License at |
| 11 | ~ |
| 12 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | ~ |
| 14 | ~ Unless required by applicable law or agreed to in writing, software |
| 15 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | ~ See the License for the specific language governing permissions and |
| 18 | ~ limitations under the License. |
| 19 | ~ ============LICENSE_END========================================================= |
| 20 | --> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <parent> |
| 25 | <artifactId>prh</artifactId> |
| 26 | <groupId>org.onap.dcaegen2.services</groupId> |
| 27 | <version>1.0.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | <modelVersion>4.0.0</modelVersion> |
| 30 | |
| 31 | <artifactId>prh-app-server</artifactId> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 32 | <groupId>org.onap.dcaegen2.services.prh</groupId> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 33 | <packaging>jar</packaging> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 34 | <properties> |
| 35 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 36 | <project.fatJar.finalName>prh-app-server</project.fatJar.finalName> |
wasala | cf292d9 | 2018-04-13 09:44:51 +0200 | [diff] [blame] | 37 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 38 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 39 | <releases.path>content/repositories/releases/</releases.path> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 40 | </properties> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.maven.plugins</groupId> |
| 45 | <artifactId>maven-compiler-plugin</artifactId> |
| 46 | </plugin> |
| 47 | <plugin> |
| 48 | <groupId>org.springframework.boot</groupId> |
| 49 | <artifactId>spring-boot-maven-plugin</artifactId> |
wasala | d8e4e88 | 2018-03-28 14:20:58 +0200 | [diff] [blame] | 50 | <executions> |
| 51 | <execution> |
| 52 | <goals> |
| 53 | <goal>repackage</goal> |
| 54 | </goals> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | <configuration> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 58 | <finalName>${project.fatJar.finalName}</finalName> |
wasala | d8e4e88 | 2018-03-28 14:20:58 +0200 | [diff] [blame] | 59 | <mainClass>org.onap.dcaegen2.services.prh.MainApp</mainClass> |
| 60 | </configuration> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 61 | </plugin> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 62 | <!-- This plugin may go away in favor of a custom Dockerfile provided by Carsten and co. --> |
| 63 | <plugin> |
| 64 | <groupId>com.spotify</groupId> |
| 65 | <artifactId>docker-maven-plugin</artifactId> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 66 | <configuration> |
Lusheng Ji | 6bb4aa2 | 2018-04-06 10:26:18 -0400 | [diff] [blame] | 67 | <skipDockerBuild>false</skipDockerBuild> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 68 | <imageName> |
| 69 | ${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId} |
| 70 | </imageName> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 71 | <baseImage>openjdk:8-jre-alpine</baseImage> |
| 72 | <entryPoint>["java", "-jar", "/opt/${project.fatJar.finalName}.jar"]</entryPoint> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 73 | <resources> |
| 74 | <resource> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 75 | <targetPath>/opt</targetPath> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 76 | <directory>${project.build.directory}</directory> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 77 | <include>${project.fatJar.finalName}.jar</include> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 78 | </resource> |
| 79 | </resources> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 80 | <exposes> |
| 81 | <expose>8100</expose> |
| 82 | </exposes> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 83 | <imageTags> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 84 | <imageTag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</imageTag> |
| 85 | <imageTag>${project.version}</imageTag> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 86 | <imageTag>latest</imageTag> |
| 87 | </imageTags> |
| 88 | <serverId>${onap.nexus.dockerregistry.daily}</serverId> |
| 89 | </configuration> |
| 90 | </plugin> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 91 | <plugin> |
| 92 | <groupId>org.sonatype.plugins</groupId> |
| 93 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 94 | <version>1.6.7</version> |
| 95 | <extensions>true</extensions> |
| 96 | <configuration> |
| 97 | <serverId>ecomp-staging</serverId> |
| 98 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 99 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 100 | </configuration> |
| 101 | </plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 102 | </plugins> |
| 103 | </build> |
| 104 | <dependencies> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 105 | |
| 106 | <!--DEVELOPMENT DEPENDENCIES--> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 107 | <dependency> |
| 108 | <groupId>org.springframework.boot</groupId> |
| 109 | <artifactId>spring-boot-starter-web</artifactId> |
wasala | b196f93 | 2018-04-17 12:25:54 +0200 | [diff] [blame] | 110 | <exclusions> |
| 111 | <exclusion> |
wasala | b3a974e | 2018-04-18 08:48:00 +0200 | [diff] [blame^] | 112 | <groupId>org.springframework.boot</groupId> |
| 113 | <artifactId>spring-boot-starter-json</artifactId> |
wasala | b196f93 | 2018-04-17 12:25:54 +0200 | [diff] [blame] | 114 | </exclusion> |
| 115 | </exclusions> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.springframework.boot</groupId> |
| 119 | <artifactId>spring-boot-starter-webflux</artifactId> |
wasala | b196f93 | 2018-04-17 12:25:54 +0200 | [diff] [blame] | 120 | <exclusions> |
| 121 | <exclusion> |
wasala | b3a974e | 2018-04-18 08:48:00 +0200 | [diff] [blame^] | 122 | <groupId>org.springframework.boot</groupId> |
| 123 | <artifactId>spring-boot-starter-json</artifactId> |
wasala | b196f93 | 2018-04-17 12:25:54 +0200 | [diff] [blame] | 124 | </exclusion> |
| 125 | </exclusions> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 126 | </dependency> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 127 | <dependency> |
| 128 | <groupId>com.spotify</groupId> |
| 129 | <artifactId>docker-maven-plugin</artifactId> |
wasala | b3a974e | 2018-04-18 08:48:00 +0200 | [diff] [blame^] | 130 | <exclusions> |
| 131 | <exclusion> |
| 132 | <groupId>com.fasterxml.jackson.core</groupId> |
| 133 | <artifactId>jackson-databind</artifactId> |
| 134 | </exclusion> |
| 135 | </exclusions> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 136 | </dependency> |
wasala | 3c2e8c9 | 2018-04-12 13:37:41 +0200 | [diff] [blame] | 137 | <dependency> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 138 | <groupId>org.bouncycastle</groupId> |
| 139 | <artifactId>bcprov-jdk15on</artifactId> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>org.bouncycastle</groupId> |
| 143 | <artifactId>bcpkix-jdk15on</artifactId> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.codehaus.plexus</groupId> |
| 147 | <artifactId>plexus-utils</artifactId> |
| 148 | </dependency> |
| 149 | <dependency> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 150 | <groupId>org.apache.tomcat.embed</groupId> |
| 151 | <artifactId>tomcat-embed-core</artifactId> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.apache.tomcat.embed</groupId> |
| 155 | <artifactId>tomcat-embed-el</artifactId> |
| 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>org.apache.tomcat.embed</groupId> |
| 159 | <artifactId>tomcat-embed-websocket</artifactId> |
| 160 | </dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 161 | |
| 162 | <!-- LOGGING DEPENDENCIES--> |
| 163 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 164 | <groupId>ch.qos.logback</groupId> |
| 165 | <artifactId>logback-classic</artifactId> |
| 166 | </dependency> |
wasala | d8e4e88 | 2018-03-28 14:20:58 +0200 | [diff] [blame] | 167 | <dependency> |
| 168 | <groupId>org.slf4j</groupId> |
| 169 | <artifactId>jul-to-slf4j</artifactId> |
| 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>org.slf4j</groupId> |
| 173 | <artifactId>log4j-over-slf4j</artifactId> |
| 174 | </dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 175 | |
| 176 | <!--TESTS DEPENDENCIES --> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 177 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 178 | <groupId>org.junit.jupiter</groupId> |
| 179 | <artifactId>junit-jupiter-engine</artifactId> |
| 180 | <scope>test</scope> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>org.junit.vintage</groupId> |
| 184 | <artifactId>junit-vintage-engine</artifactId> |
| 185 | <scope>test</scope> |
| 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>org.springframework</groupId> |
| 189 | <artifactId>spring-test</artifactId> |
| 190 | <scope>test</scope> |
| 191 | </dependency> |
| 192 | <dependency> |
micdzied | 6a7fa72 | 2018-04-13 15:24:54 +0200 | [diff] [blame] | 193 | <groupId>org.junit.platform</groupId> |
| 194 | <artifactId>junit-platform-launcher</artifactId> |
| 195 | </dependency> |
| 196 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 197 | <groupId>org.springframework.boot</groupId> |
| 198 | <artifactId>spring-boot-starter-test</artifactId> |
| 199 | <scope>test</scope> |
| 200 | </dependency> |
| 201 | <dependency> |
| 202 | <groupId>org.mockito</groupId> |
| 203 | <artifactId>mockito-core</artifactId> |
| 204 | <scope>test</scope> |
| 205 | </dependency> |
| 206 | <dependency> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 207 | <groupId>org.glassfish.jersey.connectors</groupId> |
| 208 | <artifactId>jersey-apache-connector</artifactId> |
| 209 | <scope>test</scope> |
| 210 | </dependency> |
| 211 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 212 | <groupId>org.testng</groupId> |
| 213 | <artifactId>testng</artifactId> |
| 214 | </dependency> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 215 | <dependency> |
| 216 | <groupId>org.onap.dcaegen2.services.prh</groupId> |
| 217 | <artifactId>prh-aai-client</artifactId> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 218 | <version>${project.parent.version}</version> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 219 | </dependency> |
| 220 | <dependency> |
| 221 | <groupId>org.onap.dcaegen2.services.prh</groupId> |
| 222 | <artifactId>prh-dmaap-client</artifactId> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 223 | <version>${project.parent.version}</version> |
wasala | 86690cd | 2018-04-03 14:41:23 +0200 | [diff] [blame] | 224 | </dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 225 | |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 226 | </dependencies> |
| 227 | <dependencyManagement> |
| 228 | <dependencies> |
| 229 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 230 | <!-- IMPORT DEPENDENCY MANAGEMENT FROM SPRING BOOT --> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 231 | <groupId>org.springframework.boot</groupId> |
| 232 | <artifactId>spring-boot-dependencies</artifactId> |
wasala | cf292d9 | 2018-04-13 09:44:51 +0200 | [diff] [blame] | 233 | <version>2.0.1.RELEASE</version> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 234 | <type>pom</type> |
| 235 | <scope>import</scope> |
| 236 | </dependency> |
| 237 | </dependencies> |
| 238 | </dependencyManagement> |
Lusheng Ji | 6bb4aa2 | 2018-04-06 10:26:18 -0400 | [diff] [blame] | 239 | </project> |