-
Notifications
You must be signed in to change notification settings - Fork 231
/
pom.xml
334 lines (329 loc) · 18.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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.azure.spring</groupId>
<artifactId>azure-spring-boot-samples</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<name>Azure Spring Boot Samples for Spring Cloud Azure</name>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${version.spring.boot}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${version.spring.cloud}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-dependencies</artifactId>
<version>${version.spring.cloud.azure}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${version.spring.boot}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven-surefire-plugin}</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>spring-cloud-azure-4.x</id>
<modules>
<module>aad/spring-cloud-azure-starter-active-directory/web-client-access-resource-server</module>
<module>aad/spring-cloud-azure-starter-active-directory/aad-resource-server-by-filter</module>
<module>aad/spring-cloud-azure-starter-active-directory/aad-resource-server-by-filter-stateless</module>
<module>aad/spring-cloud-azure-starter-active-directory/aad-web-application-and-resource-server</module>
<module>aad/spring-cloud-azure-starter-active-directory-b2c/aad-b2c-web-application</module>
<module>aad/spring-cloud-azure-starter-active-directory-b2c/aad-b2c-resource-server</module>
<module>aad/spring-security</module>
<module>
appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-complete
</module>
<module>
appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-initial
</module>
<module>appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring2samples/spring-cloud-azure-feature-management-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring2samples/spring-cloud-azure-targeting-filter-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management/spring-cloud-azure-feature-management-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-entraid-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration/appconfiguration-client</module>
<module>cache/spring2-sample/spring-cloud-azure-starter/spring-cloud-azure-sample-cache</module>
<module>cache/spring2-sample/spring-cloud-azure-starter/spring-cloud-azure-sample-cache-passwordless</module>
<module>cloudfoundry/azure-cloud-foundry-service-sample</module>
<module>cosmos/spring-cloud-azure-starter-data-cosmos/spring-cloud-azure-data-cosmos-aks-sample</module>
<module>cosmos/spring-cloud-azure-starter-data-cosmos/spring-cloud-azure-data-cosmos-sample</module>
<module>cosmos/spring-cloud-azure-starter-cosmos/spring-cloud-azure-cosmos-sample</module>
<module>cosmos/azure-spring-data-cosmos/spring2-samples/cosmos-aad-sample</module>
<module>cosmos/azure-spring-data-cosmos/spring2-samples/cosmos-multi-database-multi-account</module>
<module>cosmos/azure-spring-data-cosmos/spring2-samples/cosmos-multi-database-single-account</module>
<module>cosmos/azure-spring-data-cosmos/spring2-samples/cosmos-mvc-sample</module>
<module>cosmos/azure-spring-data-cosmos/spring2-samples/cosmos-quickstart-samples</module>
<module>eventgrid/spring-cloud-azure-starter-eventgrid/spring-cloud-azure-sample-eventgrid</module>
<module>eventhubs/spring-cloud-azure-starter-integration-eventhubs/eventhubs-integration</module>
<module>eventhubs/spring-cloud-azure-starter/spring-cloud-azure-sample-eventhubs-kafka</module>
<module>eventhubs/spring-cloud-azure-starter-eventhubs/eventhubs-client</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-binder</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-multibinders/spring2sample</module>
<module>eventhubs/spring-messaging-azure-eventhubs/eventhubs-spring-messaging</module>
<module>keyvault/azure-securtiy-keyvault-jca/run-with-command-line-server-side</module>
<module>keyvault/azure-securtiy-keyvault-jca/run-with-command-line-client-side</module>
<module>keyvault/azure-spring-boot-starter-keyvault-certificates/keyvault-certificates-client-side</module>
<module>keyvault/azure-spring-boot-starter-keyvault-certificates/keyvault-certificates-server-side</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/property-source</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/secret-client</module>
<module>openai/spring-cloud-azure-starter-openai/spring-cloud-azure-openai-sample</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-topic</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-topic</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-multibinders/spring2sample</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-topic-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder-arm</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/multiple-namespaces/spring2sample</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/single-namespace</module>
<module>servicebus/spring-messaging-azure-servicebus/servicebus-spring-messaging</module>
<module>storage/spring-cloud-azure-starter-storage-blob/storage-blob-sample</module>
<module>storage/spring-cloud-azure-starter-storage-file-share/storage-file-sample</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-operation</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-integration</module>
<module>storage/spring-cloud-azure-starter-storage-queue/storage-queue-client</module>
<module>storage/spring-messaging-azure-storage-queue/storage-queue-spring-messaging</module>
<module>spring-petclinic-microservices</module>
</modules>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<version.spring.boot>2.7.18</version.spring.boot>
<version.spring.cloud>2021.0.9</version.spring.cloud>
<version.spring.cloud.azure>4.19.0</version.spring.cloud.azure>
<version.azure-spring-boot-starter-keyvault-certificates>3.14.0</version.azure-spring-boot-starter-keyvault-certificates>
<version.maven-surefire-plugin>3.0.0</version.maven-surefire-plugin>
<mockito.version>4.11.0</mockito.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>azure-spring-boot-starter-keyvault-certificates</artifactId>
<version>${version.azure-spring-boot-starter-keyvault-certificates}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>spring-cloud-azure-5.x</id>
<modules>
<module>
appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-complete
</module>
<module>
appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-initial
</module>
<module>appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring3samples/spring-cloud-azure-feature-management-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring3samples/spring-cloud-azure-targeting-filter-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management/spring-cloud-azure-feature-management-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-entraid-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration/appconfiguration-client</module>
<module>cache/spring3-sample/spring-cloud-azure-redis-sample</module>
<module>cache/spring3-sample/spring-cloud-azure-redis-sample-passwordless</module>
<module>cosmos/spring-cloud-azure-starter-cosmos/spring-cloud-azure-cosmos-sample</module>
<module>cosmos/azure-spring-data-cosmos/spring3-samples/cosmos-aad-sample</module>
<module>cosmos/azure-spring-data-cosmos/spring3-samples/cosmos-multi-database-multi-account</module>
<module>cosmos/azure-spring-data-cosmos/spring3-samples/cosmos-multi-database-single-account</module>
<module>cosmos/azure-spring-data-cosmos/spring3-samples/cosmos-mvc-sample</module>
<module>cosmos/azure-spring-data-cosmos/spring3-samples/cosmos-quickstart-samples</module>
<module>eventgrid/spring-cloud-azure-starter-eventgrid/spring-cloud-azure-sample-eventgrid</module>
<module>eventhubs/spring-cloud-azure-starter-integration-eventhubs/eventhubs-integration</module>
<module>eventhubs/spring-cloud-azure-starter/spring-cloud-azure-sample-eventhubs-kafka</module>
<module>eventhubs/spring-cloud-azure-starter-eventhubs/eventhubs-client</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-binder</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-multibinders/spring3sample</module>
<module>eventhubs/spring-messaging-azure-eventhubs/eventhubs-spring-messaging</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/property-source</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/secret-client</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-topic</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-topic</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-multibinders/spring3sample</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-topic-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder-arm</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/multiple-namespaces/spring3sample</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/single-namespace</module>
<module>servicebus/spring-messaging-azure-servicebus/servicebus-spring-messaging</module>
<module>storage/spring-cloud-azure-starter-storage-blob/storage-blob-sample</module>
<module>storage/spring-cloud-azure-starter-storage-file-share/storage-file-sample</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-operation</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-integration</module>
<module>storage/spring-cloud-azure-starter-storage-queue/storage-queue-client</module>
<module>storage/spring-messaging-azure-storage-queue/storage-queue-spring-messaging</module>
<module>testcontainers/cosmos</module>
<module>testcontainers/storage-blob</module>
<module>testcontainers/storage-queue</module>
</modules>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<version.spring.boot>3.3.5</version.spring.boot>
<version.spring.cloud>2023.0.3</version.spring.cloud>
<version.spring.cloud.azure>5.18.0</version.spring.cloud.azure>
<version.thymeleaf-extras-springsecurity6>3.1.1.RELEASE</version.thymeleaf-extras-springsecurity6>
<version.jakarta-persistence>3.1.0</version.jakarta-persistence>
<version.testcontainers.azure>1.20.0</version.testcontainers.azure>
<version.maven-surefire-plugin>2.22.0</version.maven-surefire-plugin>
<mockito.version>4.11.0</mockito.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity6</artifactId>
<version>${version.thymeleaf-extras-springsecurity6}</version>
</dependency>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>${version.jakarta-persistence}</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>azure</artifactId>
<version>${version.testcontainers.azure}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>native-5.x</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>paketobuildpacks/builder:tiny</builder>
<env>
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
</env>
</image>
</configuration>
<executions>
<execution>
<id>process-aot</id>
<goals>
<goal>process-aot</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<metadataRepository>
<enabled>true</enabled>
</metadataRepository>
<requiredVersion>22.3</requiredVersion>
</configuration>
<executions>
<execution>
<id>add-reachability-metadata</id>
<goals>
<goal>add-reachability-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>nativeTest-5.x</id>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>process-test-aot</id>
<goals>
<goal>process-test-aot</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<metadataRepository>
<enabled>true</enabled>
</metadataRepository>
<requiredVersion>22.3</requiredVersion>
</configuration>
<executions>
<execution>
<id>native-test</id>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>