Eliminating final protonego references

This commit is contained in:
Joakim Erdfelt 2015-02-12 10:14:01 -07:00
parent 30dda86b20
commit f7b9206b2e
44 changed files with 88 additions and 100 deletions

View File

@ -14,7 +14,7 @@
<Call name="addConnectionFactory"> <Call name="addConnectionFactory">
<Arg> <Arg>
<New id="protonego" class="org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory"> <New id="alpn" class="org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory">
<Arg type="String"> <Arg type="String">
<Property name="alpn.protocols" default="" /> <Property name="alpn.protocols" default="" />
</Arg> </Arg>

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.2.v20141202|lib/alpn/alpn-boot-8.1.2.v20141202.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.2.v20141202|lib/alpn/alpn-boot-8.1.2.v20141202.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.3.v20150130|lib/alpn/alpn-boot-8.1.3.v20150130.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.3.v20150130|lib/alpn/alpn-boot-8.1.3.v20150130.jar

View File

@ -4,7 +4,7 @@
# This modification has a tight dependency on specific recent updates of # This modification has a tight dependency on specific recent updates of
# Java 1.7 and Java 1.8 (Java versions prior to 1.7u40 are not supported). # Java 1.7 and Java 1.8 (Java versions prior to 1.7u40 are not supported).
# #
# The alpn protonego module will use an appropriate alpn-boot jar for your # The alpn module will use an appropriate alpn-boot jar for your
# specific version of Java. # specific version of Java.
# #
# IMPORTANT: Versions of Java that exist after this module was created are # IMPORTANT: Versions of Java that exist after this module was created are

View File

@ -84,55 +84,54 @@ public class ModulesTest
} }
List<String> expected = new ArrayList<>(); List<String> expected = new ArrayList<>();
expected.add("jmx"); expected.add("alpn");
expected.add("client"); expected.add("annotations");
expected.add("cdi"); expected.add("cdi");
expected.add("client");
expected.add("continuation"); expected.add("continuation");
expected.add("debug");
expected.add("deploy");
expected.add("ext");
expected.add("fcgi");
expected.add("gzip"); expected.add("gzip");
expected.add("hawtio"); expected.add("hawtio");
expected.add("home-base-warning");
expected.add("http");
expected.add("http2");
expected.add("https");
expected.add("ipaccess");
expected.add("jaas");
expected.add("jamon"); expected.add("jamon");
expected.add("jaspi"); expected.add("jaspi");
expected.add("jminix"); expected.add("jminix");
expected.add("jmx");
expected.add("jmx-remote"); expected.add("jmx-remote");
expected.add("jndi");
expected.add("jolokia"); expected.add("jolokia");
expected.add("jsp");
expected.add("jstl"); expected.add("jstl");
expected.add("jvm"); expected.add("jvm");
expected.add("logging");
expected.add("lowresources");
expected.add("monitor");
expected.add("plus");
expected.add("proxy");
expected.add("quickstart"); expected.add("quickstart");
expected.add("requestlog");
expected.add("resources");
expected.add("rewrite");
expected.add("security");
expected.add("server");
expected.add("servlet");
expected.add("servlets"); expected.add("servlets");
expected.add("setuid"); expected.add("setuid");
expected.add("spring"); expected.add("spring");
expected.add("home-base-warning");
expected.add("http2");
expected.add("fcgi");
expected.add("stats");
expected.add("deploy");
expected.add("debug");
expected.add("security");
expected.add("ext");
expected.add("websocket");
expected.add("rewrite");
expected.add("ipaccess");
expected.add("xinetd");
expected.add("proxy");
expected.add("webapp");
expected.add("jndi");
expected.add("lowresources");
expected.add("https");
expected.add("plus");
expected.add("requestlog");
expected.add("jsp");
// (only present if enabled) expected.add("jsp-impl");
expected.add("monitor");
expected.add("ssl"); expected.add("ssl");
expected.add("protonego"); expected.add("stats");
expected.add("servlet"); expected.add("webapp");
expected.add("jaas"); expected.add("websocket");
expected.add("http"); expected.add("xinetd");
expected.add("server");
expected.add("annotations");
expected.add("resources");
expected.add("logging");
ConfigurationAssert.assertContainsUnordered("All Modules",expected,moduleNames); ConfigurationAssert.assertContainsUnordered("All Modules",expected,moduleNames);
} }

View File

@ -53,8 +53,8 @@ public class TestBadUseCases
null}); null});
ret.add(new Object[]{ "http2", ret.add(new Object[]{ "http2",
"Missing referenced dependency: protonego-impl/alpn-1.7.0_01", "Missing referenced dependency: alpn-impl/alpn-1.7.0_01",
new String[]{"java.version=1.7.0_01", "protonego=alpn"}}); new String[]{"java.version=1.7.0_01"}});
return ret; return ret;
} }

View File

@ -3,9 +3,9 @@ XML|${jetty.base}/etc/home-base-warning.xml
XML|${jetty.base}/etc/jetty.xml XML|${jetty.base}/etc/jetty.xml
XML|${jetty.base}/etc/jetty-http.xml XML|${jetty.base}/etc/jetty-http.xml
XML|${jetty.base}/etc/jetty-ssl.xml XML|${jetty.base}/etc/jetty-ssl.xml
XML|${jetty.base}/etc/protonego-alpn.xml XML|${jetty.base}/etc/jetty-alpn.xml
XML|${jetty.base}/etc/jetty-http2.xml
XML|${jetty.base}/etc/jetty-deploy.xml XML|${jetty.base}/etc/jetty-deploy.xml
XML|${jetty.base}/etc/jetty-http2.xml
XML|${jetty.base}/etc/jetty-plus.xml XML|${jetty.base}/etc/jetty-plus.xml
XML|${jetty.base}/etc/jetty-annotations.xml XML|${jetty.base}/etc/jetty-annotations.xml
@ -57,7 +57,6 @@ PROP|jetty.keystore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
PROP|jetty.secure.port=8443 PROP|jetty.secure.port=8443
PROP|jetty.truststore=etc/keystore PROP|jetty.truststore=etc/keystore
PROP|jetty.truststore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 PROP|jetty.truststore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
PROP|protonego=alpn
PROP|ssl.port=8443 PROP|ssl.port=8443
PROP|ssl.timeout=30000 PROP|ssl.timeout=30000
# (these are the ones set by default from jetty.home modules) # (these are the ones set by default from jetty.home modules)

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.2.v20141202|lib/alpn/alpn-boot-8.1.2.v20141202.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.2.v20141202|lib/alpn/alpn-boot-8.1.2.v20141202.jar

View File

@ -1,5 +1,5 @@
[name] [name]
protonego-boot alpn-boot
[files] [files]
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.3.v20150130|lib/alpn/alpn-boot-8.1.3.v20150130.jar maven://org.mortbay.jetty.alpn/alpn-boot/8.1.3.v20150130|lib/alpn/alpn-boot-8.1.3.v20150130.jar

View File

@ -1,11 +1,10 @@
# ALPN is provided via a -Xbootclasspath that modifies the secure connections # ALPN is provided via a -Xbootclasspath that modifies the secure connections
# in java to support the ALPN layer needed for HTTP/2 # in java to support the ALPN layer needed for HTTP/2.
# #
# This modification has a tight dependency on specific recent updates of # This modification has a tight dependency on specific recent updates of
# Java 1.7 and Java 1.8 # Java 1.7 and Java 1.8 (Java versions prior to 1.7u40 are not supported).
# (Java versions prior to 1.7u40 are not supported)
# #
# The alpn protonego module will use an appropriate alpn-boot jar for your # The alpn module will use an appropriate alpn-boot jar for your
# specific version of Java. # specific version of Java.
# #
# IMPORTANT: Versions of Java that exist after this module was created are # IMPORTANT: Versions of Java that exist after this module was created are
@ -18,19 +17,28 @@
# http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/ # http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/
[name] [name]
protonego-impl alpn
[depend] [depend]
protonego-impl/alpn-${java.version} ssl
alpn-impl/alpn-${java.version}
[lib] [lib]
lib/jetty-alpn-client-${jetty.version}.jar lib/jetty-alpn-client-${jetty.version}.jar
lib/jetty-alpn-server-${jetty.version}.jar lib/jetty-alpn-server-${jetty.version}.jar
[xml]
etc/jetty-alpn.xml
[files] [files]
lib/ lib/
lib/alpn/ lib/alpn/
[ini-template]
# Configuration for ALPN
# alpn.protocols=h2-14,http/1.1
# alpn.defaultProtocol=http/1.1
[license] [license]
ALPN is a hosted at github under the GPL v2 with ClassPath Exception. ALPN is a hosted at github under the GPL v2 with ClassPath Exception.
ALPN replaces/modifies OpenJDK classes in the java.sun.security.ssl package. ALPN replaces/modifies OpenJDK classes in the java.sun.security.ssl package.

View File

@ -4,13 +4,12 @@
[depend] [depend]
ssl ssl
protonego alpn
[lib] [lib]
lib/http2/*.jar lib/http2/*.jar
[xml] [xml]
etc/protonego-${protonego}.xml
etc/jetty-http2.xml etc/jetty-http2.xml
[ini-template] [ini-template]

View File

@ -1,16 +0,0 @@
#
# Protocol Negotiatin Selection Module
#
[depend]
protonego-impl/${protonego}
[ini-template]
# Protocol Negotiation Implementation Selection
# Always set to 'alpn'
protonego=alpn
# Configuration for ALPN
# alpn.protocols=h2-14,http/1.1
# alpn.defaultProtocol=http/1.1

View File

@ -3,7 +3,7 @@ XML|${jetty.home}/etc/jetty.xml
XML|${jetty.home}/etc/jetty-http.xml XML|${jetty.home}/etc/jetty-http.xml
XML|${jetty.home}/etc/jetty-jmx.xml XML|${jetty.home}/etc/jetty-jmx.xml
XML|${jetty.home}/etc/jetty-ssl.xml XML|${jetty.home}/etc/jetty-ssl.xml
XML|${jetty.home}/etc/protonego-alpn.xml XML|${jetty.home}/etc/jetty-alpn.xml
XML|${jetty.home}/etc/jetty-http2.xml XML|${jetty.home}/etc/jetty-http2.xml
@ -31,7 +31,6 @@ PROP|jetty.keymanager.password=icecream
PROP|jetty.truststore=etc/keystore PROP|jetty.truststore=etc/keystore
PROP|jetty.truststore.password=sundae PROP|jetty.truststore.password=sundae
PROP|java.version=1.7.0_60 PROP|java.version=1.7.0_60
PROP|protonego=alpn
PROP|ssl.port=8443 PROP|ssl.port=8443
PROP|ssl.timeout=30000 PROP|ssl.timeout=30000
# (these are the ones set by default from jetty.home modules) # (these are the ones set by default from jetty.home modules)