Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fixed compile warning #260

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

ctasada
Copy link
Collaborator

@ctasada ctasada commented Jun 28, 2023

When doing any compileJava task, Gradle was showing a warning

warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found

This issue was caused by the javax.annotation.meta.When enum not being available to your projects runtime (org.springframework.lang.Nullable references this enum, but it is not made available automatically)

Also, renamed swaggerCoreJakartaVersion to swaggerCoreVersion

The groupId is io.swagger.core the fact that an artifact is suffixed -jakarta or not doesn't change the versioning.

Also, aligned a previously missing swagger-models dependency.

Carlos Tasada added 2 commits June 28, 2023 16:07
When doing any `compileJava` task, Gradle was showing a warning

```
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
```

This issue was caused by the `javax.annotation.meta.When` enum not being available to your projects runtime (`org.springframework.lang.Nullable` references this enum, but it is not made available automatically)
The groupId is `io.swagger.core` the fact that an artifact is suffixed `-jakarta` or not doesn't change the versioning.

Also, aligned a previously missing `swagger-models` dependency.
@netlify
Copy link

netlify bot commented Jun 28, 2023

Deploy Preview for springwolf-ui canceled.

Name Link
🔨 Latest commit 68caec4
🔍 Latest deploy log https://app.netlify.com/sites/springwolf-ui/deploys/649c4032f263bc00086a7b1f

@timonback timonback merged commit 0d874d2 into springwolf:master Jun 30, 2023
@ctasada ctasada deleted the ctasada/fix-compile-warning branch December 13, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants