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

Update to Jetty 11 and other breaking Butterfly API changes #6077

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tfmorris
Copy link
Member

Fixes #{issue number here}

Changes proposed in this pull request:

  • Update to Jetty 11 and Jakarta Servlet 5
  • Update Apache commons file uploader to track Servlet API changes
  • Update to Velocity 2.3

This is implemented and lightly tested and appears to work, but it's a breaking change for all extensions, so I'm not convinced it's needed until there are other breaking changes needed (and perhaps not even then).

@tfmorris
Copy link
Member Author

tfmorris commented Sep 29, 2023

NOTE: This was tested against a local install of the proposed Butterfly 2.0, so won't run in CI until that's published publicly somewhere.

If you want to run it locally, you can checkout the Jetty 11 branch from the Butterfly repo and build and install a local version with

mvn -Dgpg.skip=true install

Updates to Butterfly 2.0 which includes a number of breaking
changes:

- Jetty 11 & Servlet API 5 with new Jakarta package names
- Apache commons-fileupload2 is required by the above
- Velocity 2.3
- Also update package name for org.apache.commons.lang3
  (apparently the version got updated as a dependency)

The full set of 1.x compatibility flags from
https://velocity.apache.org/engine/2.3/upgrading.html
were enabled, but template authors should check the notes on
that page for anything which might affect them.
@AtesComp AtesComp marked this pull request as ready for review April 9, 2024 14:38
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.

None yet

1 participant