Building StackGres

StackGres is hosted on GitLab, but there’s also a GitHub mirror repository available. For cloning and building, you can use either. For submitting merge requests, you need to use the GitLab repository.

Get the Source Code

Clone the sources from GitLab (or alternatively, GitHub):

git clone
cd stackgres/

Build StackGres via Maven (using the mvnw wrapper):

cd stackgres-k8s/src/
./mvnw clean install

Build With Checks

In order to contribute to StackGres, you need to build with code checks. The StackGres CI will also run these checks. Run the Maven build with the safer profile:

./mvnw clean install -P safer