-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[JENKINS-68694] Winstone 6.1: Upgrade Jetty from 9.4.46.v20220331 to 10.0.11 #6801
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
Changes from 1 commit
f5aba77
4d8bd11
7d87b08
4c831c1
e459be3
84f2e3d
28c3037
8739c8d
a08e96f
0ffea42
7e7a5ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,8 +86,8 @@ THE SOFTWARE. | |
| jars that are not needed in war. most of the exclusions should happen in the core, to make IDEs happy, not here. | ||
| --> | ||
| <exclusion> | ||
| <groupId>javax.servlet.jsp</groupId> | ||
| <artifactId>javax.servlet.jsp-api</artifactId> | ||
| <groupId>jakarta.servlet.jsp</groupId> | ||
| <artifactId>jakarta.servlet.jsp-api</artifactId> | ||
| </exclusion> | ||
| <!-- Stapler 1.195 fails to declare this as optional, and the 1.1 version lacks a license: --> | ||
| <exclusion> | ||
|
|
@@ -96,6 +96,11 @@ THE SOFTWARE. | |
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci.main</groupId> | ||
| <artifactId>websocket-jetty10</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci.main</groupId> | ||
| <artifactId>websocket-jetty9</artifactId> | ||
|
Vlatombe marked this conversation as resolved.
|
||
|
|
@@ -137,7 +142,7 @@ THE SOFTWARE. | |
| <groupId>org.jenkins-ci</groupId> | ||
| <artifactId>winstone</artifactId> | ||
| <!-- Make sure to keep jetty-maven-plugin elsewhere in this file in sync with the Jetty release in Winstone --> | ||
| <version>5.25</version> | ||
| <version>6.1</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -177,10 +182,15 @@ THE SOFTWARE. | |
| <enforceBytecodeVersion> | ||
| <maxJdkVersion>1.8</maxJdkVersion> | ||
| <excludes> | ||
| <exclude>org.jenkins-ci:commons-jelly</exclude> | ||
| <exclude>org.jenkins-ci.main:cli</exclude> | ||
| <exclude>org.jenkins-ci.main:jenkins-core</exclude> | ||
| <exclude>org.jenkins-ci.main:websocket-jetty9</exclude> | ||
| <exclude>org.jenkins-ci.main:websocket-jetty10</exclude> | ||
| <exclude>org.jenkins-ci.main:websocket-spi</exclude> | ||
| <exclude>org.kohsuke.stapler:stapler</exclude> | ||
| <exclude>org.kohsuke.stapler:stapler-groovy</exclude> | ||
| <exclude>org.kohsuke.stapler:stapler-jelly</exclude> | ||
| </excludes> | ||
| </enforceBytecodeVersion> | ||
| </rules> | ||
|
|
@@ -567,7 +577,7 @@ THE SOFTWARE. | |
| <plugin> | ||
| <groupId>org.eclipse.jetty</groupId> | ||
| <artifactId>jetty-maven-plugin</artifactId> | ||
| <version>9.4.46.v20220331</version> | ||
| <version>10.0.11</version> | ||
| <configuration> | ||
| <!-- | ||
| Reload webapp when you hit ENTER. (See JETTY-282 for more) | ||
|
|
@@ -584,54 +594,27 @@ THE SOFTWARE. | |
| </loginService> | ||
| </loginServices> | ||
| <systemProperties> | ||
| <systemProperty> | ||
| <name>JENKINS_HOME</name> | ||
| <value>${JENKINS_HOME}</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- always reload views during debugging --> | ||
| <name>stapler.jelly.noCache</name> | ||
| <value>true</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- show the stapler evaluation during execution --> | ||
| <name>stapler.trace</name> | ||
| <value>true</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- show the full stack trace on errors (the oops page) --> | ||
| <name>jenkins.model.Jenkins.SHOW_STACK_TRACE</name> | ||
| <value>true</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- always reload scripts during debugging --> | ||
| <name>hudson.script.noCache</name> | ||
| <value>true</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- load view resources from the source directly, again for real time change --> | ||
| <name>stapler.resourcePath</name> | ||
| <value>../core/src/main/resources;</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- enable the plugins in main by default --> | ||
| <name>hudson.bundled.plugins</name> | ||
| <!-- run "mvn install" once will generate the.hpl --> | ||
| <value>${project.build.directory}/${project.build.finalName}/WEB-INF/plugins/*.hpi</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <!-- stat collection pointless --> | ||
| <name>hudson.model.UsageStatistics.disabled</name> | ||
| <value>true</value> | ||
| </systemProperty> | ||
| <systemProperty> | ||
| <name>hudson.Main.development</name> | ||
| <value>true</value> | ||
| </systemProperty> | ||
| <JENKINS_HOME>${JENKINS_HOME}</JENKINS_HOME> | ||
| <!-- always reload views during debugging --> | ||
| <stapler.jelly.noCache>true</stapler.jelly.noCache> | ||
| <!-- show the stapler evaluation during execution --> | ||
| <stapler.trace>true</stapler.trace> | ||
| <!-- show the full stack trace on errors (the oops page) --> | ||
| <jenkins.model.Jenkins.SHOW_STACK_TRACE>true</jenkins.model.Jenkins.SHOW_STACK_TRACE> | ||
| <!-- always reload scripts during debugging --> | ||
| <hudson.script.noCache>true</hudson.script.noCache> | ||
| <!-- load view resources from the source directly, again for real time change --> | ||
| <stapler.resourcePath>../core/src/main/resources;</stapler.resourcePath> | ||
| <!-- enable the plugins in main by default --> | ||
| <!-- run "mvn install" once will generate the.hpl --> | ||
| <hudson.bundled.plugins>${project.build.directory}/${project.build.finalName}/WEB-INF/plugins/*.hpi</hudson.bundled.plugins> | ||
| <!-- stat collection pointless --> | ||
| <hudson.model.UsageStatistics.disabled>true</hudson.model.UsageStatistics.disabled> | ||
| <hudson.Main.development>true</hudson.Main.development> | ||
| </systemProperties> | ||
| <webApp> | ||
| <!-- Allows resources to be reloaded, and enable nicer console logging. --> | ||
| <extraClasspath>${project.basedir}/../core/src/main/resources,${project.basedir}/../core/target/classes,${project.build.directory}/support-log-formatter.jar</extraClasspath> | ||
| <!-- TODO eclipse/jetty.project#7970 <extraClasspath>${project.basedir}/../core/src/main/resources,${project.basedir}/../core/target/classes,${project.build.directory}/support-log-formatter.jar</extraClasspath> --> | ||
|
Member
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.
Member
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. Is there a workaround to this? i.e. without this we can't live reload resources from what I understand.
Member
Author
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. I don't believe there is, but the pain should be short-lived as this has already been fixed upstream and should be present in the next release of Jetty. |
||
| <contextPath>${contextPath}</contextPath> | ||
| <configurationDiscovered>false</configurationDiscovered> | ||
| <!-- see https://wiki.eclipse.org/Jetty/Howto/Avoid_slow_deployment --> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| The MIT License | ||
|
|
||
| Copyright (c) 2019, CloudBees, Inc. | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in | ||
| all copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| THE SOFTWARE. | ||
| --> | ||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
|
|
||
| <parent> | ||
| <groupId>org.jenkins-ci.main</groupId> | ||
| <artifactId>jenkins-parent</artifactId> | ||
| <version>${revision}${changelist}</version> | ||
| <relativePath>../..</relativePath> | ||
| </parent> | ||
|
|
||
| <artifactId>websocket-jetty10</artifactId> | ||
| <name>Jetty 10 implementation for WebSocket</name> | ||
| <description>An implementation of the WebSocket handler that works with Jetty 10.</description> | ||
|
|
||
| <dependencyManagement> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci.main</groupId> | ||
| <artifactId>jenkins-bom</artifactId> | ||
| <version>${project.version}</version> | ||
| <type>pom</type> | ||
| <scope>import</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| </dependencyManagement> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci</groupId> | ||
| <artifactId>winstone</artifactId> | ||
| <version>6.0</version> | ||
| <optional>true</optional> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.jenkins-ci.main</groupId> | ||
| <artifactId>websocket-spi</artifactId> | ||
| <version>${project.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.kohsuke</groupId> | ||
| <artifactId>access-modifier-annotation</artifactId> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.kohsuke.metainf-services</groupId> | ||
| <artifactId>metainf-services</artifactId> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-javadoc-plugin</artifactId> | ||
| <configuration> | ||
| <skip>true</skip> | ||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| </project> |
Uh oh!
There was an error while loading. Please reload this page.