Project builds are orchestrated by Apache Maven, utilizing Maven Wrapper with the goal for a consistent compilation environment.
The following is required to build 3scale-cms for any build type:
-
Java JDK 17 or newer
-
Maven 3.9.2 or newer - this is automatic when using Maven Wrapper
To perform a native-mode build, at least one of the following must also be installed:
For more information on prerequisites and configuration for native-mode builds, refer to the Quarkus "Building a Native Executable" Guide.
To build 3scale-cms to run in JVM-mode, run the following Maven Wrapper phase:
./mvnw verify
Upon successful compilation, the 3scale-cms CLI may be executed via the following Java command:
java -jar cli/target/quarkus-app/quarkus-run.jar
Similar to JVM-mode builds, native-mode builds are also run with Maven Wrapper.
The difference is by enabling the native
profile:
./mvnw verify -Pnative
Upon successful completion, the 3scale-cms CLI may be executed via the newly compiled executable:
cli/target/3scale-cms-tools-cli-VERSION-runner
Note
|
Replace |