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

Add support for building against Java 11 #65

Merged
merged 9 commits into from
Oct 9, 2020

Conversation

eric-weaver
Copy link
Contributor

@eric-weaver eric-weaver commented Sep 14, 2020

  • Adds a new maven profile that is automatically activated if current JAVA_HOME jdk is java 11
  • Adds openjdk11 build to travis
  • Moves all dependency versions to property variables
  • Updates the maven-shade-plugin dependency
  • Adds the maven-enforcer-plugin to set minimum maven version
  • Removed cobertura plugin. Wasn't configured to run previously. It also receives a class not found issue on java 11

@eric-weaver eric-weaver changed the base branch from agreen-use-slf4j-logger to master September 14, 2020 14:13
@eric-weaver eric-weaver force-pushed the upgrade-java11 branch 2 times, most recently from 8253198 to 0a66877 Compare September 15, 2020 02:49
pom.xml Outdated
<scope>test</scope>
</dependency>
<dependency>
Copy link
Contributor

@arron-green arron-green Oct 9, 2020

Choose a reason for hiding this comment

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

did you mean to bring this one in? might want to move it bear the runtime dependencies. Currently it's listed organized with the test dependencies

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required for java 11

</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 this could help with enforcing some of the transitive dependency issues this project currently has

Copy link
Contributor

@arron-green arron-green left a comment

Choose a reason for hiding this comment

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

nice work!

@arron-green arron-green added the hacktoberfest-accepted Accepted hacktoberfest contributions label Oct 9, 2020
@arron-green arron-green merged commit f815d71 into jwplayer:master Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accepted hacktoberfest contributions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants