سؤال

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?

هل كانت مفيدة؟

المحلول

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
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top