generated from pagopa/pn-template-ms-be
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
222 lines (214 loc) · 7.35 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
<?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>it.pagopa.pn</groupId>
<artifactId>pn-parent</artifactId>
<version>2.1.1</version>
<relativePath />
</parent>
<artifactId>pn-portfat</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>pn-portfat</name>
<description>Portale Fatturazione Microservice</description>
<properties>
<jacoco.min.line.cover.ratio>0.00</jacoco.min.line.cover.ratio>
</properties>
<dependencies>
<dependency>
<groupId>it.pagopa.pn</groupId>
<artifactId>pn-commons</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<version>2.2.24</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.awspring.cloud</groupId>
<artifactId>spring-cloud-aws-messaging</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>de.idealo.spring</groupId>
<artifactId>spring-cloud-stream-binder-sqs</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>12.29.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.27.1</version>
</dependency>
<!--LOCALSTACK/TESTCONTAINERS-->
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>localstack</artifactId>
<version>1.18.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.17.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.awspring.cloud</groupId>
<artifactId>spring-cloud-starter-aws-messaging</artifactId>
<version>2.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-junit-jupiter</artifactId>
<version>5.15.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-netty</artifactId>
<version>5.15.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.17.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>pn-commons</includeArtifactIds>
<outputDirectory>${project.build.directory}/dependency-resources</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>5.4.0</version>
<executions>
<execution>
<id>generate-template-internal-api</id>
<goals>
<goal>generate</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<typeMappings>
<typeMapping>Date=Instant</typeMapping>
</typeMappings>
<importMappings>
<importMapping>java.util.Date=java.time.Instant</importMapping>
<importMapping>Date=java.time.Instant</importMapping>
</importMappings>
<inputSpec>${project.basedir}/docs/openapi/pn-internal-portfat-v1.yaml</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<generateApiDocumentation>false</generateApiDocumentation>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<templateDirectory>${project.build.directory}/dependency-resources/scripts/openapi/templates/5.4.0/server</templateDirectory>
<configOptions>
<dateLibrary>java11</dateLibrary>
<delegatePattern>true</delegatePattern>
<interfaceOnly>true</interfaceOnly>
<annotationLibrary>none</annotationLibrary>
<documentationProvider>source</documentationProvider>
<openApiNullable>false</openApiNullable>
<reactive>true</reactive>
<skipDefaultInterface>false</skipDefaultInterface>
<useTags>true</useTags>
<basePackage>${project.groupId}.portfat.generated.openapi.server.v1</basePackage>
<modelPackage>${project.groupId}.portfat.generated.openapi.server.v1.dto</modelPackage>
<apiPackage>${project.groupId}.portfat.generated.openapi.server.v1.api</apiPackage>
<configPackage>${project.groupId}.portfat.generated.openapi.server.v1.config</configPackage>
</configOptions>
</configuration>
</execution>
<execution>
<id>generate-client-pn-safe-storage-reactive</id>
<goals>
<goal>generate</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<inputSpec>
https://raw.githubusercontent.com/pagopa/pn-ss/45c821cadbfd82f4ce492b417b41bd4c43a69058/docs/openapi/pn-safestorage-v1.1-api.yaml
</inputSpec>
<generatorName>java</generatorName>
<library>webclient</library>
<generateApiDocumentation>false</generateApiDocumentation>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<generateSupportingFiles>true</generateSupportingFiles>
<templateDirectory>${project.build.directory}/dependency-resources/scripts/openapi/templates/5.4.0/client</templateDirectory>
<configOptions>
<swaggerAnnotations>false</swaggerAnnotations>
<openApiNullable>false</openApiNullable>
</configOptions>
<modelPackage>${project.groupId}.portfat.generated.openapi.msclient.pnsafestorage.v1.dto</modelPackage>
<apiPackage>${project.groupId}.portfat.generated.openapi.msclient.pnsafestorage.v1.api</apiPackage>
<modelNameSuffix>Dto</modelNameSuffix>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>