运行版本时:使用最新版本,它似乎忽略了我在命令行中指定的包含列表并尝试更新所有依赖项。
mvn versions:use-latest-versions -DincludesList=com.mycompay.common:\* -DexcludeReactor=false -DallowSnapshots=true -DallowMinorUpdates=true
我在文档中可以找到的所有内容都让我相信指定包含意味着排除所有其他内容。我没有正确选择这个吗?
运行版本时:使用最新版本,它似乎忽略了我在命令行中指定的包含列表并尝试更新所有依赖项。
mvn versions:use-latest-versions -DincludesList=com.mycompay.common:\* -DexcludeReactor=false -DallowSnapshots=true -DallowMinorUpdates=true
我在文档中可以找到的所有内容都让我相信指定包含意味着排除所有其他内容。我没有正确选择这个吗?
参数includes
不是includesList
这样试试这个:(根据此处的文档)
mvn versions:use-latest-versions -Dincludes=com.mycompay.common:* -DexcludeReactor=false -DallowSnapshots=true -DallowMinorUpdates=true