From 80990155ce60bbbe0c8e0b7ba1ce710315c74b05 Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 11 Oct 2012 12:03:23 -0600 Subject: [PATCH] init --- .gitignore | 3 ++ Procfile | 1 + pom.xml | 61 ++++++++++++++++++++++++++++++++++++++ src/main/webapp/index.html | 47 +++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 .gitignore create mode 100644 Procfile create mode 100644 pom.xml create mode 100644 src/main/webapp/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0aa5210 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/.idea +/*.iml +/target diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..676731d --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: java $JAVA_OPTS -jar target/dependency/jetty-runner.jar --port $PORT target/*.war \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c13f7a9 --- /dev/null +++ b/pom.xml @@ -0,0 +1,61 @@ + + + + 4.0.0 + com.jamesward + sample-jetty-war + 1.0-SNAPSHOT + war + + + + webjars + http://webjars.github.com/m2 + + + + + + org.webjars + bootstrap + 2.1.1 + + + + + + + org.apache.maven.plugins + maven-war-plugin + 2.2 + + false + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.3 + + + package + copy + + + + org.mortbay.jetty + jetty-runner + 8.1.6.v20120903 + jetty-runner.jar + + + + + + + + + + diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html new file mode 100644 index 0000000..ea76388 --- /dev/null +++ b/src/main/webapp/index.html @@ -0,0 +1,47 @@ + + + + WebJars Sample - Jetty WAR + + + + + + + + + +
+ +
+ + + + \ No newline at end of file