Skip to content
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

Use Jetty specific Servlet API jar #3162

Closed
sbordet opened this issue Nov 29, 2018 · 1 comment
Closed

Use Jetty specific Servlet API jar #3162

sbordet opened this issue Nov 29, 2018 · 1 comment
Milestone

Comments

@sbordet
Copy link
Contributor

sbordet commented Nov 29, 2018

Jetty is currently using the official javax.servlet:javax.servlet-api:4.0.1 dependency.
However, that dependency does not play well with JPMS since it lacks the XML schema definitions that are loaded from ServletContext.
Furthermore, it does not have a proper JPMS module name.

Other projects have already repackaged the official Servlet API jar into their own, and we should do so as well rather than waiting for a JakartaEE release which may take a long time.

See also jetty/jetty-toolchain#20 and #2989.

@sbordet sbordet added this to the 10.0.x milestone Nov 29, 2018
sbordet added a commit that referenced this issue Nov 29, 2018
* 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>
sbordet added a commit that referenced this issue Nov 29, 2018
Future proof reference of the jetty-servlet-api.jar.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
sbordet added a commit that referenced this issue Nov 29, 2018
Removed references to jetty-osgi-servlet-api.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
…ng in the way)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 3, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 4, 2018
…ke on Windows, or within an IDE)

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 4, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Dec 4, 2018
…t (client) on OSGi

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
gregw pushed a commit that referenced this issue Dec 12, 2018
…t (client) on OSGi

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Jan 30, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Jan 30, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Jan 30, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
sbordet added a commit that referenced this issue Feb 4, 2019
* 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>
sbordet added a commit that referenced this issue Feb 4, 2019
Removed references to jetty-osgi-servlet-api.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
sbordet pushed a commit that referenced this issue Feb 4, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
sbordet pushed a commit that referenced this issue Feb 4, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
sbordet pushed a commit that referenced this issue Feb 4, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
sbordet added a commit that referenced this issue Feb 4, 2019
Updated to jetty-servlet-api:4.0.1, based on javax.servlet 4.0.1.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
sbordet added a commit that referenced this issue Feb 4, 2019
Updated to jetty-servlet-api:4.0.2, based on jakarta.servlet 4.0.2.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
joakime added a commit that referenced this issue Feb 5, 2019
joakime added a commit that referenced this issue Feb 5, 2019
sbordet added a commit that referenced this issue Feb 7, 2019
Updated references to Servlet jar to "jetty-servlet-api".

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
sbordet added a commit that referenced this issue Feb 7, 2019
…_api

Issue #3162 - Use Jetty specific Servlet API jar.
@sbordet
Copy link
Contributor Author

sbordet commented Feb 7, 2019

Fixed, now using jetty-servlet-api-4.0.2 based on jakarta.servlet-api 4.0.2.

@sbordet sbordet closed this as completed Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant