Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ================================================================================ |
| 4 | Copyright (c) 2020 Nokia. All rights reserved. |
| 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 7 | use this file except in compliance with the License. You may obtain a copy |
| 8 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 9 | by applicable law or agreed to in writing, software distributed under the |
| 10 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 11 | OF ANY KIND, either express or implied. See the License for the specific |
| 12 | language governing permissions and limitations under the License. |
| 13 | ============LICENSE_END========================================================= |
| 14 | --> |
| 15 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 16 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 17 | <modelVersion>4.0.0</modelVersion> |
| 18 | <parent> |
Bartosz Gardziejewski | beecacb | 2020-02-13 07:31:47 +0100 | [diff] [blame] | 19 | <groupId>org.onap.aaf.certservice</groupId> |
Bartosz Gardziejewski | 5d71eb7 | 2020-02-13 08:17:55 +0100 | [diff] [blame] | 20 | <artifactId>aaf-certservice</artifactId> |
Bartosz Gardziejewski | dd700fc | 2020-02-13 08:44:03 +0100 | [diff] [blame] | 21 | <version>1.0.0-SNAPSHOT</version> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 22 | </parent> |
Bartosz Gardziejewski | 5d71eb7 | 2020-02-13 08:17:55 +0100 | [diff] [blame] | 23 | <artifactId>aaf-certservice-api</artifactId> |
Bartosz Gardziejewski | dd700fc | 2020-02-13 08:44:03 +0100 | [diff] [blame] | 24 | <version>1.0.0-SNAPSHOT</version> |
Bartosz Gardziejewski | 5d71eb7 | 2020-02-13 08:17:55 +0100 | [diff] [blame] | 25 | <name>aaf-certservice-api</name> |
| 26 | <description>AAF Certification Service Api</description> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 27 | <packaging>jar</packaging> |
| 28 | |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 29 | <dependencies> |
| 30 | <dependency> |
| 31 | <groupId>org.springframework.boot</groupId> |
| 32 | <artifactId>spring-boot-starter-web</artifactId> |
Pawel Kasperkiewicz | 6801658 | 2020-02-06 11:54:06 +0100 | [diff] [blame] | 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.springframework.boot</groupId> |
| 36 | <artifactId>spring-boot-starter-log4j2</artifactId> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.springframework.boot</groupId> |
| 40 | <artifactId>spring-boot-starter-test</artifactId> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>org.mockito</groupId> |
| 44 | <artifactId>mockito-core</artifactId> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 45 | </dependency> |
Pawel | db97930 | 2020-02-05 11:24:54 +0100 | [diff] [blame] | 46 | <dependency> |
| 47 | <groupId>org.springframework.boot</groupId> |
| 48 | <artifactId>spring-boot-starter-actuator</artifactId> |
Pawel | db97930 | 2020-02-05 11:24:54 +0100 | [diff] [blame] | 49 | </dependency> |
Bartosz Gardziejewski | 4dd8739 | 2020-02-07 08:27:34 +0100 | [diff] [blame] | 50 | <dependency> |
| 51 | <groupId>org.springdoc</groupId> |
| 52 | <artifactId>springdoc-openapi-ui</artifactId> |
Bartosz Gardziejewski | 4dd8739 | 2020-02-07 08:27:34 +0100 | [diff] [blame] | 53 | </dependency> |
Bartosz Gardziejewski | bddd4f0 | 2020-02-11 13:27:08 +0100 | [diff] [blame] | 54 | <dependency> |
| 55 | <groupId>org.bouncycastle</groupId> |
| 56 | <artifactId>bcpkix-jdk15on</artifactId> |
Bartosz Gardziejewski | bddd4f0 | 2020-02-11 13:27:08 +0100 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.bouncycastle</groupId> |
| 60 | <artifactId>bcprov-jdk15on</artifactId> |
Bartosz Gardziejewski | bddd4f0 | 2020-02-11 13:27:08 +0100 | [diff] [blame] | 61 | </dependency> |
Bartosz Gardziejewski | 1d90088 | 2020-02-12 11:53:42 +0100 | [diff] [blame] | 62 | <dependency> |
| 63 | <groupId>com.google.code.gson</groupId> |
| 64 | <artifactId>gson</artifactId> |
kjaniak | 8209f7c | 2020-02-14 14:33:27 +0100 | [diff] [blame] | 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.assertj</groupId> |
| 68 | <artifactId>assertj-core</artifactId> |
Bartosz Gardziejewski | 1d90088 | 2020-02-12 11:53:42 +0100 | [diff] [blame] | 69 | </dependency> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 70 | </dependencies> |
| 71 | |
| 72 | <build> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 73 | <plugins> |
| 74 | <plugin> |
| 75 | <groupId>org.springframework.boot</groupId> |
| 76 | <artifactId>spring-boot-maven-plugin</artifactId> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 77 | </plugin> |
| 78 | <plugin> |
kjaniak | 6e2234c | 2020-02-17 23:04:25 +0100 | [diff] [blame^] | 79 | <groupId>org.apache.maven.plugins</groupId> |
| 80 | <artifactId>maven-surefire-plugin</artifactId> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 84 | <artifactId>maven-javadoc-plugin</artifactId> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 85 | </plugin> |
Bartosz Gardziejewski | c88b66b | 2020-02-12 07:49:02 +0100 | [diff] [blame] | 86 | <plugin> |
| 87 | <groupId>org.springdoc</groupId> |
| 88 | <artifactId>springdoc-openapi-maven-plugin</artifactId> |
Bartosz Gardziejewski | c88b66b | 2020-02-12 07:49:02 +0100 | [diff] [blame] | 89 | </plugin> |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 90 | </plugins> |
| 91 | </build> |
| 92 | |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 93 | <profiles> |
| 94 | <profile> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 95 | <id>docker-staging</id> |
| 96 | <properties> |
| 97 | <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag> |
| 98 | <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag> |
| 99 | </properties> |
| 100 | </profile> |
| 101 | |
| 102 | <profile> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 103 | <id>docker</id> |
| 104 | <activation> |
| 105 | <activeByDefault>false</activeByDefault> |
| 106 | </activation> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 107 | <properties> |
| 108 | <os.detected.name>linux</os.detected.name> |
| 109 | <os.detected.arch>x86_64</os.detected.arch> |
| 110 | <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier> |
| 111 | </properties> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 112 | <build> |
| 113 | <plugins> |
| 114 | <plugin> |
| 115 | <groupId>io.fabric8</groupId> |
| 116 | <artifactId>docker-maven-plugin</artifactId> |
Tomasz Golabek | ce77805 | 2020-02-14 09:14:05 +0100 | [diff] [blame] | 117 | <version>${docker-maven-plugin.version}</version> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 118 | <executions> |
| 119 | <execution> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 120 | <id>docker-build-image</id> |
| 121 | <phase>package</phase> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 122 | <goals> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 123 | <goal>build</goal> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 124 | </goals> |
| 125 | </execution> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 126 | <execution> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 127 | <id>docker-push-image</id> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 128 | <phase>deploy</phase> |
| 129 | <goals> |
| 130 | <goal>push</goal> |
| 131 | </goals> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 132 | </execution> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 133 | </executions> |
| 134 | <configuration> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 135 | <skipPush>${skipDockerPush}</skipPush> |
| 136 | <verbose>true</verbose> |
| 137 | <imagePullPolicy>IfNotPresent</imagePullPolicy> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 138 | <images> |
| 139 | <image> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 140 | <alias>${project.artifactId}</alias> |
| 141 | <name>${docker-image.namespace}/${docker-image.name} |
| 142 | </name> |
| 143 | <registry>${docker-image.registry}</registry> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 144 | <build> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 145 | <dockerFileDir>${project.basedir}</dockerFileDir> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 146 | <tags> |
Tomasz Golabek | 3b55479 | 2020-02-13 12:07:35 +0100 | [diff] [blame] | 147 | <tag>${project.version}-${maven.build.timestamp}Z</tag> |
| 148 | <tag>${project.version}</tag> |
| 149 | <tag>${docker-image.latest}</tag> |
Tomasz Golabek | b9dabed | 2020-02-11 09:12:09 +0100 | [diff] [blame] | 150 | </tags> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 151 | </build> |
Pawel | 8b1072c | 2020-02-10 13:03:38 +0100 | [diff] [blame] | 152 | </image> |
| 153 | </images> |
| 154 | </configuration> |
| 155 | </plugin> |
| 156 | </plugins> |
| 157 | </build> |
| 158 | </profile> |
| 159 | </profiles> |
Tomasz Golabek | 3b531c0 | 2020-02-12 08:56:23 +0100 | [diff] [blame] | 160 | |
| 161 | <distributionManagement> |
| 162 | <repository> |
| 163 | <id>ecomp-releases</id> |
| 164 | <name>AAF Release Repository</name> |
| 165 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 166 | </repository> |
| 167 | <snapshotRepository> |
| 168 | <id>ecomp-snapshots</id> |
| 169 | <name>AAF Snapshot Repository</name> |
| 170 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 171 | </snapshotRepository> |
| 172 | <site> |
| 173 | <id>ecomp-site</id> |
| 174 | <url>dav:${nexusproxy}${sitePath}</url> |
| 175 | </site> |
| 176 | </distributionManagement> |
| 177 | |
Pawel Kasperkiewicz | 50f42bd | 2020-02-04 14:21:29 +0100 | [diff] [blame] | 178 | </project> |