| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ================================================================================ |
| Copyright (c) 2020 Nokia. All rights reserved. |
| ================================================================================ |
| Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License. You may obtain a copy |
| of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| by applicable law or agreed to in writing, software distributed under the |
| License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| OF ANY KIND, either express or implied. See the License for the specific |
| language governing permissions and limitations under the License. |
| ============LICENSE_END========================================================= |
| --> |
| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.onap.oparent</groupId> |
| <artifactId>oparent</artifactId> |
| <version>3.0.0</version> |
| </parent> |
| <groupId>org.onap.aaf.certservice</groupId> |
| <artifactId>aaf-certservice</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <name>aaf-certservice</name> |
| <description>AAF Certification Service</description> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <nexusproxy>https://nexus.onap.org</nexusproxy> |
| <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| <sitePath>/content/sites/site/org/onap/aaf/cert-service/${project.artifactId}/${project.version}</sitePath> |
| <java.version>11</java.version> |
| <springdoc-openapi-maven-plugin.apiDocsUrl>http://localhost:8080/v3/api-docs.yaml</springdoc-openapi-maven-plugin.apiDocsUrl> |
| |
| <!-- Dependencies --> |
| <assertj-core.version>3.15.0</assertj-core.version> |
| <mockito-core.version>3.2.4</mockito-core.version> |
| <spring-core.version>5.2.3.RELEASE</spring-core.version> |
| <spring-boot-starter.version>2.2.4.RELEASE</spring-boot-starter.version> |
| <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version> |
| <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version> |
| <spring-boot-starter-actuator.version>2.2.4.RELEASE</spring-boot-starter-actuator.version> |
| <spring-boot-starter-log4j2.version>2.1.5.RELEASE</spring-boot-starter-log4j2.version> |
| <spring-cloud-starter-config.version>2.2.1.RELEASE</spring-cloud-starter-config.version> |
| <springdoc-openapi-ui.version>1.2.30</springdoc-openapi-ui.version> |
| <bouncycastle.version>1.60</bouncycastle.version> |
| <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version> |
| <springdoc-openapi-maven-plugin.version>0.2</springdoc-openapi-maven-plugin.version> |
| <gson.version>2.8.6</gson.version> |
| <httpcomponents.version>4.5.6</httpcomponents.version> |
| <commons-lang3.version>3.9</commons-lang3.version> |
| <commons-io.version>2.6</commons-io.version> |
| <docker-maven-plugin.version>0.33.0</docker-maven-plugin.version> |
| <junit.version>5.5.2</junit.version> |
| <mockito-junit-jupiter.version>2.17.0</mockito-junit-jupiter.version> |
| |
| <!-- Docker --> |
| <skipDockerPush>true</skipDockerPush> |
| <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> |
| <maven-shade-plugin.version>3.2.2</maven-shade-plugin.version> |
| <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry> |
| <docker-image.namespace>onap</docker-image.namespace> |
| <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name> |
| <docker-image.latest>${project.version}</docker-image.latest> |
| <version>${project.version}</version> |
| <docker.http_proxy/> |
| |
| </properties> |
| |
| <modules> |
| <module>certService</module> |
| <module>certServiceClient</module> |
| </modules> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.springdoc</groupId> |
| <artifactId>springdoc-openapi-maven-plugin</artifactId> |
| <version>${springdoc-openapi-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <apiDocsUrl>${springdoc-openapi-maven-plugin.apiDocsUrl}</apiDocsUrl> |
| <outputFileName>api-docs.yaml</outputFileName> |
| <outputDir>${project.build.directory}</outputDir> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <version>${spring-boot-starter.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>repackage</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>pre-integration-test</id> |
| <goals> |
| <goal>start</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>post-integration-test</id> |
| <goals> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin.version}</version> |
| <configuration> |
| <quiet>true</quiet> |
| <verbose>false</verbose> |
| <useStandardDocletOptions>false</useStandardDocletOptions> |
| <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
| </configuration> |
| <executions> |
| <execution> |
| <id>aggregate</id> |
| <phase>site</phase> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>attach-javadoc</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin.version}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <distributionManagement> |
| <repository> |
| <id>ecomp-releases</id> |
| <name>AAF Release Repository</name> |
| <url>${nexusproxy}${releaseNexusPath}</url> |
| </repository> |
| <snapshotRepository> |
| <id>ecomp-snapshots</id> |
| <name>AAF Snapshot Repository</name> |
| <url>${nexusproxy}${snapshotNexusPath}</url> |
| </snapshotRepository> |
| <site> |
| <id>ecomp-site</id> |
| <url>dav:${nexusproxy}${sitePath}</url> |
| </site> |
| </distributionManagement> |
| |
| <dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| <version>${spring-boot-starter.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-log4j2</artifactId> |
| <version>${spring-boot-starter-log4j2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <version>${spring-boot-starter.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.junit.vintage</groupId> |
| <artifactId>junit-vintage-engine</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-actuator</artifactId> |
| <version>${spring-boot-starter-actuator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springdoc</groupId> |
| <artifactId>springdoc-openapi-ui</artifactId> |
| <version>${springdoc-openapi-ui.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcpkix-jdk15on</artifactId> |
| <version>${bouncycastle.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk15on</artifactId> |
| <version>${bouncycastle.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpcomponents.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang3.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io.version}</version> |
| </dependency> |
| <dependency> |
| <!-- Import dependency management from Spring Boot --> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring-boot-starter.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <!-- Test dependecies --> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj-core.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito-core.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <version>${mockito-junit-jupiter.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| </project> |