How to generate OpenLegacy Lowcode API with Maven
By default, the OpenLegacy Lowcode API build tool is Gradle. If you prefer to use Maven this can be achieved via the CLI with the following command:
ol generate --project <YOUR PROJECT NAME> --generator spring-java-rest --build-tool maven
This will result in a Spring Boot API project with Maven as its build tool.
You can then build it and run it with the following commands:
# Building the API project into the .m2 and the target directory
mvn clean install -DskipTests
# Building the API project in the target directory
mvn clean package -DskipTests
# Running the API as a Spring Boot project
mvn clean spring-boot:run
Updated 8 months ago