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

chore(deps): Upgrade java from 11 to 17 #1538

Merged
merged 3 commits into from
Nov 27, 2024
Merged

Conversation

ericenns
Copy link
Member

Description of changes

What did you change in this pull request? Provide a description of files changed, user interactions changed, etc. Include how to test your changes.

Related issue

Link to the GitHub issue this pull request addresses using the #issuenum format. If it completes an issue, use Fixes #issuenum to automatically close the issue.

Checklist

Things for the developer to confirm they've done before the PR should be accepted:

  • CHANGELOG.md (and UPGRADING.md if necessary) updated with information for new change.
  • Tests added (or description of how to test) for any new features.
  • User documentation updated for UI or technical changes.

@ericenns ericenns added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 14, 2024
@ericenns ericenns force-pushed the dependencies/java-17 branch from 561422a to 5520627 Compare November 14, 2024 22:12
@ericenns ericenns self-assigned this Nov 15, 2024
Copy link
Contributor

@deepsidhu85 deepsidhu85 left a comment

Choose a reason for hiding this comment

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

Tested this out with intellij and tomcat with the ectyper and example pipeline plugins. I was able to successfully build the plugins and deploy the irida war file into tomcat. All appears to be working

Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Everything looks great to me.

Tested on my own machine (Ubuntu 22.04.5) using Java 17 (installed using apt) and Tomcat9 (installed via apt).

I had to configure the sequence-files/output-files, etc directories to be writable by tomcat9 (as in this issue: #1555).

Tested with previously built IRIDA plugins (built prior to switch to Java 17) and they all work. Specifically the plugins:

  • amr-detection
  • species-abundance
  • sistr

These run the pipelines and write the proper metadata into the IRIDA metadata table.

@deepsidhu85 deepsidhu85 merged commit 5b3fd49 into development Nov 27, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants