Skip to content
Snippets Groups Projects
Unverified Commit d145214e authored by Timothy Stone's avatar Timothy Stone
Browse files

refactor: replace deprecated user property rules with enforcer.rules

The Maven Enforcer Plugin replaced the rules property with the enforcer.rules property. See issue
for additional details.

Fixes #56
parent acebc922
Branches
Tags
No related merge requests found
......@@ -702,7 +702,7 @@ mvn-no-snapshot-deps:
stage: test
needs: []
script:
- mvn ${TRACE:+-X} $MAVEN_CLI_OPTS $mvn_settings_opt $java_proxy_args enforcer:enforce -Drules=requireReleaseDeps
- mvn ${TRACE:+-X} $MAVEN_CLI_OPTS $mvn_settings_opt $java_proxy_args enforcer:enforce -Denforcer.rules=requireReleaseDeps
rules:
# exclude if disabled
- if: '$MVN_FORBID_SNAPSHOT_DEPENDENCIES_DISABLED == "true"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment