6565 - name : Check the versions
6666 uses : docker://leplusorg/maven-check-versions:3.9.9@sha256:abdd53328be1c87d7bf21b868d47d7934b28dfc66e168d9625877616ab14d6da
6767 env :
68- MAVEN_CLI_OPTS : " -DprocessDependencyManagementTransitive=false '-Dmaven.version.ignore=(?i).+-(alpha|beta).+,(?i).+-m\\ d+,(?i).+-rc\\ d+'"
68+ MAVEN_CLI_EXTRA_OPTS : " -DprocessDependencyManagementTransitive=false '-Dmaven.version.ignore=(?i).+-(alpha|beta).+,(?i).+-m\\ d+,(?i).+-rc\\ d+'"
6969` ` `
7070
7171This way the action can be triggered manually and otherwise it runs
@@ -82,7 +82,7 @@ maven check versions:
8282 script :
8383 - " /opt/maven-check-versions.sh"
8484 variables :
85- MAVEN_CLI_OPTS : " -DprocessDependencyManagementTransitive=false '-Dmaven.version.ignore=(?i).+-(alpha|beta).+,(?i).+-m\\ d+,(?i).+-rc\\ d+'"
85+ MAVEN_CLI_EXTRA_OPTS : " -DprocessDependencyManagementTransitive=false '-Dmaven.version.ignore=(?i).+-(alpha|beta).+,(?i).+-m\\ d+,(?i).+-rc\\ d+'"
8686` ` `
8787
8888## Ignoring versions
@@ -91,9 +91,9 @@ You can define which versions should be ignored using the
9191` maven.version.ignore` system property (see here for
9292[details](https://www.mojohaus.org/versions/versions-maven-plugin/version-rules.html#Using_the_maven.version.ignore_property)). To
9393set `maven.version.ignore` inside the Docker container, you need to
94- override the default `MAVEN_CLI_OPTS ` OS environment variable which
94+ override the default `MAVEN_CLI_EXTRA_OPTS ` OS environment variable which
9595will be passed to the maven CLI command. For example, you can set
96- ` MAVEN_CLI_OPTS ` to `-DprocessDependencyManagementTransitive=false -Dmaven.version.ignore=(?i).+-(alpha|beta).+,(?i).+-m\\d+,(?i).+-rc\\d+`
96+ ` MAVEN_CLI_EXTRA_OPTS ` to `-DprocessDependencyManagementTransitive=false -Dmaven.version.ignore=(?i).+-(alpha|beta).+,(?i).+-m\\d+,(?i).+-rc\\d+`
9797to ignore transitive dependencies and all alpha, beta, mark or release
9898candidate versions.
9999
0 commit comments