Issue #6586 - remove unnecessary dependencies (#6599)

* Issue #6586 Remove unnecessary dependencies

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2021-08-17 16:58:35 +10:00 committed by GitHub
parent a5b1845e60
commit a7a2ae6f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 36 deletions

View File

@ -80,12 +80,6 @@
<groupId>org.mortbay.jasper</groupId> <groupId>org.mortbay.jasper</groupId>
<artifactId>apache-jsp</artifactId> <artifactId>apache-jsp</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId> <artifactId>jetty-servlet</artifactId>

View File

@ -60,14 +60,19 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId> <artifactId>jetty-server</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-security</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.jetty.orbit</groupId> <groupId>org.eclipse.jetty.orbit</groupId>
<artifactId>javax.mail.glassfish</artifactId> <artifactId>javax.mail.glassfish</artifactId>
<version>1.4.1.v201005082020</version>
<scope>provided</scope> <scope>provided</scope>
<exclusions> <exclusions>
<exclusion> <exclusion>

View File

@ -80,13 +80,6 @@
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jmx</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-slf4j-impl</artifactId> <artifactId>jetty-slf4j-impl</artifactId>

View File

@ -13,8 +13,6 @@
package org.eclipse.jetty.webapp; package org.eclipse.jetty.webapp;
import java.util.ServiceLoader;
import org.eclipse.jetty.util.Loader; import org.eclipse.jetty.util.Loader;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -24,9 +22,7 @@ import org.slf4j.LoggerFactory;
* <p>This configuration configures the WebAppContext server/system classes to * <p>This configuration configures the WebAppContext server/system classes to
* be able to see the org.eclipse.jetty.jaas package. * be able to see the org.eclipse.jetty.jaas package.
* This class is defined in the webapp package, as it implements the {@link Configuration} interface, * This class is defined in the webapp package, as it implements the {@link Configuration} interface,
* which is unknown to the jaas package. However, the corresponding {@link ServiceLoader} * which is unknown to the jaas package.
* resource is defined in the jaas package, so that this configuration only be
* loaded if the jetty-jaas jars are on the classpath.
* </p> * </p>
*/ */
public class JaasConfiguration extends AbstractConfiguration public class JaasConfiguration extends AbstractConfiguration

View File

@ -24,7 +24,7 @@ import org.slf4j.LoggerFactory;
/** /**
* JettyWebConfiguration. * JettyWebConfiguration.
* *
* Looks for XmlConfiguration files in WEB-INF. Searches in order for the first of jetty6-web.xml, jetty-web.xml or web-jetty.xml * Looks for XmlConfiguration files in WEB-INF. Searches in order for the first of jetty8-web.xml, jetty-web.xml or web-jetty.xml
*/ */
public class JettyWebXmlConfiguration extends AbstractConfiguration public class JettyWebXmlConfiguration extends AbstractConfiguration
{ {

View File

@ -13,8 +13,6 @@
package org.eclipse.jetty.webapp; package org.eclipse.jetty.webapp;
import java.util.ServiceLoader;
import org.eclipse.jetty.util.Loader; import org.eclipse.jetty.util.Loader;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -24,9 +22,7 @@ import org.slf4j.LoggerFactory;
* <p>This configuration configures the WebAppContext server/system classes to * <p>This configuration configures the WebAppContext server/system classes to
* be able to see the org.eclipse.jetty.jmx package. This class is defined * be able to see the org.eclipse.jetty.jmx package. This class is defined
* in the webapp package, as it implements the {@link Configuration} interface, * in the webapp package, as it implements the {@link Configuration} interface,
* which is unknown to the jmx package. However, the corresponding {@link ServiceLoader} * which is unknown to the jmx package.
* resource is defined in the jmx package, so that this configuration only be
* loaded if the jetty-jmx jars are on the classpath.
* </p> * </p>
*/ */
public class JmxConfiguration extends AbstractConfiguration public class JmxConfiguration extends AbstractConfiguration

View File

@ -13,8 +13,6 @@
package org.eclipse.jetty.webapp; package org.eclipse.jetty.webapp;
import java.util.ServiceLoader;
import org.eclipse.jetty.util.Loader; import org.eclipse.jetty.util.Loader;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -24,9 +22,7 @@ import org.slf4j.LoggerFactory;
* <p>This configuration configures the WebAppContext system/server classes to * <p>This configuration configures the WebAppContext system/server classes to
* be able to see the org.eclipse.jetty.jaas package. * be able to see the org.eclipse.jetty.jaas package.
* This class is defined in the webapp package, as it implements the {@link Configuration} interface, * This class is defined in the webapp package, as it implements the {@link Configuration} interface,
* which is unknown to the jndi package. However, the corresponding {@link ServiceLoader} * which is unknown to the jndi package.
* resource is defined in the jndi package, so that this configuration only be
* loaded if the jetty-jndi jars are on the classpath.
* </p> * </p>
*/ */
public class JndiConfiguration extends AbstractConfiguration public class JndiConfiguration extends AbstractConfiguration

View File

@ -13,8 +13,6 @@
package org.eclipse.jetty.webapp; package org.eclipse.jetty.webapp;
import java.util.ServiceLoader;
import org.eclipse.jetty.util.Loader; import org.eclipse.jetty.util.Loader;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -24,9 +22,7 @@ import org.slf4j.LoggerFactory;
* <p>This configuration configures the WebAppContext server/system classes to * <p>This configuration configures the WebAppContext server/system classes to
* be able to see the org.eclipse.jetty.jsp and org.eclipse.jetty.apache packages. * be able to see the org.eclipse.jetty.jsp and org.eclipse.jetty.apache packages.
* This class is defined in the webapp package, as it implements the {@link Configuration} interface, * This class is defined in the webapp package, as it implements the {@link Configuration} interface,
* which is unknown to the jsp package. However, the corresponding {@link ServiceLoader} * which is unknown to the jsp package.
* resource is defined in the jsp package, so that this configuration only be
* loaded if the jetty-jsp jars are on the classpath.
* </p> * </p>
*/ */
public class JspConfiguration extends AbstractConfiguration public class JspConfiguration extends AbstractConfiguration