From 435bed0c374e75e60456879cb965c35861608402 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Wed, 13 May 2015 23:13:16 +1000 Subject: [PATCH] fixed import into eclipse IDE --- apache-jsp/pom.xml | 8 ---- examples/embedded/pom.xml | 2 +- .../eclipse/jetty/embedded}/HelloWorld.java | 2 + jetty-annotations/pom.xml | 8 ---- jetty-osgi/jetty-osgi-boot-jsp/pom.xml | 9 ---- jetty-osgi/jetty-osgi-boot-warurl/pom.xml | 9 ---- jetty-osgi/jetty-osgi-boot/pom.xml | 9 ---- jetty-osgi/jetty-osgi-httpservice/pom.xml | 9 ---- jetty-osgi/test-jetty-osgi-context/pom.xml | 9 ---- jetty-osgi/test-jetty-osgi-webapp/pom.xml | 9 ---- jetty-websocket/websocket-server/pom.xml | 22 +++------ pom.xml | 18 +++++-- tests/test-webapps/test-jetty-webapp/pom.xml | 37 +++++--------- .../test-container-initializer/pom.xml | 9 ---- .../test-spec-webapp/pom.xml | 48 ++++++++----------- 15 files changed, 57 insertions(+), 151 deletions(-) rename examples/embedded/src/main/java/{ => org/eclipse/jetty/embedded}/HelloWorld.java (98%) diff --git a/apache-jsp/pom.xml b/apache-jsp/pom.xml index a69699ebbaf..33e568fafc0 100644 --- a/apache-jsp/pom.xml +++ b/apache-jsp/pom.xml @@ -18,12 +18,6 @@ org.apache.felix maven-bundle-plugin true - - - generate-manifest - - manifest - Jetty-specific ServletContainerInitializer for Jasper @@ -35,8 +29,6 @@ <_nouses>true - - org.apache.maven.plugins diff --git a/examples/embedded/pom.xml b/examples/embedded/pom.xml index 6fbb0b7cc12..452e0070091 100644 --- a/examples/embedded/pom.xml +++ b/examples/embedded/pom.xml @@ -12,7 +12,7 @@ Jetty Embedded Examples http://www.eclipse.org/jetty - ${project.groupId}.examples.embedded + ${project.groupId}.embedded diff --git a/examples/embedded/src/main/java/HelloWorld.java b/examples/embedded/src/main/java/org/eclipse/jetty/embedded/HelloWorld.java similarity index 98% rename from examples/embedded/src/main/java/HelloWorld.java rename to examples/embedded/src/main/java/org/eclipse/jetty/embedded/HelloWorld.java index 8b1c23197bc..0a6042dca1c 100644 --- a/examples/embedded/src/main/java/HelloWorld.java +++ b/examples/embedded/src/main/java/org/eclipse/jetty/embedded/HelloWorld.java @@ -16,6 +16,8 @@ // ======================================================================== // +package org.eclipse.jetty.embedded; + import java.io.IOException; import javax.servlet.ServletException; diff --git a/jetty-annotations/pom.xml b/jetty-annotations/pom.xml index 678e8d7dc68..68f97177003 100644 --- a/jetty-annotations/pom.xml +++ b/jetty-annotations/pom.xml @@ -18,20 +18,12 @@ org.apache.felix maven-bundle-plugin true - - - generate-manifest - - manifest - javax.servlet.*;version="[2.6.0,3.2)",org.objectweb.asm.*;version=5,* osgi.serviceloader; filter:="(osgi.serviceloader=javax.servlet.ServletContainerInitializer)";resolution:=optional;cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)" - - org.codehaus.mojo diff --git a/jetty-osgi/jetty-osgi-boot-jsp/pom.xml b/jetty-osgi/jetty-osgi-boot-jsp/pom.xml index 82d125b92dd..52c39871a01 100644 --- a/jetty-osgi/jetty-osgi-boot-jsp/pom.xml +++ b/jetty-osgi/jetty-osgi-boot-jsp/pom.xml @@ -73,15 +73,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - Jetty-OSGi-Jasper Integration diff --git a/jetty-osgi/jetty-osgi-boot-warurl/pom.xml b/jetty-osgi/jetty-osgi-boot-warurl/pom.xml index f45907d72bf..dd445d04d99 100644 --- a/jetty-osgi/jetty-osgi-boot-warurl/pom.xml +++ b/jetty-osgi/jetty-osgi-boot-warurl/pom.xml @@ -53,15 +53,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - RFC66 War URL diff --git a/jetty-osgi/jetty-osgi-boot/pom.xml b/jetty-osgi/jetty-osgi-boot/pom.xml index bdbdb65915f..5d04040ba3e 100644 --- a/jetty-osgi/jetty-osgi-boot/pom.xml +++ b/jetty-osgi/jetty-osgi-boot/pom.xml @@ -89,15 +89,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - org.eclipse.jetty.osgi.boot;singleton:=true diff --git a/jetty-osgi/jetty-osgi-httpservice/pom.xml b/jetty-osgi/jetty-osgi-httpservice/pom.xml index dc840b4fd80..d1b528877fd 100644 --- a/jetty-osgi/jetty-osgi-httpservice/pom.xml +++ b/jetty-osgi/jetty-osgi-httpservice/pom.xml @@ -83,15 +83,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - org.eclipse.jetty.osgi.httpservice diff --git a/jetty-osgi/test-jetty-osgi-context/pom.xml b/jetty-osgi/test-jetty-osgi-context/pom.xml index af63bd1a953..8c73192a98c 100644 --- a/jetty-osgi/test-jetty-osgi-context/pom.xml +++ b/jetty-osgi/test-jetty-osgi-context/pom.xml @@ -80,15 +80,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - org.eclipse.jetty.osgi.testcontext;singleton:=true diff --git a/jetty-osgi/test-jetty-osgi-webapp/pom.xml b/jetty-osgi/test-jetty-osgi-webapp/pom.xml index 4511aed2a61..2f7ad327b9c 100644 --- a/jetty-osgi/test-jetty-osgi-webapp/pom.xml +++ b/jetty-osgi/test-jetty-osgi-webapp/pom.xml @@ -73,15 +73,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - org.eclipse.jetty.osgi.testapp;singleton:=true diff --git a/jetty-websocket/websocket-server/pom.xml b/jetty-websocket/websocket-server/pom.xml index f170b82f190..ab8b2ce3413 100644 --- a/jetty-websocket/websocket-server/pom.xml +++ b/jetty-websocket/websocket-server/pom.xml @@ -20,21 +20,13 @@ org.apache.felix maven-bundle-plugin true - - - generate-manifest - - manifest - - - - osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)" - osgi.serviceloader; osgi.serviceloader=org.eclipse.jetty.websocket.servlet.WebSocketServletFactory - <_nouses>true - - - - + + + osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)" + osgi.serviceloader; osgi.serviceloader=org.eclipse.jetty.websocket.servlet.WebSocketServletFactory + <_nouses>true + + org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index fb2238c1852..cd570cfc497 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.eclipse.jetty jetty-parent - 24 + 25-SNAPSHOT jetty-project 9.3.0-SNAPSHOT @@ -34,8 +34,8 @@ maven-compiler-plugin 3.3 - 1.7 - 1.7 + 1.8 + 1.8 1.8 1.8 false @@ -245,6 +245,7 @@ maven-bundle-plugin + process-classes manifest @@ -702,6 +703,17 @@ aggregates/jetty-all + + + + maven-compiler-plugin + + 1.7 + 1.7 + + + + ci diff --git a/tests/test-webapps/test-jetty-webapp/pom.xml b/tests/test-webapps/test-jetty-webapp/pom.xml index 9bd118d59b1..e42a9dff349 100644 --- a/tests/test-webapps/test-jetty-webapp/pom.xml +++ b/tests/test-webapps/test-jetty-webapp/pom.xml @@ -81,31 +81,20 @@ war + + javax.servlet.jsp.*;version="[2.2.0,3.0)",javax.servlet.*;version="[2.6,3.2)",org.eclipse.jetty.*;version="[9.0,10.0)",* + !com.acme* + + / + + .,WEB-INF/classes + - - - bundle-manifest - process-classes - - manifest - - - - javax.servlet.jsp.*;version="[2.2.0,3.0)",javax.servlet.*;version="[2.6,3.2)",org.eclipse.jetty.*;version="[9.0,10.0)",* - !com.acme* - - / - - .,WEB-INF/classes - - - - diff --git a/tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml b/tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml index ec9c80f3eaf..d9ab2ee4f1c 100644 --- a/tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml +++ b/tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml @@ -40,15 +40,6 @@ org.apache.felix maven-bundle-plugin true - - - bundle-manifest - process-classes - - manifest - - - org.eclipse.jetty.tests.test-servlet-container-initializer;singleton:=true diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml b/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml index 10ef2088e7d..dbe202fb361 100644 --- a/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml +++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml @@ -71,36 +71,26 @@ war + + org.eclipse.jetty.tests.test-spec-webapp + Test Webapp for Servlet 3.1 Features + + javax.servlet.jsp.*;version="[2.2.0, 3.0)", + javax.transaction.*;version="[1.1, 2.0)", + javax.servlet.*;version="3.0", + javax.sql, + org.eclipse.jetty.webapp;version="9.2",org.eclipse.jetty.plus.jndi;version="9.2", + org.eclipse.jetty.security;version="9.2", + com.acme;version="9.2", + * + + com.acme.test;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" + / + .,WEB-INF/classes,WEB-INF/lib + /META-INF/plugin-context.xml + <_nouses>true + - - - process-classes - - manifest - - - - org.eclipse.jetty.tests.test-spec-webapp - Test Webapp for Servlet 3.1 Features - - javax.servlet.jsp.*;version="[2.2.0, 3.0)", - javax.transaction.*;version="[1.1, 2.0)", - javax.servlet.*;version="3.0", - javax.sql, - org.eclipse.jetty.webapp;version="9.2",org.eclipse.jetty.plus.jndi;version="9.2", - org.eclipse.jetty.security;version="9.2", - com.acme;version="9.2", - * - - com.acme.test;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" - / - .,WEB-INF/classes,WEB-INF/lib - ./META-INF/plugin-context.xml - <_nouses>true - - - -