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

Centralize internal maven artifact version queries. #6751

Merged
merged 1 commit into from Dec 8, 2023

Conversation

mbien
Copy link
Member

@mbien mbien commented Nov 26, 2023

  • put all hardcoded fallback versions in one place
  • use index for updates if available

also fixes https://issues.apache.org/jira/browse/NETBEANS-6491 as side effect

note: its all internal, and only used in two modules for now

@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests labels Nov 26, 2023
@mbien mbien added this to the NB21 milestone Nov 26, 2023
@@ -17,7 +17,6 @@

javac.source=1.8
Copy link
Member Author

Choose a reason for hiding this comment

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

modules which use nb-javac can't change their source level at the moment since they prepend the bootclasspath and this is only allowed on java 8.
Since target isn't (and can't) be set either once boot cp is modified, no API checks are active. Going to file an issue with more details.

Copy link
Member Author

Choose a reason for hiding this comment

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

filled as issue so that we don't forget #6817

@mbien mbien marked this pull request as ready for review November 29, 2023 18:48
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.

Looks sane to me, but I think the API break is unnecessary (yeah, I know, that it is friend-only). IMHO the class rename is not necessary and the fields could be retained.

 - put all hardcoded fallback versions in one place
 - use index for updates if available
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.

Looks sane to me. Thank you.

@mbien mbien merged commit a450a2f into apache:master Dec 8, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants