commit | 570690d7d11ca2b7cf4bdb091dcc8925af13e1e7 | [log] [tgz] |
---|---|---|
author | Bernd Bohmann <bommel@apache.org> | Sat Nov 21 19:54:18 2020 +0100 |
committer | GitHub <noreply@github.com> | Sat Nov 21 19:54:18 2020 +0100 |
tree | faef9eeecb4282571c04ca7f7b0145a52ee9f6d6 | |
parent | 0db4012c1d221ecc91aa5453633b15d539b9d3e2 [diff] | |
parent | 5df1fa7194bd8ca6e4bf9d38a82ad6a1a9b75bc2 [diff] |
Merge pull request #131 from bohmber/master Improved build reporting
You need Maven 3 (at least 3.0.4) and Java 8 or later to build Tobago.
In the project directory you can use:
mvn install
to run the install target on all sub projects. This will put all necessary artifacts into your local repository.
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean jetty:run -Pjetty
Browse to the local URL http://localhost:8080/
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean install -Ptomcat docker run -it --rm -p 8080:8080 -v `pwd`/target/tobago-example-demo.war:/usr/local/tomcat/webapps/tobago-example-demo.war --name tobago-example-demo tomcat:9-jre8
Browse to the local URL http://localhost:8080/tobago-example-demo/
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean install -Pquarkus java -jar ./target/tobago-example-demo-runner.jar
Browse to the local URL http://localhost:8080/