language: java
jdk:
  - openjdk11
dist: focal
git:
  depth: 3
  submodules: false
before_install:
  - echo "MAVEN_OPTS='-Xmx2g'" > ~/.mavenrc
cache:
  directories:
    - $HOME/.m2