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

[MINOR] Update java language level #1430

Merged
merged 4 commits into from
Nov 1, 2021

Conversation

Baunsgaard
Copy link
Contributor

No description provided.

@Baunsgaard Baunsgaard changed the title Update java language level [MINOR] Update java language level Nov 1, 2021
@Baunsgaard Baunsgaard force-pushed the updateJavaLanguageLevel branch from 6d4c2a1 to 27652a3 Compare November 1, 2021 16:23
Adding argument to specify compiled java target and source.

when compiling simply add '-D java.level=11'

ex: 'mvn package -P distribution -D java.level=11'

If you want to switch between versions remember to do 'mvn clean'

It is worth noting that you currently can compile with java 11 and
run with java 8 if you compile in level '1.8'.
@Baunsgaard Baunsgaard force-pushed the updateJavaLanguageLevel branch from 27652a3 to 7ab4d7e Compare November 1, 2021 16:31
This commit update the java, cache and python dependency to use
version 2 of each. This promise faster github actions.

Also contained in this commit, i updated the build to test MacOS.
@Baunsgaard Baunsgaard force-pushed the updateJavaLanguageLevel branch from 20a103f to f6509c3 Compare November 1, 2021 17:35
@Baunsgaard Baunsgaard merged commit f6509c3 into apache:main Nov 1, 2021
@github-pages github-pages bot temporarily deployed to github-pages November 1, 2021 17:37 Inactive
@Baunsgaard Baunsgaard deleted the updateJavaLanguageLevel branch December 13, 2021 20:36
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