|
|
@ -7,7 +7,7 @@ variables:
|
|
|
|
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
|
|
|
|
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
|
|
|
|
# when running from the command line.
|
|
|
|
# when running from the command line.
|
|
|
|
# `installAtEnd` and `deployAtEnd` are only effective with recent version of the corresponding plugins.
|
|
|
|
# `installAtEnd` and `deployAtEnd` are only effective with recent version of the corresponding plugins.
|
|
|
|
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
|
|
|
|
MAVEN_CLI_OPTS: "--batch-mode --errors --show-version"
|
|
|
|
|
|
|
|
|
|
|
|
# Cache downloaded dependencies and plugins between builds.
|
|
|
|
# Cache downloaded dependencies and plugins between builds.
|
|
|
|
# To keep cache across branches add 'key: "$CI_JOB_NAME"'
|
|
|
|
# To keep cache across branches add 'key: "$CI_JOB_NAME"'
|
|
|
@ -18,4 +18,4 @@ cache:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- 'mvn $MAVEN_CLI_OPTS clean install'
|
|
|
|
- 'mvn $MAVEN_CLI_OPTS test-compile'
|
|
|
|