diff --git a/.gitignore b/.gitignore index 150f08fee..1c4ce733e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ target src/main/webapp/META-INF .idea *.iml +.env diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..1b91529dc --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war \ No newline at end of file diff --git a/README.md b/README.md index d0f5de48f..8d7c56ce8 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,7 @@ Note: This showcase originated from a [blog post](http://blog.springsource.com/2010/07/22/spring-mvc-3-showcase/) and was adapted into a SpringOne presentation called [Mastering MVC 3](http://www.infoq.com/presentations/Mastering-Spring-MVC-3). A screen cast showing the showcase in action is [available in QuickTime format](http://s3.springsource.org/MVC/mvc-showcase-screencast.mov). + +#test1 +#test2 +TEST more and more \ No newline at end of file diff --git a/app.json b/app.json new file mode 100644 index 000000000..f14cfab03 --- /dev/null +++ b/app.json @@ -0,0 +1,24 @@ +{ + "name": "spring-mvc-showcase", + "scripts": { + }, + "env": { + }, + "formation": { + "web": { + "quantity": 1 + } + }, + "addons": [ + "librato", + "loaderio", + "papertrail", + "pingdom", + "tinfoilsecurity" + ], + "buildpacks": [ + { + "url": "heroku/java" + } + ] +} diff --git a/pom.xml b/pom.xml index f3bae982b..b9ebd0e75 100644 --- a/pom.xml +++ b/pom.xml @@ -296,6 +296,27 @@ + + org.apache.maven.plugins + maven-dependency-plugin + 2.3 + + + package + copy + + + + com.github.jsimone + webapp-runner + 8.0.30.2 + webapp-runner.jar + + + + + +