diff --git a/jetty-osgi/keep-test-jetty-osgi/pom.xml b/jetty-osgi/keep-test-jetty-osgi/pom.xml deleted file mode 100644 index 9f68f14a66c..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/pom.xml +++ /dev/null @@ -1,399 +0,0 @@ - - - org.eclipse.jetty.osgi - jetty-osgi-project - 9.0.0-SNAPSHOT - ../pom.xml - - 4.0.0 - test-jetty-osgi - Jetty :: OSGi :: Test - Jetty OSGi Integration tests - - ${project.groupId}.boot.test.spdy - http://download.eclipse.org/jetty/orbit/ - target/distribution - 2.6.0 - 1.4.0 - 1.5.1 - 4.0.3 - 1.0 - 1.7.6 - 1.1.0.v20120525 - - - - - - org.ops4j.pax.swissbox - pax-swissbox-core - ${paxswissbox.version} - test - - - org.ops4j.pax.swissbox - pax-swissbox-extender - ${paxswissbox.version} - test - - - org.ops4j.pax.swissbox - pax-swissbox-lifecycle - ${paxswissbox.version} - test - - - org.ops4j.pax.swissbox - pax-swissbox-framework - ${paxswissbox.version} - test - - - org.ops4j.pax.exam - pax-exam - ${exam.version} - test - - - org.apache.geronimo.specs - geronimo-atinject_1.0_spec - ${injection.bundle.version} - test - - - org.ops4j.pax.exam - pax-exam-inject - ${exam.version} - test - - - - - - - - - org.ops4j.pax.exam - pax-exam-container-paxrunner - ${exam.version} - test - - - - org.ops4j.pax.runner - pax-runner-no-jcl - ${runner.version} - test - - - - org.ops4j.pax.exam - pax-exam-junit4 - ${exam.version} - test - - - junit - junit - - - - - org.ops4j.pax.exam - pax-exam-link-mvn - ${exam.version} - test - - - org.ops4j.pax.url - pax-url-aether - ${url.version} - test - - - - org.apache.felix - org.apache.felix.framework - ${felixversion} - test - - - org.ops4j.pax.exam - pax-exam-testforge - ${exam.version} - test - - - - org.slf4j - slf4j-simple - 1.6.1 - test - - - - org.eclipse.jetty.orbit - javax.servlet - test - - - - - org.eclipse.jetty.osgi - jetty-osgi-boot - ${project.version} - provided - - - org.eclipse.jetty.osgi - jetty-osgi-boot-jsp - ${project.version} - provided - - - org.eclipse.jetty.osgi - jetty-httpservice - ${project.version} - provided - - - - org.eclipse.jetty - jetty-webapp - runtime - - - org.eclipse.jetty - jetty-deploy - runtime - - - org.eclipse.jetty - jetty-server - ${project.version} - runtime - - - org.eclipse.jetty - jetty-servlet - runtime - - - org.eclipse.jetty - jetty-servlets - runtime - - - org.eclipse.jetty - jetty-security - ${project.version} - runtime - - - org.eclipse.jetty - jetty-xml - ${project.version} - runtime - - - org.eclipse.jetty - jetty-jmx - runtime - - - org.eclipse.jetty - jetty-util - runtime - - - org.eclipse.jetty - jetty-client - ${project.version} - runtime - - - org.eclipse.jetty.websocket - websocket-api - ${project.version} - runtime - - - org.eclipse.jetty.websocket - websocket-common - ${project.version} - runtime - - - org.eclipse.jetty.websocket - websocket-client - ${project.version} - runtime - - - org.eclipse.jetty.websocket - websocket-servlet - ${project.version} - runtime - - - org.eclipse.jetty.websocket - websocket-server - ${project.version} - runtime - - - - org.eclipse.jetty.spdy - spdy-core - ${project.version} - test - - - org.eclipse.jetty.spdy - spdy-server - ${project.version} - test - - - org.eclipse.jetty.spdy - spdy-http-server - ${project.version} - test - - - org.eclipse.jetty.spdy - spdy-client - ${project.version} - test - - - org.mortbay.jetty.npn - npn-boot - ${npn-version} - test - - - - org.eclipse.jetty - jetty-plus - ${project.version} - runtime - - - - org.eclipse.osgi - org.eclipse.osgi - runtime - - - org.eclipse.osgi - org.eclipse.osgi.services - runtime - - - - javax.servlet - servlet-api - - - - - org.eclipse.equinox.http - servlet - runtime - - - org.eclipse.jetty - test-jetty-webapp - ${project.version} - webbundle - test - - - org.eclipse.jetty.toolchain - jetty-test-helper - test - - - - - - maven-surefire-plugin - - - - - -Dmortbay-npn-boot=${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${npn-version}/npn-boot-${npn-version}.jar - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - - 1.7 - 1.7 - - - - org.apache.servicemix.tooling - depends-maven-plugin - 1.2 - - - generate-depends-file - - generate-depends-file - - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.servicemix.tooling - depends-maven-plugin - [1.2,) - - generate-depends-file - - - - - - - - - - - - - - diff --git a/jetty-osgi/keep-test-jetty-osgi/src/main/resources/jetty-logging.properties b/jetty-osgi/keep-test-jetty-osgi/src/main/resources/jetty-logging.properties deleted file mode 100644 index 5250a08562a..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/main/resources/jetty-logging.properties +++ /dev/null @@ -1,2 +0,0 @@ -org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog -org.eclipse.jetty.spdy.LEVEL=WARN diff --git a/jetty-osgi/keep-test-jetty-osgi/src/main/resources/keystore.jks b/jetty-osgi/keep-test-jetty-osgi/src/main/resources/keystore.jks deleted file mode 100644 index 428ba54776e..00000000000 Binary files a/jetty-osgi/keep-test-jetty-osgi/src/main/resources/keystore.jks and /dev/null differ diff --git a/jetty-osgi/keep-test-jetty-osgi/src/main/resources/truststore.jks b/jetty-osgi/keep-test-jetty-osgi/src/main/resources/truststore.jks deleted file mode 100644 index 839cb8c3515..00000000000 Binary files a/jetty-osgi/keep-test-jetty-osgi/src/main/resources/truststore.jks and /dev/null differ diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-deployer.xml b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-deployer.xml deleted file mode 100644 index f3faa68b832..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-deployer.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern - .*/jsp-api-[^/]*\.jar$|.*/jsp-[^/]*\.jar$ - - - - - - - 0 - /contexts - - - - - - - - - - - - - diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-selector.xml b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-selector.xml deleted file mode 100644 index badf00e976d..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-selector.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - 300000 - - - - - diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-spdy.xml b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-spdy.xml deleted file mode 100644 index d3244b67c0b..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-spdy.xml +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - https - - - - 32768 - 8192 - 8192 - - - - - - - - - - - - - /etc/keystore - - OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 - OBF:1u2u1wml1z7s1z7a1wnl1u2g - /etc/keystore - - OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 - - - - - - - - - - - - - - - - - - - - - - - - - - - 5000 - 32 - - - - - - - - - - - - - - - - npn - - - - - - - - - - - spdy/3 - spdy/2 - http/1.1 - - - http/1.1 - - - - - - 3 - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - 30000 - - - - - diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-testrealm.xml b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-testrealm.xml deleted file mode 100644 index d26b427b5c2..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty-testrealm.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - Test Realm - realm.properties - 0 - - - - diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty.xml b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty.xml deleted file mode 100644 index 7df9ee2d003..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/jetty.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1000 - false - false - - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/keystore b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/keystore deleted file mode 100644 index 08f6cda8a7b..00000000000 Binary files a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/keystore and /dev/null differ diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/realm.properties b/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/realm.properties deleted file mode 100644 index cbf905de9fb..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/config/etc/realm.properties +++ /dev/null @@ -1,21 +0,0 @@ -# -# This file defines users passwords and roles for a HashUserRealm -# -# The format is -# : [, ...] -# -# Passwords may be clear text, obfuscated or checksummed. The class -# org.eclipse.util.Password should be used to generate obfuscated -# passwords or password checksums -# -# If DIGEST Authentication is used, the password must be in a recoverable -# format, either plain text or OBF:. -# -jetty: MD5:164c88b302622e17050af52c89945d44,user -admin: CRYPT:adpexzg3FUZAk,server-administrator,content-administrator,admin -other: OBF:1xmk1w261u9r1w1c1xmq,user -plain: plain,user -user: password,user - -# This entry is for digest auth. The credential is a MD5 hash of username:realmname:password -digest: MD5:6e120743ad67abfbc385bc2bb754e297,user diff --git a/jetty-osgi/keep-test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/AbstractTestOSGi.java b/jetty-osgi/keep-test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/AbstractTestOSGi.java deleted file mode 100644 index 0c4dcb86875..00000000000 --- a/jetty-osgi/keep-test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/AbstractTestOSGi.java +++ /dev/null @@ -1,195 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2013 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. -// ======================================================================== -// - -package org.eclipse.jetty.osgi.test; - -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import org.eclipse.jetty.client.HttpClient; -import org.eclipse.jetty.client.api.ContentResponse; -import org.eclipse.jetty.http.HttpStatus; -import org.eclipse.jetty.util.ssl.SslContextFactory; -import org.junit.Assert; -import org.ops4j.pax.exam.CoreOptions; -import org.ops4j.pax.exam.Option; -import org.osgi.framework.Bundle; -import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceReference; -import org.osgi.service.http.HttpService; - -/** - * Helper methods for pax-exam tests - */ -public class AbstractTestOSGi -{ - - private Map _bundles; - - /** - * Note: this will run many more tests. - * TODO: find a better way to control this and use non-deprecated methods. - * @param options - */ - protected static void addMoreOSGiContainers(List