Skip to content

Add Java 9 to the Travis' build matrix #65

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

Closed
wants to merge 1 commit into from
Closed

Add Java 9 to the Travis' build matrix #65

wants to merge 1 commit into from

Conversation

plamentotev
Copy link
Member

@plamentotev plamentotev commented Jul 2, 2017

Java 9 is coming soon so it would be nice to have the project built and tested on Java 9 as well.

The change of the distro to trusty is required because it's the only one supporting Java 9 right now.

@plamentotev
Copy link
Member Author

Hmm. Looks like it is not so easy 😄. JDK 7 build is failing. I'll take a look at it.

@plamentotev
Copy link
Member Author

Looks like the Trusty image does not have JDK 7. Using it only for JDK 9 did the trick.

@rfscholte
Copy link
Member

See https://docs.travis-ci.com/user/precise-to-trusty-migration-guide/
Trusty is the new default. You can still use Java 7, but you must refer to it is openjdk7

@plamentotev
Copy link
Member Author

plamentotev commented Aug 27, 2017

Trusty is the new default.

Actually they are rolling it out gradually. I was waiting the migration to be over before removing the explicit Trusty configuration. I've removed it and the build fails because Precise is still the default for this repository. Do you know if there is a way to request the repository to be migrated? For the time being I'll just set it explicitly.

You can still use Java 7, but you must refer to it is openjdk7

To be honest I'm not completely sure what is the exact difference between OpenJDK and the Oracle JDK. Some projects (like common-compress) actually test with both OpenJDK and Oracle JDK. Should we do the same here or they are close enough to test only on one of them.

@plamentotev
Copy link
Member Author

Now the Enforcing plugin is failing. The parent pom should be updated to use the latest version, shouldn't it?

@plamentotev plamentotev deleted the add-java9-build-option branch February 16, 2018 20:27
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