diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..e69342e --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: java $JAVA_OPTS -jar target/dependency/jetty-runner.jar --port $PORT target/*.war diff --git a/README.md b/README.md index 581ae95..fd0fd7b 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ -# JavaRepo \ No newline at end of file +# Simple Java Project +This is a demo project that you can use with [Buddy Continuous Deployment](https://buddy.works). diff --git a/main.workflow b/main.workflow new file mode 100644 index 0000000..8a55bd6 --- /dev/null +++ b/main.workflow @@ -0,0 +1,8 @@ +workflow "New workflow" { + on = "push" + resolves = ["GitHub Action for npm"] +} + +action "GitHub Action for npm" { + uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..19f98e4 --- /dev/null +++ b/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + works.buddy.samples + works-with-heroku + 1.0 + war + + + javax.servlet + servlet-api + 2.5 + provided + + + junit + junit + 4.12 + test + + + org.mockito + mockito-all + 1.10.19 + test + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.3 + + + package + copy + + + + org.eclipse.jetty + jetty-runner + 9.3.3.v20150827 + jetty-runner.jar + + + + + + + + + diff --git a/test b/test new file mode 100644 index 0000000..220010a --- /dev/null +++ b/test @@ -0,0 +1 @@ +Web application working