-
Notifications
You must be signed in to change notification settings - Fork 8
/
pom.xml
184 lines (178 loc) · 6.77 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<?xml version="1.0" encoding="UTF-8"?>
<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.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.mastercard.developer</groupId>
<artifactId>pclo-offers-api-client</artifactId>
<version>24.3.0-RELEASE</version>
<name>offers-pclo-api-client</name>
<description>Offers PCLO API Reference Implementation</description>
<properties>
<maven.test.skip>false</maven.test.skip>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<okhttp.version>4.9.1</okhttp.version>
<gson.version>2.8.6</gson.version>
<gson-fire.version>1.8.5</gson-fire.version>
<client-encryption.version>1.7.0</client-encryption.version>
<oauth1-signer.version>1.5.0</oauth1-signer.version>
<openapitools.version>5.3.0</openapitools.version>
<swagger-annotations.version>1.6.2</swagger-annotations.version>
<code-findbugs.version>3.0.2</code-findbugs.version>
<google-format-version>2.9</google-format-version>
<sonar.coverage.exclusions>
**/com/mastercard/developer/configuration/*Configuration.java,
**/com/mastercard/developer/service/domain/*.java,
**/com/mastercard/developer/usecases/*.java,
**/com/mastercard/developer/Application.java
</sonar.coverage.exclusions>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.26</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>${gson-fire.version}</version>
</dependency>
<dependency>
<groupId>com.mastercard.developer</groupId>
<artifactId>client-encryption</artifactId>
<version>${client-encryption.version}</version>
</dependency>
<dependency>
<groupId>com.mastercard.developer</groupId>
<artifactId>oauth1-signer</artifactId>
<version>${oauth1-signer.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${code-findbugs.version}</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>**/*.p12</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*.p12</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapitools.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/reference-service.yaml</inputSpec>
<generatorName>java</generatorName>
<apiPackage>com.mastercard.api</apiPackage>
<modelPackage>com.mastercard.api.model</modelPackage>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<generateModelDocumentation>false</generateModelDocumentation>
<generateApiDocumentation>false</generateApiDocumentation>
<skipValidateSpec>true</skipValidateSpec>
<typeMappings>
<typeMapping>OffsetDateTime=String</typeMapping>
<typeMapping>LocalDate=String</typeMapping>
</typeMappings>
<importMappings>
<importMapping>java.time.OffsetDateTime=java.lang.String</importMapping>
<importMapping>java.time.LocalDate=java.lang.String</importMapping>
</importMappings>
<configOptions>
<sourceFolder>src/gen/java/main</sourceFolder>
<supportingFiles>false</supportingFiles>
<dateLibrary>java8</dateLibrary>
<developerEmail>[email protected]</developerEmail>
<developerName>Mastercard</developerName>
<developerOrganization>Mastercard</developerOrganization>
<developerOrganizationUrl>http://mastercard.com</developerOrganizationUrl>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>${google-format-version}</version>
<configuration>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<verbose>true</verbose>
<filesNamePattern>.*\.java</filesNamePattern>
<skip>false</skip>
<skipSortingImports>true</skipSortingImports>
<style>google</style>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>