-
Notifications
You must be signed in to change notification settings - Fork 89
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
Upgrade Jetty from 9.4.49.v20220914 to 10.0.12 #409
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,3 @@ groovy -e "basedir='$(pwd)/target/its/parent-4x'; evaluate new File('src/it/pare | |
``` | ||
|
||
Also make sure `project.parent.version` is the latest in every integration test except `src/it/parent-4-40/pom.xml`. | ||
|
||
## Updating Jetty | ||
`hpi:run` mojo is a variant of `jetty:run` mojo, and because of the way plugin descriptor is generated, this module copies some code from Jetty Maven plugin, specifically `AbstractJettyMojo.java` and `ConsoleScanner.java`. | ||
|
||
To keep upstream tracking easier, pristine copies of these files are copied into `incoming-x.y` branch, then package renamed. This version specific incoming branch is then "theirs" merged into the `incoming` branch, which acts as the upstream tracking branch. | ||
|
||
This branch is then merged into `master` via `git merge -X ignore-space-at-eol incoming`. See diff between `incoming` and `master` on these files to see the exact local patches. | ||
Comment on lines
-39
to
-45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No longer relevant, as we no longer copy code from Jetty Maven plugin. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,6 +161,12 @@ | |
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<version>3.4.0</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>asm</groupId> | ||
<artifactId>asm</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
Comment on lines
+164
to
+169
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was pulling in an ancient version of ASM 3, which is not compatible with Jetty Maven plugin. |
||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.maven.shared</groupId> | ||
|
@@ -191,7 +197,7 @@ | |
<dependency> | ||
<groupId>org.eclipse.jetty</groupId> | ||
<artifactId>jetty-maven-plugin</artifactId> | ||
<version>9.4.49.v20220914</version> | ||
<version>10.0.12</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci</groupId> | ||
|
@@ -202,6 +208,12 @@ | |
<groupId>org.kohsuke.stapler</groupId> | ||
<artifactId>stapler-groovy</artifactId> | ||
<version>1756.vec9071748061</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>jakarta.annotation</groupId> | ||
<artifactId>jakarta.annotation-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
Comment on lines
+211
to
+216
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was pulling in a Jakarta import version of this API which conflicts with that of Jetty. |
||
</dependency> | ||
<dependency> | ||
<groupId>org.twdata.maven</groupId> | ||
|
@@ -313,9 +325,9 @@ | |
<requireUpperBoundDeps> | ||
<excludes combine.children="append"> | ||
<exclude>commons-lang:commons-lang</exclude> | ||
<exclude>org.apache.commons:commons-collections4</exclude> | ||
<exclude>org.codehaus.plexus:plexus-archiver</exclude> | ||
<exclude>org.codehaus.plexus:plexus-container-default</exclude> | ||
<exclude>org.ow2.asm:asm</exclude> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Miscellaneous cleanup: realized that this was unnecessary while updating this list. |
||
<exclude>org.slf4j:slf4j-api</exclude> | ||
</excludes> | ||
</requireUpperBoundDeps> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making
yamllint(1)
happy.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just delete the comment since the link is dead anyway!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-existing issue