Skip to content

Remove WAR distribution#1428

Closed
nscuro wants to merge 1 commit intomainfrom
make-jar-not-war
Closed

Remove WAR distribution#1428
nscuro wants to merge 1 commit intomainfrom
make-jar-not-war

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Sep 17, 2025

Description

Removes WAR distribution.

Instead of building a WAR and effectively deploying it to an embedded Jetty server, embed Jetty directly into the application JAR.

This makes it possible to simply launch the application via main method, and avoid the long WAR build times.

It is also easier to configure Jetty and customize it better for our specific requirements.

Addressed Issue

N/A

Additional Details

N/A

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have updated the migration changelog accordingly
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@nscuro nscuro added this to the 5.7.0 milestone Sep 17, 2025
Instead of building a WAR and effectively deploying it to an embedded Jetty server, embed Jetty directly into the application JAR.

This makes it possible to simply launch the application via `main` method, and avoid the long WAR build times.

It is also easier to configure Jetty and customize it better for our specific requirements.

Signed-off-by: nscuro <nscuro@protonmail.com>
@codacy-production
Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.14% (target: -1.00%) 0.00% (target: 70.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (af36f06) 28542 23577 82.60%
Head commit (e8b8480) 28591 (+49) 23577 (+0) 82.46% (-0.14%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1428) 49 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@nscuro nscuro closed this Dec 9, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 9, 2026
@nscuro nscuro deleted the make-jar-not-war branch March 3, 2026 12:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant