From b147563525e9b0b059acb94cb39c6cf0f439bdb8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 22 Oct 2012 16:44:11 +0200 Subject: o Getting the Jetty dependencies correct for JSPX support. --- booter-jetty8/pom.xml | 40 ++++++++++++++++++++-- .../java/io/trygvis/appsh/booter/jetty8/Main.java | 2 +- examples/app-a-bundle/pom.xml | 1 + examples/app-a-web/pom.xml | 1 + pom.xml | 2 +- 5 files changed, 42 insertions(+), 4 deletions(-) diff --git a/booter-jetty8/pom.xml b/booter-jetty8/pom.xml index 78987d6..98d4b59 100644 --- a/booter-jetty8/pom.xml +++ b/booter-jetty8/pom.xml @@ -20,15 +20,51 @@ jetty-webapp ${versions.jetty8} + + org.eclipse.jetty.orbit - org.apache.jasper.glassfish - 2.2.2.v201112011158 + com.sun.el + 2.2.0.v201108011116 org.eclipse.jetty.orbit javax.el 2.2.0.v201108011116 + + org.eclipse.jetty.orbit + javax.servlet.jsp + 2.2.0.v201112011158 + + + org.eclipse.jetty.orbit + javax.servlet.jsp.jstl + 1.2.0.v201105211821 + + + org.eclipse.jetty.orbit + org.apache.jasper.glassfish + 2.2.2.v201112011158 + + + org.eclipse.jetty.orbit + org.apache.taglibs.standard.glassfish + 1.2.0.v201112081803 + + + org.eclipse.jetty.orbit + org.eclipse.jdt.core + 3.7.1 + diff --git a/booter-jetty8/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java b/booter-jetty8/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java index b69ff1d..15279dc 100644 --- a/booter-jetty8/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java +++ b/booter-jetty8/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java @@ -51,7 +51,7 @@ public class Main { } } - String httpPort = properties.getProperty("http.port"); + String httpPort = properties.getProperty("httpPort", System.getenv("httpPort")); if (httpPort != null) { server.setHttpPort(parseInt(httpPort)); } diff --git a/examples/app-a-bundle/pom.xml b/examples/app-a-bundle/pom.xml index 63b4c5a..04d5e43 100644 --- a/examples/app-a-bundle/pom.xml +++ b/examples/app-a-bundle/pom.xml @@ -4,6 +4,7 @@ io.trygvis.appsh appsh-parent 1.0-SNAPSHOT + ../../pom.xml io.trygvis.appsh.examples app-a-bundle diff --git a/examples/app-a-web/pom.xml b/examples/app-a-web/pom.xml index 4258644..2db17e2 100644 --- a/examples/app-a-web/pom.xml +++ b/examples/app-a-web/pom.xml @@ -4,6 +4,7 @@ io.trygvis.appsh appsh-parent 1.0-SNAPSHOT + ../../pom.xml io.trygvis.appsh.examples app-a-web diff --git a/pom.xml b/pom.xml index fc0bb40..0a0b065 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ 3.0.0 - 8.1.4.v20120524 + 8.1.7.v20120910 1.6 1.6 UTF-8 -- cgit v1.2.3