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

Adding module-info.java to non-tests Jetty modules #3120

Merged
merged 81 commits into from
Nov 22, 2018
Merged
Show file tree
Hide file tree
Changes from 80 commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
d437af8
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 11, 2018
1f7f43b
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 11, 2018
03e9bb9
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 11, 2018
8b39254
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 11, 2018
07383b8
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 11, 2018
27c1333
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 11, 2018
ae71931
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
0e89fb0
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
2d6d848
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
e60bd62
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
4e0d5bc
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
925f5b5
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
643b410
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
ff1bde8
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
99632a3
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
d90a97f
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
3701413
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
c6fb586
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
3af50c9
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
266d418
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
f2282a6
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 12, 2018
ac7d32d
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 12, 2018
473f2f4
Merged 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 12, 2018
f2f2893
Merged 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 12, 2018
6238608
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 12, 2018
3de54d0
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 15, 2018
29a8080
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 16, 2018
15cb93a
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 16, 2018
db5e117
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 16, 2018
cfc27cc
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 16, 2018
897476d
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 16, 2018
1b359f0
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 16, 2018
11175f4
Issue #2983 - Jetty 10 Configuration abstraction.
sbordet Oct 16, 2018
eb89c5e
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 17, 2018
a542ec6
use plexus-java snapshot for javadoc jdk11 modules
olamy Oct 18, 2018
bb49c86
next release of plexus-java will be 0.9.11
olamy Oct 18, 2018
541aa83
use released version of plexus-java
olamy Oct 18, 2018
7661f72
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 18, 2018
b4ce27e
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 18, 2018
ad39eff
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 18, 2018
14d4231
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 18, 2018
73689af
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 19, 2018
b0bc843
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 19, 2018
585af59
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 22, 2018
8150ad7
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 22, 2018
cb2d1f5
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 22, 2018
e0855d4
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 22, 2018
f918e0e
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 22, 2018
0bb8fb9
Issue #3010 - Moving old MultiPart Parser
joakime Oct 22, 2018
f1b1e2f
Issue #3009 - Defaulting to non-LEGACY compliance modes
joakime Oct 22, 2018
97b1932
Issue #3011 - Moving HttpCompliance to HttpConfiguration
joakime Oct 22, 2018
d55ff59
Issue #3011 - Removing HttpConnectionFactory.getHttpCompliance()
joakime Oct 22, 2018
4f83d91
Issue #3009 - Fixing FCGI Test field value case difference
joakime Oct 22, 2018
0cdabc8
Using released maven-javadoc-plugin for jetty-bom
joakime Oct 22, 2018
8a42d2f
Removing unused/commented out xml (not used since 2011)
joakime Oct 22, 2018
dd83c0d
Removing rogue maven-source-plugin entry
joakime Oct 22, 2018
7e76768
Fixing GITBROWSEURL in jetty-documentation
joakime Oct 22, 2018
5a089a6
Removing underscore '_' from Classname
joakime Oct 22, 2018
e96140d
Issue #2998 Add key to DebugListener dump; ensure LoginService dumped
janbartel Oct 23, 2018
ba335e4
Issue #294 Initial enter scope for DebugListener (#3021)
janbartel Oct 23, 2018
2c51e3e
Issue #2903 Fix ListenerHolder.setListner (#3019)
janbartel Oct 23, 2018
ee3da44
Issue #2998 - Cleanup the dump implementation.
sbordet Oct 23, 2018
fcfa7dc
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 23, 2018
a1a47b9
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Oct 23, 2018
d1f6ab0
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Oct 23, 2018
5e3d304
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Nov 6, 2018
7b40b18
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 7, 2018
73e2436
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 7, 2018
7f30b4b
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 7, 2018
27d3161
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Nov 16, 2018
e6471fb
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 16, 2018
680293f
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 19, 2018
806b534
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 20, 2018
527e37e
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 20, 2018
3f77b9e
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 20, 2018
3b3826e
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 20, 2018
7c2ed7f
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Nov 20, 2018
c469c9e
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 21, 2018
45e5d14
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 21, 2018
391dbae
Issue #2978 - Add module-info to relevant Jetty modules.
sbordet Nov 22, 2018
faefec5
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-2978-add_module_info'.
sbordet Nov 22, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 29 additions & 33 deletions apache-jsp/pom.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,41 @@
<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">
<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">
<parent>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-project</artifactId>
<version>10.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>apache-jsp</artifactId>
<name>Jetty :: Apache JSP Implementation</name>
<url>http://www.eclipse.org/jetty</url>
<packaging>jar</packaging>

<properties>
<bundle-symbolic-name>${project.groupId}.apache-jsp</bundle-symbolic-name>
<jpms-module-name>${project.groupId}.apache.jsp</jpms-module-name>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Description>Jetty-specific ServletContainerInitializer for Jasper</Bundle-Description>
<Export-Package>org.eclipse.jetty.apache.jsp.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}",
org.eclipse.jetty.jsp.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
</Export-Package>
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional</Require-Capability>
<Provide-Capability>osgi.serviceloader;osgi.serviceloader=javax.servlet.ServletContainerInitializer,osgi.serviceloader;osgi.serviceloader=org.apache.juli.logging.Log</Provide-Capability>
<_nouses>true</_nouses>
</instructions>
</configuration>
<configuration>
<instructions>
<Bundle-Description>Jetty-specific ServletContainerInitializer for Jasper</Bundle-Description>
<Export-Package>
org.eclipse.jetty.apache.jsp.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}",
org.eclipse.jetty.jsp.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
</Export-Package>
<Require-Capability>osgi.extender;
filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional
</Require-Capability>
<Provide-Capability>
osgi.serviceloader;osgi.serviceloader=javax.servlet.ServletContainerInitializer,osgi.serviceloader;osgi.serviceloader=org.apache.juli.logging.Log
</Provide-Capability>
<_nouses>true</_nouses>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -61,38 +67,28 @@

<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${project.version}</version>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Schemas -->
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-schemas</artifactId>
</dependency>

<!-- servlet api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>

<!-- JSP Impl -->
<dependency>
<groupId>org.mortbay.jasper</groupId>
<artifactId>apache-jsp</artifactId>
</dependency>

<!-- Running in jetty needs annotations -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
<version>${project.version}</version>
</dependency>


<!-- tests -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
Expand All @@ -107,10 +103,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<groupId>org.eclipse.jetty.tests</groupId>
<artifactId>jetty-http-tools</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -119,4 +114,5 @@
<scope>test</scope>
</dependency>
</dependencies>

</project>
37 changes: 37 additions & 0 deletions apache-jsp/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//

import javax.servlet.ServletContainerInitializer;

import org.apache.juli.logging.Log;
import org.eclipse.jetty.apache.jsp.JettyJasperInitializer;
import org.eclipse.jetty.apache.jsp.JuliLog;

module org.eclipse.jetty.apache.jsp
{
exports org.eclipse.jetty.jsp;
exports org.eclipse.jetty.apache.jsp;

requires java.xml;
requires org.eclipse.jetty.util;
requires org.mortbay.apache.jasper;
requires static javax.servlet.api;

provides Log with JuliLog;
provides ServletContainerInitializer with JettyJasperInitializer;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@

package org.eclipse.jetty.jsp;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.not;

import java.io.File;
import java.io.IOException;
import java.net.URL;
Expand All @@ -36,7 +32,7 @@
import org.apache.jasper.runtime.JspFactoryImpl;
import org.apache.tomcat.InstanceManager;
import org.apache.tomcat.SimpleInstanceManager;
import org.eclipse.jetty.http.HttpTester;
import org.eclipse.jetty.http.tools.HttpTester;
import org.eclipse.jetty.servlet.ServletHolder;
import org.eclipse.jetty.servlet.ServletTester;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
Expand All @@ -47,6 +43,10 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.not;

@ExtendWith(WorkDirExtension.class)
public class TestJettyJspServlet
{
Expand Down
7 changes: 0 additions & 7 deletions examples/embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,5 @@
<artifactId>jetty-test-helper</artifactId>
<!-- scope>test</scope-->
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>
</project>
29 changes: 29 additions & 0 deletions jetty-alpn/jetty-alpn-client/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//

import org.eclipse.jetty.io.ssl.ALPNProcessor;

module org.eclipse.jetty.alpn.client
{
exports org.eclipse.jetty.alpn.client;

requires org.eclipse.jetty.util;
requires org.eclipse.jetty.io;

uses ALPNProcessor.Client;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//

import org.eclipse.jetty.alpn.conscrypt.client.ConscryptClientALPNProcessor;
import org.eclipse.jetty.io.ssl.ALPNProcessor;

module org.eclipse.jetty.alpn.conscrypt.client
{
requires org.eclipse.jetty.util;
requires org.eclipse.jetty.io;
requires org.eclipse.jetty.alpn.client;
requires conscrypt.openjdk.uber;

provides ALPNProcessor.Client with ConscryptClientALPNProcessor;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//

import org.eclipse.jetty.alpn.conscrypt.server.ConscryptServerALPNProcessor;
import org.eclipse.jetty.io.ssl.ALPNProcessor;

module org.eclipse.jetty.alpn.conscrypt.server
{
requires org.eclipse.jetty.util;
requires org.eclipse.jetty.io;
requires org.eclipse.jetty.alpn.server;
requires conscrypt.openjdk.uber;

provides ALPNProcessor.Server with ConscryptServerALPNProcessor;
}
29 changes: 29 additions & 0 deletions jetty-alpn/jetty-alpn-java-client/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//

import org.eclipse.jetty.alpn.java.client.JDK9ClientALPNProcessor;
import org.eclipse.jetty.io.ssl.ALPNProcessor;

module org.eclipse.jetty.alpn.java.client
{
requires org.eclipse.jetty.util;
requires org.eclipse.jetty.io;
requires org.eclipse.jetty.alpn.client;

provides ALPNProcessor.Client with JDK9ClientALPNProcessor;
}
9 changes: 9 additions & 0 deletions jetty-alpn/jetty-alpn-java-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@

<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
@{argLine}
--add-reads org.eclipse.jetty.alpn.java.server=org.eclipse.jetty.server
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand Down
29 changes: 29 additions & 0 deletions jetty-alpn/jetty-alpn-java-server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//

import org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor;
import org.eclipse.jetty.io.ssl.ALPNProcessor;

module org.eclipse.jetty.alpn.java.server
{
requires org.eclipse.jetty.util;
requires org.eclipse.jetty.io;
requires org.eclipse.jetty.alpn.server;

provides ALPNProcessor.Server with JDK9ServerALPNProcessor;
}
Loading