diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-oidc-client/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-oidc-client/pom.xml
index 7ae182e283..e59f26b07f 100644
--- a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-oidc-client/pom.xml
+++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-oidc-client/pom.xml
@@ -29,12 +29,6 @@
org.springframework.security
spring-security-oauth2-client
-
-
- javax.mail
- javax.mail-api
-
-
org.springframework.security