blob: 2d1ca72ae5e29f91a4903f3d364c6e9215eef796 [file] [log] [blame]
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +01001<?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"
EmmettCox153a7ac2020-02-17 13:54:05 +000016 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010017 <modelVersion>4.0.0</modelVersion>
18 <parent>
Bartosz Gardziejewskibeecacb2020-02-13 07:31:47 +010019 <groupId>org.onap.aaf.certservice</groupId>
Bartosz Gardziejewski5d71eb72020-02-13 08:17:55 +010020 <artifactId>aaf-certservice</artifactId>
Bogumil Zebek39e05152020-04-16 14:28:21 +020021 <version>1.0.1-SNAPSHOT</version>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010022 </parent>
Bartosz Gardziejewski5d71eb72020-02-13 08:17:55 +010023 <artifactId>aaf-certservice-api</artifactId>
Bogumil Zebek39e05152020-04-16 14:28:21 +020024 <version>1.0.1-SNAPSHOT</version>
Bartosz Gardziejewski5d71eb72020-02-13 08:17:55 +010025 <name>aaf-certservice-api</name>
26 <description>AAF Certification Service Api</description>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010027 <packaging>jar</packaging>
28
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010029 <dependencies>
30 <dependency>
31 <groupId>org.springframework.boot</groupId>
32 <artifactId>spring-boot-starter-web</artifactId>
Pawel Kasperkiewicz68016582020-02-06 11:54:06 +010033 </dependency>
34 <dependency>
35 <groupId>org.springframework.boot</groupId>
36 <artifactId>spring-boot-starter-log4j2</artifactId>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010037 </dependency>
38 <dependency>
39 <groupId>org.springframework.boot</groupId>
40 <artifactId>spring-boot-starter-test</artifactId>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010041 </dependency>
42 <dependency>
43 <groupId>org.mockito</groupId>
44 <artifactId>mockito-core</artifactId>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010045 </dependency>
Paweldb979302020-02-05 11:24:54 +010046 <dependency>
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-starter-actuator</artifactId>
Paweldb979302020-02-05 11:24:54 +010049 </dependency>
Bartosz Gardziejewski4dd87392020-02-07 08:27:34 +010050 <dependency>
51 <groupId>org.springdoc</groupId>
52 <artifactId>springdoc-openapi-ui</artifactId>
Bartosz Gardziejewski4dd87392020-02-07 08:27:34 +010053 </dependency>
Bartosz Gardziejewskibddd4f02020-02-11 13:27:08 +010054 <dependency>
55 <groupId>org.bouncycastle</groupId>
56 <artifactId>bcpkix-jdk15on</artifactId>
Bartosz Gardziejewskibddd4f02020-02-11 13:27:08 +010057 </dependency>
58 <dependency>
59 <groupId>org.bouncycastle</groupId>
60 <artifactId>bcprov-jdk15on</artifactId>
Bartosz Gardziejewskibddd4f02020-02-11 13:27:08 +010061 </dependency>
Bartosz Gardziejewski1d900882020-02-12 11:53:42 +010062 <dependency>
63 <groupId>com.google.code.gson</groupId>
64 <artifactId>gson</artifactId>
kjaniak8209f7c2020-02-14 14:33:27 +010065 </dependency>
66 <dependency>
67 <groupId>org.assertj</groupId>
68 <artifactId>assertj-core</artifactId>
Bartosz Gardziejewski1d900882020-02-12 11:53:42 +010069 </dependency>
EmmettCox153a7ac2020-02-17 13:54:05 +000070 <dependency>
71 <groupId>org.apache.httpcomponents</groupId>
72 <artifactId>httpclient</artifactId>
73 </dependency>
74 <dependency>
75 <groupId>commons-io</groupId>
76 <artifactId>commons-io</artifactId>
77 </dependency>
Tomasz Golabek7244c902020-02-21 15:49:34 +010078 <dependency>
79 <groupId>org.springframework.cloud</groupId>
80 <artifactId>spring-cloud-starter-config</artifactId>
81 <version>${spring-cloud-starter-config.version}</version>
82 </dependency>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010083 </dependencies>
84
85 <build>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010086 <plugins>
87 <plugin>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-maven-plugin</artifactId>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010090 </plugin>
91 <plugin>
kjaniak6e2234c2020-02-17 23:04:25 +010092 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-surefire-plugin</artifactId>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010097 <artifactId>maven-javadoc-plugin</artifactId>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +010098 </plugin>
Bartosz Gardziejewskic88b66b2020-02-12 07:49:02 +010099 <plugin>
100 <groupId>org.springdoc</groupId>
101 <artifactId>springdoc-openapi-maven-plugin</artifactId>
Bartosz Gardziejewskic88b66b2020-02-12 07:49:02 +0100102 </plugin>
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +0100103 </plugins>
104 </build>
105
Pawel8b1072c2020-02-10 13:03:38 +0100106 <profiles>
107 <profile>
Aleksandra Maciaga6e45f9f2020-02-17 16:01:58 +0100108 <id>dev</id>
109 <dependencies>
110 <dependency>
111 <groupId>org.springframework.boot</groupId>
112 <artifactId>spring-boot-devtools</artifactId>
113 <optional>true</optional>
114 </dependency>
115 </dependencies>
116 </profile>
117 <profile>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100118 <id>docker-staging</id>
119 <properties>
120 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
121 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
122 </properties>
123 </profile>
124
125 <profile>
Pawel8b1072c2020-02-10 13:03:38 +0100126 <id>docker</id>
127 <activation>
128 <activeByDefault>false</activeByDefault>
129 </activation>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100130 <properties>
131 <os.detected.name>linux</os.detected.name>
132 <os.detected.arch>x86_64</os.detected.arch>
133 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
134 </properties>
Pawel8b1072c2020-02-10 13:03:38 +0100135 <build>
136 <plugins>
137 <plugin>
138 <groupId>io.fabric8</groupId>
139 <artifactId>docker-maven-plugin</artifactId>
Tomasz Golabekce778052020-02-14 09:14:05 +0100140 <version>${docker-maven-plugin.version}</version>
Pawel8b1072c2020-02-10 13:03:38 +0100141 <executions>
142 <execution>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100143 <id>docker-build-image</id>
144 <phase>package</phase>
Pawel8b1072c2020-02-10 13:03:38 +0100145 <goals>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100146 <goal>build</goal>
Pawel8b1072c2020-02-10 13:03:38 +0100147 </goals>
148 </execution>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100149 <execution>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100150 <id>docker-push-image</id>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100151 <phase>deploy</phase>
152 <goals>
153 <goal>push</goal>
154 </goals>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100155 </execution>
Pawel8b1072c2020-02-10 13:03:38 +0100156 </executions>
157 <configuration>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100158 <skipPush>${skipDockerPush}</skipPush>
159 <verbose>true</verbose>
160 <imagePullPolicy>IfNotPresent</imagePullPolicy>
Pawel8b1072c2020-02-10 13:03:38 +0100161 <images>
162 <image>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100163 <alias>${project.artifactId}</alias>
164 <name>${docker-image.namespace}/${docker-image.name}
165 </name>
166 <registry>${docker-image.registry}</registry>
Pawel8b1072c2020-02-10 13:03:38 +0100167 <build>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100168 <dockerFileDir>${project.basedir}</dockerFileDir>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100169 <tags>
Tomasz Golabek3b554792020-02-13 12:07:35 +0100170 <tag>${project.version}-${maven.build.timestamp}Z</tag>
Tomasz Golabekb9dabed2020-02-11 09:12:09 +0100171 </tags>
Pawel8b1072c2020-02-10 13:03:38 +0100172 </build>
Pawel8b1072c2020-02-10 13:03:38 +0100173 </image>
174 </images>
175 </configuration>
176 </plugin>
177 </plugins>
178 </build>
179 </profile>
180 </profiles>
Tomasz Golabek3b531c02020-02-12 08:56:23 +0100181
182 <distributionManagement>
183 <repository>
184 <id>ecomp-releases</id>
185 <name>AAF Release Repository</name>
186 <url>${nexusproxy}${releaseNexusPath}</url>
187 </repository>
188 <snapshotRepository>
189 <id>ecomp-snapshots</id>
190 <name>AAF Snapshot Repository</name>
191 <url>${nexusproxy}${snapshotNexusPath}</url>
192 </snapshotRepository>
193 <site>
194 <id>ecomp-site</id>
195 <url>dav:${nexusproxy}${sitePath}</url>
196 </site>
197 </distributionManagement>
198
Pawel Kasperkiewicz50f42bd2020-02-04 14:21:29 +0100199</project>