Fixes #11778 - jetty-http-spi does not properly provide SPI for modules.
Fixed all module-info.java files that did not have a "provides" declaration but had META-INF/services files. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
b16460252f
commit
65a016d1aa
|
@ -11,6 +11,9 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import com.sun.net.httpserver.spi.HttpServerProvider;
|
||||
import org.eclipse.jetty.http.spi.JettyHttpServerProvider;
|
||||
|
||||
module org.eclipse.jetty.http.spi
|
||||
{
|
||||
requires transitive jdk.httpserver;
|
||||
|
@ -19,4 +22,6 @@ module org.eclipse.jetty.http.spi
|
|||
requires transitive org.eclipse.jetty.util;
|
||||
|
||||
exports org.eclipse.jetty.http.spi;
|
||||
}
|
||||
|
||||
provides HttpServerProvider with JettyHttpServerProvider;
|
||||
}
|
||||
|
|
|
@ -27,9 +27,10 @@ module org.eclipse.jetty.websocket.core.common
|
|||
org.eclipse.jetty.util; // Export to DecoratedObjectFactory.
|
||||
|
||||
uses org.eclipse.jetty.websocket.core.Extension;
|
||||
|
||||
|
||||
provides org.eclipse.jetty.websocket.core.Extension with
|
||||
org.eclipse.jetty.websocket.core.internal.FragmentExtension,
|
||||
org.eclipse.jetty.websocket.core.internal.FrameCaptureExtension,
|
||||
org.eclipse.jetty.websocket.core.internal.IdentityExtension,
|
||||
org.eclipse.jetty.websocket.core.internal.PerMessageDeflateExtension,
|
||||
org.eclipse.jetty.websocket.core.internal.ValidationExtension;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
org.eclipse.jetty.websocket.core.internal.IdentityExtension
|
||||
org.eclipse.jetty.websocket.core.internal.FragmentExtension
|
||||
org.eclipse.jetty.websocket.core.internal.FrameCaptureExtension
|
||||
org.eclipse.jetty.websocket.core.internal.IdentityExtension
|
||||
org.eclipse.jetty.websocket.core.internal.PerMessageDeflateExtension
|
||||
org.eclipse.jetty.websocket.core.internal.ValidationExtension
|
||||
org.eclipse.jetty.websocket.core.internal.FrameCaptureExtension
|
|
@ -11,6 +11,11 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import jakarta.servlet.ServletContainerInitializer;
|
||||
import org.eclipse.jetty.ee10.cdi.CdiConfiguration;
|
||||
import org.eclipse.jetty.ee10.cdi.CdiServletContainerInitializer;
|
||||
import org.eclipse.jetty.ee10.webapp.Configuration;
|
||||
|
||||
module org.eclipse.jetty.ee10.cdi
|
||||
{
|
||||
requires org.eclipse.jetty.ee10.annotations;
|
||||
|
@ -19,4 +24,7 @@ module org.eclipse.jetty.ee10.cdi
|
|||
requires transitive org.eclipse.jetty.ee10.webapp;
|
||||
|
||||
exports org.eclipse.jetty.ee10.cdi;
|
||||
}
|
||||
|
||||
provides ServletContainerInitializer with CdiServletContainerInitializer;
|
||||
provides Configuration with CdiConfiguration;
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
org.eclipse.jetty.ee10.plus.webapp.PlusConfiguration
|
||||
org.eclipse.jetty.ee10.plus.webapp.EnvConfiguration
|
||||
org.eclipse.jetty.ee10.plus.webapp.PlusConfiguration
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import org.eclipse.jetty.ee10.quickstart.QuickStartConfiguration;
|
||||
import org.eclipse.jetty.ee10.quickstart.QuickStartGeneratorConfiguration;
|
||||
import org.eclipse.jetty.ee10.webapp.Configuration;
|
||||
|
||||
module org.eclipse.jetty.ee10.quickstart
|
||||
{
|
||||
requires jakarta.servlet;
|
||||
|
@ -19,4 +23,6 @@ module org.eclipse.jetty.ee10.quickstart
|
|||
requires transitive org.eclipse.jetty.ee10.annotations;
|
||||
|
||||
exports org.eclipse.jetty.ee10.quickstart;
|
||||
|
||||
provides Configuration with QuickStartConfiguration, QuickStartGeneratorConfiguration;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
org.eclipse.jetty.test.jmx.MyContainerInitializer
|
||||
org.eclipse.jetty.ee10.test.jmx.MyContainerInitializer
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
org.eclipse.jetty.ee10.webapp.FragmentConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JettyWebXmlConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JaasConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JaspiConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JettyWebXmlConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JmxConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JndiConfiguration
|
||||
org.eclipse.jetty.ee10.webapp.JspConfiguration
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import jakarta.servlet.ServletContainerInitializer;
|
||||
import org.eclipse.jetty.ee9.cdi.CdiConfiguration;
|
||||
import org.eclipse.jetty.ee9.cdi.CdiServletContainerInitializer;
|
||||
import org.eclipse.jetty.ee9.webapp.Configuration;
|
||||
|
||||
module org.eclipse.jetty.ee9.cdi
|
||||
{
|
||||
requires org.eclipse.jetty.ee9.annotations;
|
||||
|
@ -18,4 +23,7 @@ module org.eclipse.jetty.ee9.cdi
|
|||
requires transitive org.eclipse.jetty.ee9.webapp;
|
||||
|
||||
exports org.eclipse.jetty.ee9.cdi;
|
||||
}
|
||||
|
||||
provides ServletContainerInitializer with CdiServletContainerInitializer;
|
||||
provides Configuration with CdiConfiguration;
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
org.eclipse.jetty.ee9.plus.webapp.PlusConfiguration
|
||||
org.eclipse.jetty.ee9.plus.webapp.EnvConfiguration
|
||||
org.eclipse.jetty.ee9.plus.webapp.PlusConfiguration
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
// ========================================================================
|
||||
//
|
||||
|
||||
import org.eclipse.jetty.ee9.quickstart.QuickStartConfiguration;
|
||||
import org.eclipse.jetty.ee9.quickstart.QuickStartGeneratorConfiguration;
|
||||
import org.eclipse.jetty.ee9.webapp.Configuration;
|
||||
|
||||
module org.eclipse.jetty.ee9.quickstart
|
||||
{
|
||||
requires jetty.servlet.api;
|
||||
|
@ -19,4 +23,6 @@ module org.eclipse.jetty.ee9.quickstart
|
|||
requires transitive org.eclipse.jetty.ee9.annotations;
|
||||
|
||||
exports org.eclipse.jetty.ee9.quickstart;
|
||||
|
||||
provides Configuration with QuickStartConfiguration, QuickStartGeneratorConfiguration;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
org.eclipse.jetty.test.jmx.MyContainerInitializer
|
||||
org.eclipse.jetty.ee9.test.jmx.MyContainerInitializer
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
org.eclipse.jetty.ee9.cdi.owb.OwbServletContainerInitializer
|
|
@ -1,7 +1,7 @@
|
|||
org.eclipse.jetty.ee9.webapp.FragmentConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JettyWebXmlConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JaasConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JaspiConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JettyWebXmlConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JmxConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JndiConfiguration
|
||||
org.eclipse.jetty.ee9.webapp.JspConfiguration
|
||||
|
|
Loading…
Reference in New Issue