[CLIENT] Change certService client to use comma as SANS delimiter
[oom/platform/cert-service.git] / certServiceClient / pom.xml
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"
16          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18     <parent>
19         <artifactId>oom-certservice</artifactId>
20         <groupId>org.onap.oom.platform.cert-service</groupId>
21         <version>2.3.0-SNAPSHOT</version>
22     </parent>
23     <modelVersion>4.0.0</modelVersion>
24
25     <artifactId>oom-certservice-client</artifactId>
26     <version>2.3.0-SNAPSHOT</version>
27     <name>oom-certservice-client</name>
28     <description>OOM Certification Service Api Client</description>
29     <packaging>jar</packaging>
30
31     <build>
32         <plugins>
33             <plugin>
34                 <groupId>org.apache.maven.plugins</groupId>
35                 <artifactId>maven-surefire-plugin</artifactId>
36             </plugin>
37         </plugins>
38     </build>
39
40     <profiles>
41         <profile>
42             <id>docker-staging</id>
43             <properties>
44                 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
45                 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
46             </properties>
47         </profile>
48
49         <profile>
50             <id>docker</id>
51             <activation>
52                 <activeByDefault>false</activeByDefault>
53             </activation>
54             <properties>
55                 <os.detected.name>linux</os.detected.name>
56                 <os.detected.arch>x86_64</os.detected.arch>
57                 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
58             </properties>
59             <build>
60                 <plugins>
61                     <plugin>
62                         <groupId>org.apache.maven.plugins</groupId>
63                         <artifactId>maven-shade-plugin</artifactId>
64                         <version>${maven-shade-plugin.version}</version>
65                         <executions>
66                             <execution>
67                                 <phase>package</phase>
68                                 <goals>
69                                     <goal>shade</goal>
70                                 </goals>
71                                 <configuration>
72                                     <createDependencyReducedPom>false</createDependencyReducedPom>
73                                     <filters>
74                                         <filter>
75                                             <artifact>*:*</artifact>
76                                             <excludes>
77                                                 <exclude>META-INF/*.SF</exclude>
78                                                 <exclude>META-INF/*.DSA</exclude>
79                                                 <exclude>META-INF/*.RSA</exclude>
80                                             </excludes>
81                                         </filter>
82                                     </filters>
83                                     <transformers>
84                                         <transformer
85                                                 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
86                                             <mainClass>org.onap.oom.certservice.client.MainApp</mainClass>
87                                         </transformer>
88                                     </transformers>
89                                 </configuration>
90                             </execution>
91                         </executions>
92                     </plugin>
93                     <plugin>
94                         <groupId>io.fabric8</groupId>
95                         <artifactId>docker-maven-plugin</artifactId>
96                         <version>${docker-maven-plugin.version}</version>
97                         <executions>
98                             <execution>
99                                 <id>docker-build-image</id>
100                                 <phase>package</phase>
101                                 <goals>
102                                     <goal>build</goal>
103                                 </goals>
104                             </execution>
105                             <execution>
106                                 <id>docker-push-image</id>
107                                 <phase>deploy</phase>
108                                 <goals>
109                                     <goal>push</goal>
110                                 </goals>
111                             </execution>
112                         </executions>
113                         <configuration>
114                             <skipPush>${skipDockerPush}</skipPush>
115                             <verbose>true</verbose>
116                             <imagePullPolicy>IfNotPresent</imagePullPolicy>
117                             <images>
118                                 <image>
119                                     <alias>${project.artifactId}</alias>
120                                     <name>${docker-image.namespace}/${docker-image.name}:${docker-image.tag.latest}
121                                     </name>
122                                     <registry>${docker-image.registry}</registry>
123                                     <build>
124                                         <dockerFileDir>${project.basedir}</dockerFileDir>
125                                         <tags>
126                                             <tag>${project.version}-${maven.build.timestamp}Z</tag>
127                                         </tags>
128                                     </build>
129                                 </image>
130                             </images>
131                         </configuration>
132                     </plugin>
133                 </plugins>
134             </build>
135         </profile>
136     </profiles>
137
138     <distributionManagement>
139         <repository>
140             <id>ecomp-releases</id>
141             <name>OOM Release Repository</name>
142             <url>${nexusproxy}${releaseNexusPath}</url>
143         </repository>
144         <snapshotRepository>
145             <id>ecomp-snapshots</id>
146             <name>OOM Snapshot Repository</name>
147             <url>${nexusproxy}${snapshotNexusPath}</url>
148         </snapshotRepository>
149         <site>
150             <id>ecomp-site</id>
151             <url>dav:${nexusproxy}${sitePath}</url>
152         </site>
153     </distributionManagement>
154
155     <dependencies>
156         <dependency>
157             <groupId>org.bouncycastle</groupId>
158             <artifactId>bcpkix-jdk15on</artifactId>
159         </dependency>
160         <dependency>
161             <groupId>org.apache.commons</groupId>
162             <artifactId>commons-lang3</artifactId>
163         </dependency>
164         <dependency>
165             <groupId>org.assertj</groupId>
166             <artifactId>assertj-core</artifactId>
167         </dependency>
168         <dependency>
169             <groupId>org.junit.jupiter</groupId>
170             <artifactId>junit-jupiter</artifactId>
171         </dependency>
172         <dependency>
173             <groupId>org.mockito</groupId>
174             <artifactId>mockito-core</artifactId>
175         </dependency>
176         <dependency>
177             <groupId>org.mockito</groupId>
178             <artifactId>mockito-junit-jupiter</artifactId>
179         </dependency>
180         <dependency>
181             <groupId>org.slf4j</groupId>
182             <artifactId>slf4j-api</artifactId>
183         </dependency>
184         <dependency>
185             <groupId>org.springframework.boot</groupId>
186             <artifactId>spring-boot-starter-log4j2</artifactId>
187         </dependency>
188         <dependency>
189             <groupId>com.google.code.gson</groupId>
190             <artifactId>gson</artifactId>
191         </dependency>
192         <dependency>
193             <groupId>org.apache.httpcomponents</groupId>
194             <artifactId>httpclient</artifactId>
195         </dependency>
196     </dependencies>
197
198 </project>