diff --git a/update-dependencies.sh b/update-dependencies.sh index 56fb86f1e..38fcec9e2 100755 --- a/update-dependencies.sh +++ b/update-dependencies.sh @@ -1,2 +1,5 @@ #!/bin/bash -mvn versions:use-latest-releases -DallowMinorUpdates=false +# if the first argument is true, allow minor updates +ALLOW_MINOR_UPDATES=${1:-false} +echo "Updating dependencies with allowMinorUpdates=$ALLOW_MINOR_UPDATES" +mvn versions:use-latest-releases -DallowMinorUpdates=$ALLOW_MINOR_UPDATES -DincludePlugins=true