Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 790
nwb Avatar asked Jul 26 '13 10:07

nwb


1 Answers

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
like image 78
ben75 Avatar answered Sep 21 '22 04:09

ben75