tomdesair / tus-java-server

Library to receive tus v1.0.0 file uploads in a Java server environment
MIT License
133 stars 62 forks source link

Update dependencies to support tests on JDK11 #16

Closed tomdesair closed 5 years ago

tomdesair commented 5 years ago

This PR updates our test dependencies to support tests on JDK11.

It also updates the Travis configuration to execute a build process with each supported JDK version.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.1%) to 96.632% when pulling e55b1051d506857e16014ead54a9a552ef86492b on feature/target-jdks-testing into a02f6bd5244bb83ae685d1f860f4c4f6219c3c5e on master.

tomdesair commented 5 years ago

I've added automated test support for JDK8, 9 and 11 (10 is excluded since it is EOL). For example: https://travis-ci.org/tomdesair/tus-java-server/builds/469764733

This should prevent issues in the future when Java classes are removed as described in #14

nschwalbe commented 5 years ago

Thats nice! :) Can you release a new version or snapshot to maven central? Then I could upgrade my project to java 11.

tomdesair commented 5 years ago

@nschwalbe I've released version 1.0.0-1.3 and pushed it to Maven Central. It does take a few hours before it's processed there, but you should be able to use this version tomorrow.

I've also updated the version in my example projects:

nschwalbe commented 5 years ago

Thanks a lot! So I was able to finish the java 11 upgrade before christmas. Happy Holidays :)

tomdesair commented 5 years ago

You're welcome 😄. Enjoy the holidays!