forked from adorsys/open-banking-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
255 lines (247 loc) · 13.9 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<?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>de.adorsys.opba</groupId>
<artifactId>open-banking-gateway</artifactId>
<version>0.31.0-SNAPSHOT</version>
</parent>
<artifactId>opba-banking-rest-api</artifactId>
<name>opba-banking-rest-api</name>
<properties>
<!-- Hard reference to root directory. Used to reference pmd and checkstyle files from root.
Change this if depth changes. Current: /open-banking-gateway/opba-banking-rest-api -->
<main.basedir>${project.parent.basedir}</main.basedir>
<ymldir>${project.parent.basedir}/opba-banking-rest-api-ymls/src/main/resources/static</ymldir>
<openapi-spec-file-location-banking_api_ais>${ymldir}/tpp_banking_api_ais.yml</openapi-spec-file-location-banking_api_ais>
<openapi-spec-file-location-banking_api_pis>${ymldir}/tpp_banking_api_pis.yml</openapi-spec-file-location-banking_api_pis>
<openapi-spec-file-location-tpp_bank_search_api>${ymldir}/tpp_banking_api_bank_search.yml</openapi-spec-file-location-tpp_bank_search_api>
<openapi-spec-file-location-tpp_token_api>${ymldir}/tpp_banking_api_token.yml</openapi-spec-file-location-tpp_token_api>
<openapi-spec-file-location-admin_api>${ymldir}/tpp_admin_api.yml</openapi-spec-file-location-admin_api>
</properties>
<dependencies>
<dependency>
<groupId>de.adorsys.opba</groupId>
<artifactId>opba-banking-rest-api-ymls</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>${swagger-codegen-maven-plugin.version}</version>
<executions>
<execution>
<id>generate_banking_api_ais</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${openapi-spec-file-location-banking_api_ais}</inputSpec>
<language>spring</language>
<output>${project.build.directory}/generated-sources/open-api/</output>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<basePackage>de.adorsys.opba.tppbankingapi.ais.generated</basePackage>
<configPackage>de.adorsys.opba.tppbankingapi.config.generated</configPackage>
<modelPackage>de.adorsys.opba.tppbankingapi.ais.model.generated</modelPackage>
<apiPackage>de.adorsys.opba.tppbankingapi.ais.resource.generated</apiPackage>
<interfaceOnly>true</interfaceOnly>
<skipOverwrite>true</skipOverwrite>
<dateLibrary>java8</dateLibrary>
<java8>true</java8>
<implicitHeaders>false</implicitHeaders>
<delegatePattern>true</delegatePattern>
<useTags>true</useTags>
<library>spring-mvc</library>
<swaggerDocketConfig>false</swaggerDocketConfig>
<async>true</async>
<responseWrapper>java.util.concurrent.CompletableFuture</responseWrapper>
</configOptions>
<generateApiDocumentation>false</generateApiDocumentation>
<generateModelDocumentation>false</generateModelDocumentation>
<generateSupportingFiles>false</generateSupportingFiles>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
</configuration>
</execution>
<execution>
<id>generate_banking_api_pis</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${openapi-spec-file-location-banking_api_pis}</inputSpec>
<language>spring</language>
<output>${project.build.directory}/generated-sources/open-api/</output>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<basePackage>de.adorsys.opba.tppbankingapi.pis.generated</basePackage>
<configPackage>de.adorsys.opba.tppbankingapi.config.generated</configPackage>
<modelPackage>de.adorsys.opba.tppbankingapi.pis.model.generated</modelPackage>
<apiPackage>de.adorsys.opba.tppbankingapi.pis.resource.generated</apiPackage>
<interfaceOnly>true</interfaceOnly>
<skipOverwrite>true</skipOverwrite>
<dateLibrary>java8</dateLibrary>
<java8>true</java8>
<implicitHeaders>false</implicitHeaders>
<delegatePattern>true</delegatePattern>
<useTags>true</useTags>
<library>spring-mvc</library>
<swaggerDocketConfig>false</swaggerDocketConfig>
<async>true</async>
<responseWrapper>java.util.concurrent.CompletableFuture</responseWrapper>
</configOptions>
<generateApiDocumentation>false</generateApiDocumentation>
<generateModelDocumentation>false</generateModelDocumentation>
<generateSupportingFiles>false</generateSupportingFiles>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
</configuration>
</execution>
<execution>
<id>generate_tpp_bank_search_api</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${openapi-spec-file-location-tpp_bank_search_api}</inputSpec>
<language>spring</language>
<output>${project.build.directory}/generated-sources/open-api/</output>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<basePackage>de.adorsys.opba.tppbankingapi.search.generated</basePackage>
<configPackage>de.adorsys.opba.tppbankingapi.config.generated</configPackage>
<modelPackage>de.adorsys.opba.tppbankingapi.search.model.generated</modelPackage>
<apiPackage>de.adorsys.opba.tppbankingapi.search.resource.generated</apiPackage>
<interfaceOnly>true</interfaceOnly>
<skipOverwrite>true</skipOverwrite>
<dateLibrary>java8</dateLibrary>
<java8>true</java8>
<implicitHeaders>false</implicitHeaders>
<delegatePattern>true</delegatePattern>
<useTags>true</useTags>
<library>spring-mvc</library>
<swaggerDocketConfig>false</swaggerDocketConfig>
</configOptions>
<generateApiDocumentation>false</generateApiDocumentation>
<generateModelDocumentation>false</generateModelDocumentation>
<generateSupportingFiles>false</generateSupportingFiles>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
</configuration>
</execution>
<execution>
<id>generate_tpp_token_api</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${openapi-spec-file-location-tpp_token_api}</inputSpec>
<language>spring</language>
<output>${project.build.directory}/generated-sources/open-api/</output>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<basePackage>de.adorsys.opba.tppbankingapi.token.generated</basePackage>
<configPackage>de.adorsys.opba.tppbankingapi.config.generated</configPackage>
<modelPackage>de.adorsys.opba.tppbankingapi.token.model.generated</modelPackage>
<apiPackage>de.adorsys.opba.tppbankingapi.token.resource.generated</apiPackage>
<interfaceOnly>true</interfaceOnly>
<skipOverwrite>true</skipOverwrite>
<dateLibrary>java8</dateLibrary>
<java8>true</java8>
<implicitHeaders>false</implicitHeaders>
<delegatePattern>true</delegatePattern>
<useTags>true</useTags>
<library>spring-mvc</library>
<swaggerDocketConfig>false</swaggerDocketConfig>
</configOptions>
<generateApiDocumentation>false</generateApiDocumentation>
<generateModelDocumentation>false</generateModelDocumentation>
<generateSupportingFiles>false</generateSupportingFiles>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-generators</artifactId>
<version>${swagger-codegen-generators.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add-generated-source</id>
<phase>initialize</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/open-api/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>