To build the source you will need to install JDK 1.8.
The build uses the Maven wrapper so you don’t have to install a specific version of Maven. To enable the tests for Redis you should run the server before bulding. See below for more information on how to run Redis.
The main build command is
$ ./mvnw clean install
To create the executables and avoid running the tests and generating Javadocs, use the command
$./mvnw clean package -DskipTests -Dmaven.javadoc.skip=true
Note | |
---|---|
You can also install Maven (>=3.3.3) yourself and run the |
Note | |
---|---|
Be aware that you might need to increase the amount of memory
available to Maven by setting a |
To generate just the REST Docs documentation, use the command
./mvnw test -pl spring-cloud-skipper-server-core -Dtest=*Documentation*
To build the asciidoctor documentation only, use the command
./mvnw clean package -DskipTests -Pfull package -pl spring-cloud-skipper-docs