mstats/README.md
2025-02-17 09:10:30 +01:00

946 B

  • /api/server/heartbeat - server heartbeat
  • /api/plugin/{id} - plugin info
  • /api/plugin/find/{name} - find a plugin id by name

Deployment

Note: if you have any issues with the build, do ./mvnw clean and try again.

Docker

The best way to deploy is using Docker.

To build an image:

./mvnw install -Dquarkus.container-image.build=true

TODO write instructions.

Java

Normal JAR

To build a JAR:

./mvnw package

The output will be target/quarkus-app/quarkus-run.jar
You to distribute the whole target/quarkus-app directory.

Uber JAR

To build an uber-JAR:

./mvnw package -Dquarkus.package.jar.type=uber-jar

The output will be target/mstats-1.0.0-runner.jar
You only need distribute that JAR.

Native

To build a GraalVM native image:

./mvnw package -Dnative

The output will be target/mstats-1.0.0-runner
You only need to distribute that executable.