wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
wasala | 9292dd2 | 2018-03-28 19:04:20 +0200 | [diff] [blame] | 4 | ~ PNF-REGISTRATION-HANDLER |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 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 | ec0cf09 | 2018-03-21 14:19:43 +0100 | [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"> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 24 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <parent> |
| 27 | <groupId>org.onap.oparent</groupId> |
| 28 | <artifactId>oparent</artifactId> |
| 29 | <version>0.1.1</version> |
| 30 | <relativePath/> |
| 31 | </parent> |
| 32 | <groupId>org.onap.dcaegen2.services</groupId> |
Lusheng Ji | 44fb171 | 2018-03-21 16:42:36 -0400 | [diff] [blame] | 33 | <artifactId>prh</artifactId> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 34 | <version>1.0.0-SNAPSHOT</version> |
wasala | 35ee40c | 2018-05-21 20:57:50 +0200 | [diff] [blame] | 35 | <name>dcaegen2-services-prh</name> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 36 | <description>pnf-registration-handler</description> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 37 | <packaging>pom</packaging> |
| 38 | |
| 39 | <licenses> |
| 40 | <license> |
| 41 | <name>The Apache Software License, Version 2.0</name> |
| 42 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 43 | </license> |
| 44 | </licenses> |
| 45 | |
| 46 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 47 | <properties> |
| 48 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 49 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 50 | |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 51 | <!-- JAVA VERSION--> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 52 | <java.version>8</java.version> |
| 53 | <compiler.plugin.version>3.7.0</compiler.plugin.version> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 54 | <tomcat.version>8.5.28</tomcat.version> |
Lusheng Ji | ee36c36 | 2018-05-02 15:55:41 -0400 | [diff] [blame] | 55 | <docker.maven.version>1.0.0</docker.maven.version> |
wasala | 44ce56c | 2018-05-08 13:48:44 +0200 | [diff] [blame] | 56 | <resource.maven.plugin.version>3.1.0</resource.maven.plugin.version> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 57 | <!-- DEVELOPMENT SETTINGS --> |
| 58 | <immutable.version>2.5.6</immutable.version> |
| 59 | |
| 60 | <!-- LOGGING SETTINGS --> |
| 61 | <slf4j.version>1.7.25</slf4j.version> |
| 62 | <logback.version>1.2.3</logback.version> |
| 63 | |
| 64 | <!--TEST SETTINGS --> |
| 65 | <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 66 | <junit.version>4.12</junit.version> |
| 67 | <junit.jupiter.version>5.1.0</junit.jupiter.version> |
| 68 | <junit.vintage.version>5.1.0</junit.vintage.version> |
| 69 | <junit.platform.version>1.1.0</junit.platform.version> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 70 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 71 | <!--PLUGIN SETTINGS --> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 72 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 73 | <snapshots.path>content/repositories/snapshots/</snapshots.path> |
| 74 | <releases.path>content/repositories/releases/</releases.path> |
| 75 | <site.path> |
| 76 | content/sites/site/org/onap/dcaegen2/services/prh/${project.artifactId}/${project.version} |
| 77 | </site.path> |
| 78 | </properties> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 79 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 80 | <pluginRepositories> |
wasala | 2a6eb94 | 2018-06-18 11:45:08 +0200 | [diff] [blame^] | 81 | |
| 82 | |
| 83 | <pluginRepository> |
| 84 | <id>40_openecomp-release</id> |
| 85 | <name>40_openecomp-release</name> |
| 86 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 87 | <releases> |
| 88 | <enabled>true</enabled> |
| 89 | <updatePolicy>daily</updatePolicy> |
| 90 | </releases> |
| 91 | <snapshots> |
| 92 | <enabled>false</enabled> |
| 93 | </snapshots> |
| 94 | </pluginRepository> |
| 95 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 96 | <!-- Black Duck plugin dependencies --> |
| 97 | <pluginRepository> |
| 98 | <id>JCenter</id> |
| 99 | <name>JCenter Repository</name> |
| 100 | <url>http://jcenter.bintray.com</url> |
| 101 | </pluginRepository> |
| 102 | <pluginRepository> |
| 103 | <id>Restlet</id> |
| 104 | <name>Restlet Repository</name> |
| 105 | <url>http://maven.restlet.com</url> |
| 106 | </pluginRepository> |
| 107 | </pluginRepositories> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 108 | |
wasala | 2a6eb94 | 2018-06-18 11:45:08 +0200 | [diff] [blame^] | 109 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 110 | <repositories> |
| 111 | <repository> |
| 112 | <id>external-repository</id> |
| 113 | <url>https://oss.sonatype.org/content/repositories</url> |
| 114 | </repository> |
wasala | 2a6eb94 | 2018-06-18 11:45:08 +0200 | [diff] [blame^] | 115 | <repository> |
| 116 | <id>40_openecomp-release</id> |
| 117 | <name>40_openecomp-release</name> |
| 118 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 119 | <releases> |
| 120 | <enabled>true</enabled> |
| 121 | <updatePolicy>daily</updatePolicy> |
| 122 | </releases> |
| 123 | <snapshots> |
| 124 | <enabled>false</enabled> |
| 125 | </snapshots> |
| 126 | </repository> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 127 | </repositories> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 128 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 129 | <build> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 130 | |
| 131 | <extensions> |
| 132 | <extension> |
| 133 | <groupId>org.apache.maven.wagon</groupId> |
| 134 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 135 | <version>3.0.0</version> |
| 136 | </extension> |
| 137 | </extensions> |
| 138 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 139 | <pluginManagement> |
| 140 | <plugins> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 141 | |
| 142 | <!-- COMPILER PLUGIN --> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 143 | <plugin> |
| 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <artifactId>maven-compiler-plugin</artifactId> |
| 146 | <version>${compiler.plugin.version}</version> |
| 147 | <configuration> |
| 148 | <source>${java.version}</source> |
| 149 | <target>${java.version}</target> |
| 150 | <showWarnings>true</showWarnings> |
| 151 | <showDeprecation>true</showDeprecation> |
| 152 | </configuration> |
| 153 | </plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 154 | |
| 155 | <!-- MAVEN SOURCE PLUGIN --> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 156 | <plugin> |
| 157 | <groupId>org.apache.maven.plugins</groupId> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 158 | <artifactId>maven-source-plugin</artifactId> |
| 159 | <version>3.0.1</version> |
| 160 | <configuration> |
| 161 | <excludeResources>true</excludeResources> |
| 162 | </configuration> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 163 | <executions> |
| 164 | <execution> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 165 | <id>attach-sources</id> |
| 166 | <phase>verify</phase> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 167 | <goals> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 168 | <goal>jar-no-fork</goal> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 169 | </goals> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 170 | </execution> |
| 171 | </executions> |
| 172 | </plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 173 | |
| 174 | <!-- MAVEN JAVADOC PLUGIN --> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 175 | <plugin> |
| 176 | <groupId>org.apache.maven.plugins</groupId> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 177 | <artifactId>maven-javadoc-plugin</artifactId> |
| 178 | <version>3.0.0</version> |
| 179 | <configuration> |
| 180 | <!-- minimize console output messages --> |
| 181 | <quiet>true</quiet> |
| 182 | <verbose>false</verbose> |
| 183 | <useStandardDocletOptions>false</useStandardDocletOptions> |
| 184 | </configuration> |
| 185 | <executions> |
| 186 | <execution> |
| 187 | <id>aggregate</id> |
| 188 | <phase>site</phase> |
| 189 | <goals> |
| 190 | <goal>aggregate</goal> |
| 191 | </goals> |
| 192 | </execution> |
| 193 | <execution> |
| 194 | <id>attach-javadoc</id> |
| 195 | <goals> |
| 196 | <goal>jar</goal> |
| 197 | </goals> |
| 198 | </execution> |
| 199 | </executions> |
| 200 | </plugin> |
| 201 | |
| 202 | <!-- MAVEN BUNDLE PLUGIN --> |
| 203 | <plugin> |
| 204 | <groupId>org.apache.felix</groupId> |
| 205 | <artifactId>maven-bundle-plugin</artifactId> |
| 206 | <version>3.5.0</version> |
| 207 | <extensions>true</extensions> |
| 208 | <configuration> |
| 209 | <instructions> |
| 210 | <Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency> |
| 211 | <Embed-Transitive>true</Embed-Transitive> |
| 212 | <Embed-Directory>lib</Embed-Directory> |
| 213 | </instructions> |
| 214 | </configuration> |
| 215 | <executions> |
| 216 | <execution> |
| 217 | <id>Bundling PRH Jar</id> |
| 218 | <phase>package</phase> |
| 219 | <goals> |
| 220 | <goal>bundle</goal> |
| 221 | </goals> |
| 222 | </execution> |
| 223 | </executions> |
| 224 | </plugin> |
| 225 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 226 | <!-- maven-surefire-plugin which is used during the test phase of build lifecycle --> |
| 227 | <plugin> |
| 228 | <groupId>org.apache.maven.plugins</groupId> |
| 229 | <artifactId>maven-surefire-plugin</artifactId> |
| 230 | <version>2.19.1</version> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 231 | <configuration> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 232 | <argLine>-Xmx2048m -Djava.awt.headless=true -XX:+UseConcMarkSweepGC |
| 233 | -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError |
| 234 | </argLine> |
| 235 | <redirectTestOutputToFile>${surefire.redirectTestOutputToFile} |
| 236 | </redirectTestOutputToFile> |
| 237 | <parallel>methods</parallel> |
| 238 | <threadCount>8</threadCount> |
| 239 | <forkCount>8</forkCount> |
| 240 | <reuseForks>true</reuseForks> |
| 241 | <reportFormat>xml</reportFormat> |
| 242 | <trimStackTrace>false</trimStackTrace> |
| 243 | <systemPropertyVariables> |
| 244 | <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| 245 | <logback.configurationFile> |
| 246 | ${basedir}/src/test/resources/logback-test.xml |
| 247 | </logback.configurationFile> |
| 248 | <HADOOP_HOME>${project.build.directory}</HADOOP_HOME> |
| 249 | </systemPropertyVariables> |
| 250 | <includes> |
| 251 | <include>**/*Test.java</include> |
| 252 | </includes> |
| 253 | <excludes> |
| 254 | <exclude>**/*IT.java</exclude> |
| 255 | </excludes> |
| 256 | <!-- Sets the VM argument line used when unit tests are run. --> |
wasala | 96481e0 | 2018-05-16 15:17:56 +0200 | [diff] [blame] | 257 | <argLine>${argLine}</argLine> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 258 | </configuration> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 259 | <dependencies> |
| 260 | <dependency> |
| 261 | <groupId>org.junit.platform</groupId> |
| 262 | <artifactId>junit-platform-surefire-provider</artifactId> |
| 263 | <version>${junit.platform.version}</version> |
| 264 | </dependency> |
| 265 | </dependencies> |
| 266 | </plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 267 | |
| 268 | <!-- FIND BUGS (STATIC CODE ANALYSIS) PLUGIN --> |
| 269 | <plugin> |
| 270 | <groupId>org.codehaus.mojo</groupId> |
| 271 | <artifactId>findbugs-maven-plugin</artifactId> |
| 272 | <version>${findbugs.plugin.version}</version> |
| 273 | <configuration> |
| 274 | <effort>Max</effort> |
| 275 | <threshold>Low</threshold> |
| 276 | <xmlOutput>true</xmlOutput> |
| 277 | <!-- BUILD FAIL ON FINDBUGS ERRORS --> |
| 278 | <failOnError>true</failOnError> |
| 279 | <excludeFilterFile>${project.basedir}/findbugs-exclude.xml</excludeFilterFile> |
| 280 | <outputDirectory>${project.reporting.outputDirectory}/findbugs</outputDirectory> |
| 281 | <findbugsXmlOutputDirectory>${project.reporting.outputDirectory}/findbugs |
| 282 | </findbugsXmlOutputDirectory> |
| 283 | </configuration> |
| 284 | <executions> |
| 285 | <execution> |
| 286 | <id>analyze-compile</id> |
| 287 | <phase>compile</phase> |
| 288 | <goals> |
| 289 | <goal>check</goal> |
| 290 | </goals> |
| 291 | </execution> |
| 292 | </executions> |
| 293 | </plugin> |
| 294 | |
| 295 | <plugin> |
| 296 | <groupId>org.apache.maven.plugins</groupId> |
| 297 | <artifactId>maven-jar-plugin</artifactId> |
| 298 | <version>3.0.2</version> |
| 299 | <configuration> |
| 300 | <archive> |
| 301 | <manifest> |
| 302 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 303 | </manifest> |
| 304 | <manifestEntries> |
| 305 | <Implementation-Build-Version>${project.version}</Implementation-Build-Version> |
| 306 | </manifestEntries> |
| 307 | </archive> |
| 308 | </configuration> |
| 309 | </plugin> |
| 310 | |
| 311 | <plugin> |
| 312 | <groupId>org.apache.maven.plugins</groupId> |
| 313 | <artifactId>maven-site-plugin</artifactId> |
| 314 | <version>3.6</version> |
| 315 | </plugin> |
| 316 | |
| 317 | <plugin> |
| 318 | <groupId>org.apache.maven.plugins</groupId> |
| 319 | <artifactId>maven-jxr-plugin</artifactId> |
| 320 | <version>2.5</version> |
| 321 | </plugin> |
| 322 | |
| 323 | <plugin> |
| 324 | <groupId>org.apache.maven.plugins</groupId> |
| 325 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 326 | <version>2.9</version> |
| 327 | <configuration> |
| 328 | <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 329 | <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 330 | </configuration> |
| 331 | </plugin> |
| 332 | |
| 333 | <plugin> |
| 334 | <groupId>org.apache.maven.plugins</groupId> |
| 335 | <artifactId>maven-surefire-report-plugin</artifactId> |
| 336 | <version>2.21.0</version> |
| 337 | </plugin> |
Lusheng Ji | 6bb4aa2 | 2018-04-06 10:26:18 -0400 | [diff] [blame] | 338 | |
| 339 | <plugin> |
| 340 | <groupId>com.spotify</groupId> |
| 341 | <artifactId>docker-maven-plugin</artifactId> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 342 | <version>${docker.maven.version}</version> |
Lusheng Ji | 6bb4aa2 | 2018-04-06 10:26:18 -0400 | [diff] [blame] | 343 | <configuration> |
| 344 | <skipDockerBuild>true</skipDockerBuild> |
| 345 | </configuration> |
| 346 | </plugin> |
wasala | 44ce56c | 2018-05-08 13:48:44 +0200 | [diff] [blame] | 347 | <plugin> |
| 348 | <groupId>org.apache.maven.plugins</groupId> |
| 349 | <artifactId>maven-resources-plugin</artifactId> |
| 350 | <version>${resource.maven.plugin.version}</version> |
| 351 | </plugin> |
wasala | 96481e0 | 2018-05-16 15:17:56 +0200 | [diff] [blame] | 352 | <plugin> |
| 353 | <groupId>org.jacoco</groupId> |
| 354 | <artifactId>jacoco-maven-plugin</artifactId> |
pwielebs | 4eb7116 | 2018-05-17 17:02:30 +0200 | [diff] [blame] | 355 | <configuration> |
| 356 | <excludes> |
| 357 | <exclude>**/Immutable*</exclude> |
| 358 | <exclude>**/GsonAdapters*</exclude> |
| 359 | <exclude>**/*ForUnitTest*</exclude> |
| 360 | </excludes> |
| 361 | </configuration> |
wasala | 96481e0 | 2018-05-16 15:17:56 +0200 | [diff] [blame] | 362 | <executions> |
| 363 | <execution> |
| 364 | <id>default-prepare-agent</id> |
| 365 | <goals> |
| 366 | <goal>prepare-agent</goal> |
| 367 | </goals> |
| 368 | </execution> |
| 369 | <execution> |
| 370 | <id>report</id> |
| 371 | <phase>prepare-package</phase> |
| 372 | <goals> |
| 373 | <goal>report</goal> |
| 374 | </goals> |
| 375 | </execution> |
| 376 | <execution> |
| 377 | <id>check</id> |
| 378 | <goals> |
| 379 | <goal>check</goal> |
| 380 | </goals> |
| 381 | <configuration> |
wasala | 699f195 | 2018-05-22 12:42:16 +0200 | [diff] [blame] | 382 | <excludes> |
| 383 | <exclude>**/Immutable*</exclude> |
| 384 | <exclude>**/GsonAdapters*</exclude> |
| 385 | <exclude>**/*ForUnitTest*</exclude> |
pwielebs | 7ddaf39 | 2018-05-23 15:31:11 +0200 | [diff] [blame] | 386 | <exclude>**/AAIConsumer*</exclude> |
wasala | 699f195 | 2018-05-22 12:42:16 +0200 | [diff] [blame] | 387 | </excludes> |
wasala | 96481e0 | 2018-05-16 15:17:56 +0200 | [diff] [blame] | 388 | <rules> |
| 389 | <rule> |
| 390 | <element>CLASS</element> |
| 391 | <limits> |
| 392 | <limit> |
wasala | 96481e0 | 2018-05-16 15:17:56 +0200 | [diff] [blame] | 393 | <value>COVEREDRATIO</value> |
| 394 | <!--<minimum>0.70</minimum>--> |
| 395 | </limit> |
| 396 | <limit> |
| 397 | <counter>BRANCH</counter> |
| 398 | <value>COVEREDRATIO</value> |
| 399 | <!--<minimum>0.70</minimum>--> |
| 400 | </limit> |
| 401 | </limits> |
| 402 | </rule> |
| 403 | </rules> |
| 404 | </configuration> |
| 405 | </execution> |
| 406 | </executions> |
| 407 | </plugin> |
wasala | 2a6eb94 | 2018-06-18 11:45:08 +0200 | [diff] [blame^] | 408 | <plugin> |
| 409 | <groupId>org.apache.maven.plugins</groupId> |
| 410 | <artifactId>maven-deploy-plugin</artifactId> |
| 411 | <configuration> |
| 412 | <skip>true</skip> |
| 413 | </configuration> |
| 414 | </plugin> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 415 | </plugins> |
| 416 | </pluginManagement> |
| 417 | <plugins> |
| 418 | <plugin> |
| 419 | <groupId>org.apache.maven.plugins</groupId> |
| 420 | <artifactId>maven-compiler-plugin</artifactId> |
| 421 | </plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 422 | |
wasala | 2c378ea | 2018-03-21 16:42:36 -0400 | [diff] [blame] | 423 | <plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 424 | <groupId>org.apache.maven.plugins</groupId> |
| 425 | <artifactId>maven-jar-plugin</artifactId> |
wasala | 2c378ea | 2018-03-21 16:42:36 -0400 | [diff] [blame] | 426 | </plugin> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 427 | |
| 428 | <plugin> |
| 429 | <groupId>org.apache.maven.plugins</groupId> |
| 430 | <artifactId>maven-surefire-plugin</artifactId> |
| 431 | </plugin> |
| 432 | |
| 433 | <plugin> |
| 434 | <groupId>org.apache.maven.plugins</groupId> |
| 435 | <artifactId>maven-failsafe-plugin</artifactId> |
| 436 | </plugin> |
| 437 | |
| 438 | <plugin> |
| 439 | <groupId>org.apache.maven.plugins</groupId> |
| 440 | <artifactId>maven-source-plugin</artifactId> |
| 441 | </plugin> |
| 442 | |
| 443 | <plugin> |
| 444 | <groupId>org.apache.maven.plugins</groupId> |
| 445 | <artifactId>maven-javadoc-plugin</artifactId> |
| 446 | </plugin> |
| 447 | |
wasala | 96481e0 | 2018-05-16 15:17:56 +0200 | [diff] [blame] | 448 | <plugin> |
| 449 | <groupId>org.jacoco</groupId> |
| 450 | <artifactId>jacoco-maven-plugin</artifactId> |
| 451 | </plugin> |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 452 | </plugins> |
| 453 | </build> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 454 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 455 | <reporting> |
| 456 | <plugins> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 457 | |
| 458 | <plugin> |
| 459 | <groupId>org.apache.maven.plugins</groupId> |
| 460 | <artifactId>maven-site-plugin</artifactId> |
| 461 | </plugin> |
| 462 | |
| 463 | <plugin> |
| 464 | <groupId>org.apache.maven.plugins</groupId> |
| 465 | <artifactId>maven-jxr-plugin</artifactId> |
| 466 | </plugin> |
| 467 | |
| 468 | <plugin> |
| 469 | <groupId>org.apache.maven.plugins</groupId> |
| 470 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 471 | </plugin> |
| 472 | |
| 473 | <plugin> |
| 474 | <groupId>org.apache.maven.plugins</groupId> |
| 475 | <artifactId>maven-surefire-report-plugin</artifactId> |
| 476 | </plugin> |
| 477 | |
wasala | ec0cf09 | 2018-03-21 14:19:43 +0100 | [diff] [blame] | 478 | <plugin> |
| 479 | <groupId>org.apache.maven.plugins</groupId> |
| 480 | <artifactId>maven-javadoc-plugin</artifactId> |
| 481 | <version>2.10.4</version> |
| 482 | <configuration> |
| 483 | <failOnError>false</failOnError> |
| 484 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 485 | <docletArtifact> |
| 486 | <groupId>org.umlgraph</groupId> |
| 487 | <artifactId>umlgraph</artifactId> |
| 488 | <version>5.6</version> |
| 489 | </docletArtifact> |
| 490 | <additionalparam>-views</additionalparam> |
| 491 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 492 | </configuration> |
| 493 | </plugin> |
| 494 | </plugins> |
| 495 | </reporting> |
wasala | 2c378ea | 2018-03-21 16:42:36 -0400 | [diff] [blame] | 496 | |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 497 | <dependencyManagement> |
| 498 | <dependencies> |
| 499 | |
| 500 | <!-- DEVELOPMENT TOOLS DEPENDENCIES --> |
| 501 | <dependency> |
| 502 | <groupId>org.immutables</groupId> |
| 503 | <artifactId>value</artifactId> |
| 504 | <version>${immutable.version}</version> |
| 505 | <scope>provided</scope> |
| 506 | </dependency> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 507 | <dependency> |
wasala | b196f93 | 2018-04-17 12:25:54 +0200 | [diff] [blame] | 508 | <groupId>org.immutables</groupId> |
| 509 | <artifactId>gson</artifactId> |
| 510 | <version>${immutable.version}</version> |
| 511 | </dependency> |
| 512 | <dependency> |
wasala | 5fbcb63 | 2018-04-18 15:21:56 +0200 | [diff] [blame] | 513 | <groupId>io.projectreactor</groupId> |
| 514 | <artifactId>reactor-bom</artifactId> |
| 515 | <version>Bismuth-RELEASE</version> |
| 516 | <type>pom</type> |
| 517 | <scope>import</scope> |
| 518 | </dependency> |
| 519 | <dependency> |
wasala | 112044f | 2018-03-28 20:08:54 +0200 | [diff] [blame] | 520 | <groupId>com.spotify</groupId> |
| 521 | <artifactId>docker-maven-plugin</artifactId> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 522 | <version>${docker.maven.version}</version> |
| 523 | </dependency> |
| 524 | <dependency> |
wasala | 44ce56c | 2018-05-08 13:48:44 +0200 | [diff] [blame] | 525 | <groupId>org.apache.maven.plugins</groupId> |
| 526 | <artifactId>maven-resources-plugin</artifactId> |
| 527 | <version>${resource.maven.plugin.version}</version> |
| 528 | </dependency> |
| 529 | <dependency> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 530 | <groupId>org.bouncycastle</groupId> |
| 531 | <artifactId>bcprov-jdk15on</artifactId> |
| 532 | <version>1.59</version> |
| 533 | </dependency> |
| 534 | <dependency> |
| 535 | <groupId>org.bouncycastle</groupId> |
| 536 | <artifactId>bcpkix-jdk15on</artifactId> |
| 537 | <version>1.59</version> |
| 538 | </dependency> |
| 539 | <dependency> |
| 540 | <groupId>org.codehaus.plexus</groupId> |
| 541 | <artifactId>plexus-utils</artifactId> |
| 542 | <version>3.1.0</version> |
| 543 | </dependency> |
| 544 | <dependency> |
wasala | 3c2e8c9 | 2018-04-12 13:37:41 +0200 | [diff] [blame] | 545 | <groupId>org.apache.httpcomponents</groupId> |
| 546 | <artifactId>httpclient</artifactId> |
| 547 | <version>4.5.4</version> |
| 548 | </dependency> |
| 549 | <dependency> |
wasala | 3c2e8c9 | 2018-04-12 13:37:41 +0200 | [diff] [blame] | 550 | <groupId>org.apache.commons</groupId> |
| 551 | <artifactId>commons-lang3</artifactId> |
| 552 | <version>3.6</version> |
| 553 | </dependency> |
| 554 | <dependency> |
| 555 | <groupId>org.springframework</groupId> |
| 556 | <artifactId>spring-beans</artifactId> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 557 | <version>5.0.5.RELEASE</version> |
| 558 | </dependency> |
| 559 | <dependency> |
| 560 | <groupId>org.springframework</groupId> |
| 561 | <artifactId>spring-context</artifactId> |
| 562 | <version>5.0.5.RELEASE</version> |
wasala | 3c2e8c9 | 2018-04-12 13:37:41 +0200 | [diff] [blame] | 563 | </dependency> |
| 564 | <dependency> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 565 | <groupId>org.apache.tomcat.embed</groupId> |
| 566 | <artifactId>tomcat-embed-core</artifactId> |
| 567 | <version>${tomcat.version}</version> |
| 568 | </dependency> |
| 569 | <dependency> |
| 570 | <groupId>org.apache.tomcat.embed</groupId> |
| 571 | <artifactId>tomcat-embed-el</artifactId> |
| 572 | <version>${tomcat.version}</version> |
| 573 | </dependency> |
| 574 | <dependency> |
| 575 | <groupId>org.apache.tomcat.embed</groupId> |
| 576 | <artifactId>tomcat-embed-websocket</artifactId> |
| 577 | <version>${tomcat.version}</version> |
wasala | 3c2e8c9 | 2018-04-12 13:37:41 +0200 | [diff] [blame] | 578 | </dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 579 | |
| 580 | <!-- LOGGING dependencies> --> |
| 581 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 582 | <groupId>ch.qos.logback</groupId> |
| 583 | <artifactId>logback-classic</artifactId> |
| 584 | <version>${logback.version}</version> |
| 585 | <scope>provided</scope> |
| 586 | </dependency> |
wasala | d8e4e88 | 2018-03-28 14:20:58 +0200 | [diff] [blame] | 587 | <dependency> |
| 588 | <groupId>org.slf4j</groupId> |
| 589 | <artifactId>jul-to-slf4j</artifactId> |
| 590 | <version>1.7.25</version> |
| 591 | </dependency> |
| 592 | <dependency> |
| 593 | <groupId>org.slf4j</groupId> |
| 594 | <artifactId>log4j-over-slf4j</artifactId> |
| 595 | <version>1.7.25</version> |
| 596 | </dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 597 | |
| 598 | <!-- TESTING TOOLS DEPENDENCIES --> |
| 599 | <dependency> |
| 600 | <groupId>org.junit.jupiter</groupId> |
| 601 | <artifactId>junit-jupiter-api</artifactId> |
| 602 | <version>${junit.jupiter.version}</version> |
| 603 | <scope>test</scope> |
| 604 | </dependency> |
| 605 | <dependency> |
| 606 | <groupId>junit</groupId> |
| 607 | <artifactId>junit</artifactId> |
| 608 | <version>${junit.version}</version> |
| 609 | <scope>test</scope> |
| 610 | </dependency> |
| 611 | <dependency> |
| 612 | <groupId>org.junit.jupiter</groupId> |
| 613 | <artifactId>junit-jupiter-engine</artifactId> |
| 614 | <version>${junit.jupiter.version}</version> |
| 615 | <scope>test</scope> |
| 616 | </dependency> |
| 617 | <dependency> |
| 618 | <groupId>org.junit.vintage</groupId> |
| 619 | <artifactId>junit-vintage-engine</artifactId> |
| 620 | <version>${junit.vintage.version}</version> |
| 621 | <scope>test</scope> |
| 622 | </dependency> |
| 623 | <dependency> |
| 624 | <groupId>org.springframework</groupId> |
| 625 | <artifactId>spring-test</artifactId> |
| 626 | <version>5.0.4.RELEASE</version> |
| 627 | <scope>test</scope> |
| 628 | </dependency> |
| 629 | <dependency> |
| 630 | <groupId>org.mockito</groupId> |
| 631 | <artifactId>mockito-core</artifactId> |
| 632 | <version>2.16.0</version> |
| 633 | <scope>test</scope> |
| 634 | </dependency> |
| 635 | <dependency> |
| 636 | <groupId>org.testng</groupId> |
| 637 | <artifactId>testng</artifactId> |
| 638 | <version>6.14.2</version> |
| 639 | <scope>test</scope> |
| 640 | </dependency> |
| 641 | <dependency> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 642 | <groupId>org.glassfish.jersey.connectors</groupId> |
| 643 | <artifactId>jersey-apache-connector</artifactId> |
| 644 | <version>2.25.1</version> |
| 645 | <scope>test</scope> |
| 646 | </dependency> |
| 647 | <dependency> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 648 | <groupId>org.springframework.boot</groupId> |
| 649 | <artifactId>spring-boot-starter-test</artifactId> |
wasala | b0ef045 | 2018-04-16 09:52:34 +0200 | [diff] [blame] | 650 | <version>2.0.1.RELEASE</version> |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 651 | <scope>test</scope> |
| 652 | </dependency> |
| 653 | |
micdzied | 7e7aa0c | 2018-05-07 08:42:44 +0200 | [diff] [blame] | 654 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 655 | <dependency> |
| 656 | <groupId>io.springfox</groupId> |
| 657 | <artifactId>springfox-swagger2</artifactId> |
| 658 | <version>2.8.0</version> |
| 659 | </dependency> |
| 660 | <dependency> |
| 661 | <groupId>io.springfox</groupId> |
| 662 | <artifactId>springfox-swagger-ui</artifactId> |
| 663 | <version>2.8.0</version> |
| 664 | </dependency> |
| 665 | |
wasala | 961af3e | 2018-03-27 13:02:10 +0200 | [diff] [blame] | 666 | <!-- ONLY REQUIRED TO RUN TESTS IN AN IDE THAT BUNDLES AN OLDER VERSION --> |
| 667 | <dependency> |
| 668 | <groupId>org.junit.platform</groupId> |
| 669 | <artifactId>junit-platform-launcher</artifactId> |
| 670 | <version>${junit.platform.version}</version> |
| 671 | <scope>test</scope> |
| 672 | </dependency> |
| 673 | |
| 674 | </dependencies> |
| 675 | </dependencyManagement> |
| 676 | |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 677 | <modules> |
| 678 | <module>prh-app-server</module> |
| 679 | <module>prh-aai-client</module> |
| 680 | <module>prh-dmaap-client</module> |
pwielebs | a393ae3 | 2018-05-07 16:58:20 +0200 | [diff] [blame] | 681 | <module>prh-commons</module> |
wasala | b80bcb8 | 2018-03-26 15:48:46 +0200 | [diff] [blame] | 682 | </modules> |
Lusheng Ji | 44fb171 | 2018-03-21 16:42:36 -0400 | [diff] [blame] | 683 | </project> |
wasala | 2c378ea | 2018-03-21 16:42:36 -0400 | [diff] [blame] | 684 | |