add runners

This commit is contained in:
MAUREL Yoann
2019-03-05 13:45:12 +01:00
parent 800273801e
commit a176363d1f
3 changed files with 11 additions and 0 deletions

10
jetty-runner.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Téléchargement du runner jetty (https://www.eclipse.org/jetty/documentation/9.4.x/runner.html)
wget -O jetty-runner.jar -c http://central.maven.org/maven2/org/eclipse/jetty/jetty-runner/9.4.15.v20190215/jetty-runner-9.4.15.v20190215.jar
# Compilation du war dans target
mvn package
# Lancement du projet (à adapter si le jar change)
java -jar jetty-runner.jar target/pr.tp.web-0.0.1-SNAPSHOT.war