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