-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #3162 - Use Jetty specific Servlet API jar. #3168
Conversation
* Updated module-info.java to reference the "jetty.servlet.api" module. * Updated POMs to reference the o.e.j.toolchain:jetty-servlet-api artifact. * Removed references to jetty-schemas.jar. * Updated attribute "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern" to match the new Jetty Servlet API jar. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@@ -13,8 +13,7 @@ logging | |||
threadpool | |||
|
|||
[lib] | |||
lib/servlet-api-4.0.jar | |||
lib/jetty-schemas-4.0.jar | |||
lib/jetty-servlet-api-4.0.0-SNAPSHOT.jar |
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.
Change this to lib/jetty-servlet-api-4.*.jar
@@ -105,7 +105,7 @@ The following artifacts are CDDL + GPLv2 with classpath exception. | |||
|
|||
https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html | |||
|
|||
org.eclipse.jetty.toolchain:jetty-schemas | |||
org.eclipse.jetty.toolchain:jetty-servlet-api |
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.
@jmcc0nn3ll and @janbartel since this new artifact jetty-servlet-api
is now ...
- CDDL
- and GPLv2 with Classpath Exception
- and Eclipse License
- and Apache License
... wouldn't we need to update this NOTICE file as well?
Or are the other sections of the NOTICE.txt sufficient for this?
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.
@joakime actually, our standard NOTICE file covers everything already, so that's the one that we should use.
Future proof reference of the jetty-servlet-api.jar. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Removed references to jetty-osgi-servlet-api. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…ng in the way) Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…ke on Windows, or within an IDE) Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…t (client) on OSGi Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@sbordet what's happening on this pr? |
Now I'm confused: why is this PR for servlet-api 3 when it is targeted for jetty-10??? |
@janbartel the original goal of this PR is to have a servlet-api jar that is JPMS friendly. Where do you see the Servlet 3.0 stuff? |
jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleContextProvider.java
Outdated
Show resolved
Hide resolved
jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleWebAppProvider.java
Outdated
Show resolved
Hide resolved
...y-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceContextProvider.java
Outdated
Show resolved
Hide resolved
jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceWebAppProvider.java
Outdated
Show resolved
Hide resolved
.../jetty-osgi-boot/src/main/resources/META-INF/services/org.eclipse.jetty.webapp.Configuration
Outdated
Show resolved
Hide resolved
...st-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2Conscrypt.java
Outdated
Show resolved
Hide resolved
...t-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java
Outdated
Show resolved
Hide resolved
apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspConfig.java
Outdated
Show resolved
Hide resolved
...mentation/src/main/asciidoc/administration/startup/screen-http-webapp-deploy-listconfig.adoc
Show resolved
Hide resolved
…3162_jetty_servlet_api Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com> # Conflicts: # jetty-client/pom.xml # jetty-http/pom.xml # jetty-http2/http2-client/pom.xml # jetty-http2/http2-http-client-transport/pom.xml # jetty-http2/http2-server/pom.xml # jetty-osgi/test-jetty-osgi/pom.xml # jetty-osgi/test-jetty-osgi/src/test/config/etc/jetty-with-custom-class.xml # jetty-osgi/test-jetty-osgi/src/test/config/etc/jetty.xml # jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2Conscrypt.java # jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java # jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java # jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithWebSocket.java # jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java # jetty-quickstart/pom.xml # jetty-servlets/pom.xml # jetty-util/pom.xml # jetty-websocket/javax-websocket-client/pom.xml # jetty-websocket/javax-websocket-server/pom.xml # jetty-websocket/jetty-websocket-server/pom.xml # pom.xml
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Introduced ClientConnector and refactored HttpClient transports, removing duplicated code that was connect() to a remote host. Refactored also HTTP2Client to reference ClientConnector. Refactored tests accordingly to the changes introduced in the implementations. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Added name to default executor and scheduler after review. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Rewrote HttpClientTransportOverUnixSockets in light of ClientConnector. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Reverted refactoring of newConnection() to avoid to bind the class to a too specific abstract method. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
…ache.org/jira/browse/MINVOKER-247 Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* Updated module-info.java to reference the "jetty.servlet.api" module. * Updated POMs to reference the o.e.j.toolchain:jetty-servlet-api artifact. * Removed references to jetty-schemas.jar. * Updated attribute "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern" to match the new Jetty Servlet API jar. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Removed references to jetty-osgi-servlet-api. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Updated to jetty-servlet-api:4.0.1, based on javax.servlet 4.0.1. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Updated to jetty-servlet-api:4.0.2, based on jakarta.servlet 4.0.2. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
jetty-documentation/src/main/asciidoc/development/maven/jetty-maven-plugin.adoc
Outdated
Show resolved
Hide resolved
Updated references to Servlet jar to "jetty-servlet-api". Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
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.
I'm good with the current state of the PR
@janbartel I have addressed your concerns with "containerIncludeJarPattern". |
@@ -65,7 +65,7 @@ Jetty Server Classpath: | |||
Version Information on 11 entries in the classpath. | |||
Note: order presented here is how they would appear on the classpath. | |||
changes to the --module=name command line options will be reflected here. | |||
0: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar | |||
0: 3.1.0 | ${jetty.home}/lib/jetty-servlet-api-4.0.2.jar |
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.
whoops. missed the version identifier before the |
@@ -158,7 +158,7 @@ Note: order presented here is how they would appear on the classpath. | |||
1: 1.4.1.v201005082020 | ${jetty.base}/lib/ext/javax.mail.glassfish-1.4.1.v201005082020.jar | |||
2: {VERSION} | ${jetty.base}/lib/ext/test-mock-resources-{VERSION}.jar | |||
3: (dir) | ${jetty.home}/resources | |||
4: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar | |||
4: 3.1.0 | ${jetty.home}/lib/jetty-servlet-api-4.0.2.jar |
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.
ditto, the version s/3.1.0/4.0.2/
@@ -162,7 +162,7 @@ Jetty Server Classpath: | |||
Version Information on 7 entries in the classpath. | |||
Note: order presented here is how they would appear on the classpath. | |||
changes to the --module=name command line options will be reflected here. | |||
0: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar | |||
0: 3.1.0 | ${jetty.home}/lib/jetty-servlet-api-4.0.2.jar |
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.
here too. s/3.1.0/4.0.2/
to match the new Jetty Servlet API jar.
Signed-off-by: Simone Bordet simone.bordet@gmail.com