...
It is easiest to do this if you have the git repository cloned and updated
This project has not no J2EE/jakarta dependencies and so works with both the 10.x.y and 11.x.y versions of jetty ,- subject to the version of logback deployed being pinned (see below)
Check Changes
We First, we need to track any changes to in the 10/11 branch and and origin\11
branch. Cherry pick in any appropriate changes.
We need to track breaking changes in jetty itself.
Note |
---|
A potential quick cut is to difference the jetty sources between the two tags git diff jetty-10.0.9 jetty-10.0.9 10 jetty-deploy/src/main/config/etc/jetty-deploy.xml and so forth. |
...
Code Block |
---|
<logback.version>1.3.0-alpha16</logback.5</logback.version> |
You must also override the version in start.d\idp-system.ini
and in the jetty base pom
Note |
---|
The Jetty 11 and Jetty 10 versions no longer interoperate so you need to make changes in the jetty11 and the jetty 10 branches. In practise this does not need to be revised unless there is a logback issue. |
SLF4J Version
Check the slf4j version in the top level pom for the jetty project and amend as appropriate
Code Block |
---|
<slf4j.version>2.0.5</slf4j.version> |
You can should also override the version in start.d\idp-system.ini
This is defensive against Jetty 10 and Jetty 11 versions drifting apart
The change must be made in the pom as well as the start.d\idp-system.ini
start.d/idp.ini
...
Properties new to
idp.ini
that are occur inidp.ini.rewrite.property.names
should be added toidp-system.ini
if they are requiredProperties name changes must be added to
idp.ini.rewrite.property.names
. Note that the name changes are cumulativeProperties new to
idp.ini
that do not occur inidp.ini.rewrite.property.names
should be added toidp.ini.windows
if they are required. Add them below the "don't change these values" lines.
...
This should track the version checked into the 10
branch
Java files to look are
jetty-server\src\main\java\org\eclipse\jetty\server\Slf4jRequestLogWriter.java
jetty-server\src\main\java\org\eclipse\jetty\server\CustomRequestLog.java
Build & Release
This should be done within a docker build container
...