Skip to content

Conversation

bmuschko
Copy link
Contributor

What's changed?

The dependency jakarta.mail:jakarta.mail-api is added to the Gradle build file (if it can't be found in the list of transitive dependencies). Likely the best thing to do is to simply add it as direct dependency.

What's your motivation?

The dependency jakarta.mail:jakarta.mail-api is not available in the transitive closure of dependencies leading to a compilation issue. The reference to the packages jakarta.mail and jakarta.mail.internet does not exist in the compilation classpath.

@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Jun 18, 2025
Copy link
Member

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Jun 18, 2025
@timtebeek timtebeek merged commit e15dadc into openrewrite:main Jun 18, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Jun 18, 2025
@bmuschko bmuschko deleted the bm/java-mail-without-direct-dep branch June 25, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants