From 8f3b2f692986ad47429e3caf4d70e133349d8bcb Mon Sep 17 00:00:00 2001
From: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Date: Fri, 16 Feb 2024 17:38:22 -0500
Subject: [PATCH] Fix Spotless apply from failing some pipelines (#38819)
---
.../pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-active-directory/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-actuator/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-appconfiguration/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-cosmos/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-data-cosmos/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-eventgrid/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-eventhubs/pom.xml | 8 ++++++++
.../pom.xml | 8 ++++++++
.../pom.xml | 8 ++++++++
.../pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-jdbc-mysql/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-jdbc-postgresql/pom.xml | 8 ++++++++
.../pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-keyvault-secrets/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-keyvault/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-monitor-test/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-redis/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-servicebus-jms/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-servicebus/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-storage-blob/pom.xml | 8 ++++++++
.../pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-storage-queue/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter-storage/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-stream-eventhubs/pom.xml | 8 ++++++++
.../spring-cloud-azure-starter-stream-servicebus/pom.xml | 8 ++++++++
sdk/spring/spring-cloud-azure-starter/pom.xml | 8 ++++++++
sdk/tools/azure-sdk-archetype/pom.xml | 8 ++++++++
sdk/tools/azure-sdk-build-tool/pom.xml | 9 +++++++++
29 files changed, 233 insertions(+)
diff --git a/sdk/spring/spring-cloud-azure-starter-active-directory-b2c/pom.xml b/sdk/spring/spring-cloud-azure-starter-active-directory-b2c/pom.xml
index c27cbe9ecbd77..b40c74fcdd4c4 100644
--- a/sdk/spring/spring-cloud-azure-starter-active-directory-b2c/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-active-directory-b2c/pom.xml
@@ -121,6 +121,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-active-directory/pom.xml b/sdk/spring/spring-cloud-azure-starter-active-directory/pom.xml
index 60e8ddcd6c89a..9a1d750f67007 100644
--- a/sdk/spring/spring-cloud-azure-starter-active-directory/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-active-directory/pom.xml
@@ -115,6 +115,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-actuator/pom.xml b/sdk/spring/spring-cloud-azure-starter-actuator/pom.xml
index 91f21a7de8685..525a847f4c394 100644
--- a/sdk/spring/spring-cloud-azure-starter-actuator/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-actuator/pom.xml
@@ -112,6 +112,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-appconfiguration/pom.xml b/sdk/spring/spring-cloud-azure-starter-appconfiguration/pom.xml
index 176e8681ba2dc..50028d9521a7e 100644
--- a/sdk/spring/spring-cloud-azure-starter-appconfiguration/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-appconfiguration/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-cosmos/pom.xml b/sdk/spring/spring-cloud-azure-starter-cosmos/pom.xml
index 1f3bea6d596fd..1cc03f085b64a 100644
--- a/sdk/spring/spring-cloud-azure-starter-cosmos/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-cosmos/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-data-cosmos/pom.xml b/sdk/spring/spring-cloud-azure-starter-data-cosmos/pom.xml
index 47c76904d7c94..82e631237d080 100644
--- a/sdk/spring/spring-cloud-azure-starter-data-cosmos/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-data-cosmos/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-eventgrid/pom.xml b/sdk/spring/spring-cloud-azure-starter-eventgrid/pom.xml
index ee392df4a9fd3..ba3b47f978ec5 100644
--- a/sdk/spring/spring-cloud-azure-starter-eventgrid/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-eventgrid/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-eventhubs/pom.xml b/sdk/spring/spring-cloud-azure-starter-eventhubs/pom.xml
index bbcc76e15d0fa..59277a9e7ec19 100644
--- a/sdk/spring/spring-cloud-azure-starter-eventhubs/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-eventhubs/pom.xml
@@ -113,6 +113,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-integration-eventhubs/pom.xml b/sdk/spring/spring-cloud-azure-starter-integration-eventhubs/pom.xml
index 56477035ae7c6..9818b593d5cd3 100644
--- a/sdk/spring/spring-cloud-azure-starter-integration-eventhubs/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-integration-eventhubs/pom.xml
@@ -111,6 +111,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-integration-servicebus/pom.xml b/sdk/spring/spring-cloud-azure-starter-integration-servicebus/pom.xml
index 06c9c67512813..39b1d5450bf7a 100644
--- a/sdk/spring/spring-cloud-azure-starter-integration-servicebus/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-integration-servicebus/pom.xml
@@ -113,6 +113,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-integration-storage-queue/pom.xml b/sdk/spring/spring-cloud-azure-starter-integration-storage-queue/pom.xml
index ef98f9d99d8cb..307c70808816c 100644
--- a/sdk/spring/spring-cloud-azure-starter-integration-storage-queue/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-integration-storage-queue/pom.xml
@@ -116,6 +116,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-jdbc-mysql/pom.xml b/sdk/spring/spring-cloud-azure-starter-jdbc-mysql/pom.xml
index f152208cc0939..052e5de93bfe7 100644
--- a/sdk/spring/spring-cloud-azure-starter-jdbc-mysql/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-jdbc-mysql/pom.xml
@@ -115,6 +115,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-jdbc-postgresql/pom.xml b/sdk/spring/spring-cloud-azure-starter-jdbc-postgresql/pom.xml
index 92858e21e813b..ee4e2c2955fd7 100644
--- a/sdk/spring/spring-cloud-azure-starter-jdbc-postgresql/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-jdbc-postgresql/pom.xml
@@ -114,6 +114,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-keyvault-certificates/pom.xml b/sdk/spring/spring-cloud-azure-starter-keyvault-certificates/pom.xml
index a3d9b31e1d1c3..739d6f994fe13 100644
--- a/sdk/spring/spring-cloud-azure-starter-keyvault-certificates/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-keyvault-certificates/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-keyvault-secrets/pom.xml b/sdk/spring/spring-cloud-azure-starter-keyvault-secrets/pom.xml
index bfdab2c088874..affebe5fe7123 100644
--- a/sdk/spring/spring-cloud-azure-starter-keyvault-secrets/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-keyvault-secrets/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-keyvault/pom.xml b/sdk/spring/spring-cloud-azure-starter-keyvault/pom.xml
index 1f65e96902e5c..0d9d8a071d1ec 100644
--- a/sdk/spring/spring-cloud-azure-starter-keyvault/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-keyvault/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-monitor-test/pom.xml b/sdk/spring/spring-cloud-azure-starter-monitor-test/pom.xml
index b9d509767ab74..36c141d5f710e 100644
--- a/sdk/spring/spring-cloud-azure-starter-monitor-test/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-monitor-test/pom.xml
@@ -86,6 +86,14 @@
spotbugs-maven-plugin
4.8.2.0
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-redis/pom.xml b/sdk/spring/spring-cloud-azure-starter-redis/pom.xml
index 712cfa293da67..0f0a01524cfb7 100644
--- a/sdk/spring/spring-cloud-azure-starter-redis/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-redis/pom.xml
@@ -121,6 +121,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-servicebus-jms/pom.xml b/sdk/spring/spring-cloud-azure-starter-servicebus-jms/pom.xml
index 84e4f9cde1e4e..db22ff111d4c9 100644
--- a/sdk/spring/spring-cloud-azure-starter-servicebus-jms/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-servicebus-jms/pom.xml
@@ -184,6 +184,14 @@ currently released version and a lower version is resolved. -->
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-servicebus/pom.xml b/sdk/spring/spring-cloud-azure-starter-servicebus/pom.xml
index 8aa5472a19632..fda5287cb5634 100644
--- a/sdk/spring/spring-cloud-azure-starter-servicebus/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-servicebus/pom.xml
@@ -108,6 +108,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-storage-blob/pom.xml b/sdk/spring/spring-cloud-azure-starter-storage-blob/pom.xml
index a56296b46e053..0a86abdfd0304 100644
--- a/sdk/spring/spring-cloud-azure-starter-storage-blob/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-storage-blob/pom.xml
@@ -108,6 +108,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-storage-file-share/pom.xml b/sdk/spring/spring-cloud-azure-starter-storage-file-share/pom.xml
index defbf3fda1ad7..1d6ef5211e098 100644
--- a/sdk/spring/spring-cloud-azure-starter-storage-file-share/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-storage-file-share/pom.xml
@@ -108,6 +108,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-storage-queue/pom.xml b/sdk/spring/spring-cloud-azure-starter-storage-queue/pom.xml
index 7a6d63ed3bc92..53e0e64640f73 100644
--- a/sdk/spring/spring-cloud-azure-starter-storage-queue/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-storage-queue/pom.xml
@@ -111,6 +111,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-storage/pom.xml b/sdk/spring/spring-cloud-azure-starter-storage/pom.xml
index c5ababbbb4fd6..a89582ee6f7d5 100644
--- a/sdk/spring/spring-cloud-azure-starter-storage/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-storage/pom.xml
@@ -114,6 +114,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml b/sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml
index 829c7759f0e12..69551396eb7a7 100644
--- a/sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-stream-eventhubs/pom.xml
@@ -101,6 +101,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter-stream-servicebus/pom.xml b/sdk/spring/spring-cloud-azure-starter-stream-servicebus/pom.xml
index 9f09fcdc71f86..1912b145d45d8 100644
--- a/sdk/spring/spring-cloud-azure-starter-stream-servicebus/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter-stream-servicebus/pom.xml
@@ -101,6 +101,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/spring/spring-cloud-azure-starter/pom.xml b/sdk/spring/spring-cloud-azure-starter/pom.xml
index 0f2a6f2942845..4f9d058dfa48f 100644
--- a/sdk/spring/spring-cloud-azure-starter/pom.xml
+++ b/sdk/spring/spring-cloud-azure-starter/pom.xml
@@ -107,6 +107,14 @@
true
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
org.revapi
revapi-maven-plugin
diff --git a/sdk/tools/azure-sdk-archetype/pom.xml b/sdk/tools/azure-sdk-archetype/pom.xml
index 1b3a0832975c1..7aef37c243dfc 100644
--- a/sdk/tools/azure-sdk-archetype/pom.xml
+++ b/sdk/tools/azure-sdk-archetype/pom.xml
@@ -297,6 +297,14 @@
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
diff --git a/sdk/tools/azure-sdk-build-tool/pom.xml b/sdk/tools/azure-sdk-build-tool/pom.xml
index 3b76ca4f83646..b4ac0b437781f 100644
--- a/sdk/tools/azure-sdk-build-tool/pom.xml
+++ b/sdk/tools/azure-sdk-build-tool/pom.xml
@@ -332,6 +332,15 @@
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.30.0
+
+ true
+
+
+