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

GLSP-991: Switch Jenkins build to Java 17 #201

Merged
merged 1 commit into from
May 8, 2023
Merged

GLSP-991: Switch Jenkins build to Java 17 #201

merged 1 commit into from
May 8, 2023

Conversation

tortmayr
Copy link
Contributor

@tortmayr tortmayr commented May 7, 2023

  • Remove direct dependency to javax.inject by switching to google.inject counterparts
    Due to the namespace switch from javax->jakarta with Java17 it's otherwise hard to maintain a build that works for both 11 and 17.
  • Remove `illegal-access=permit" flag from plugin configuration as it is no longer supported in Java17
  • Update maven-shade plugin config to get rid of warnings
  • Introduce a new orthogonal Java11 compatibility build job that is triggered for every master commit

Fixes eclipse-glsp/glsp#991

-Remove direct dependency to javax.inject by switching to google.inject counterparts
 Due to the namespace switch from javax->jakarta with Java17 it's otherwise hard to maintain a build that works for both 11 and 17.
-Remove `illegal-access=permit" flag from plugin configuration as it is no longer supported in Java17
-Update maven-shade plugin config to get rid of warnings
-Introduce a new orthogonal Java11 compatibility build job that is triggered for every master commit

Fixes eclipse-glsp/glsp#991
@tortmayr tortmayr requested review from planger and xai May 7, 2023 22:19
@tortmayr tortmayr merged commit fffccca into master May 8, 2023
@tortmayr tortmayr deleted the java-17 branch May 8, 2023 07:29
MatthiasHofstaetter pushed a commit to MatthiasHofstaetter/glsp-server that referenced this pull request Dec 21, 2024
-Remove direct dependency to javax.inject by switching to google.inject counterparts
 Due to the namespace switch from javax->jakarta with Java17 it's otherwise hard to maintain a build that works for both 11 and 17.
-Remove `illegal-access=permit" flag from plugin configuration as it is no longer supported in Java17
-Update maven-shade plugin config to get rid of warnings
-Introduce a new orthogonal Java11 compatibility build job that is triggered for every master commit

Fixes eclipse-glsp/glsp#991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

M2 Build does fail with Java 17
2 participants