mavenversions-maven-plugin

Maven versions ignored includesList


When running versions:use-latest-versions, it seems to ignore my includesList sepecified on the commandline and attempts to update all depdencies.

mvn versions:use-latest-versions -DincludesList=com.mycompay.common:\* -DexcludeReactor=false  -DallowSnapshots=true -DallowMinorUpdates=true

Everything I can find in the documentation leads me to believe that specifying includes implies the exclusion of all else. Am I not picking this up correctly?


Solution

  • The parameter is includes not includesList so try this: (according doc here)

    mvn versions:use-latest-versions -Dincludes=com.mycompay.common:* -DexcludeReactor=false  -DallowSnapshots=true -DallowMinorUpdates=true