Question

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?

Was it helpful?

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top