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

UpdateDependencyHint should work on plugins with default maven group id #6493

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

mbien
Copy link
Member

@mbien mbien commented Sep 25, 2023

  • default plugins can omit the group ID, the hint should still check their versions
  • made hint aware of the reporting plugin section (thanks @matthiasblaesing for noticing this)
  • moved module to JDK 11 since it already has JDK 11 dependencies

example:

image

@mbien mbien added Maven [ci] enable "build tools" tests hints Upgrade JDK Upgrade to the JDK requirements of a module. labels Sep 25, 2023
@mbien mbien added this to the NB20 milestone Sep 25, 2023
Comment on lines -19 to -23
javac.source=1.8
javac.source=11
javac.target=11
#javac.compilerargs=-Xlint -Xlint:-serial

test.config.stableBTD.includes=**/*Test.class
requires.nb.javac=true
Copy link
Member Author

Choose a reason for hiding this comment

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

the build puts nb-javac into the boot classpath which makes it incompatible with the release option (which is set by the ant task automatically). Luckily this module doesn't need nb-javac.

Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

In general good change, I left one inline comment you might want to consider.

 - default plugins can omit the group ID, the hint should still check
   their versions
 - made hint aware of the reporting plugin section (thanks Matthias Bläsing)
 - moved module to JDK 11 since it already has JDK 11 dependencies
@mbien mbien force-pushed the dep-hint-default-maven-plugin branch from 51f90f7 to 028e3fb Compare September 26, 2023 20:05
@mbien mbien merged commit a867eb8 into apache:master Sep 26, 2023
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hints Maven [ci] enable "build tools" tests Upgrade JDK Upgrade to the JDK requirements of a module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants