stages:
    - build
    - test
    - sonar

build:
    stage: build
    script: "mvn clean test"

test:
    stage: test
    script: "mvn verify"

sonar:
    stage: sonar
    script: "mvn sonar:sonar -Dsonar.host.url=https://sonarqube.johnnei.org"

stages:
    - build
    - test
    - sonar

build:
    stage: build
    script: "mvn clean test -B"

test:
    stage: test
    script: "mvn verify -B"

sonar:
    stage: sonar
    script: "mvn sonar:sonar -B -Dsonar.host.url=https://sonarqube.johnnei.org"

Reduce logging clutter by building in batch mode for maven.
Reduce logging clutter by building in batch mode for maven.
