mvn发布:准备Can Maven版本:准备更新快照版本以批处理模式发布版本
它不断要我解决快照依赖关系。 有没有办法在批处理模式下做到这一点,以便maven自动使用关联的版本。即如果依赖是1.0.0-SNAPSHOT,它会自动更新这个依赖到1.0.0版本?
[INFO] Checking dependencies and plugins for snapshots ...
There are still some remaining snapshot dependencies.: Do you want to resolve them now? (yes/no) no: : yes
Dependency type to resolve,: specify the selection number (0:All 1:Project Dependencies 2:Plugins 3:Reports 4:Extensions): (0/1/2/3) 1: : 1
Resolve Project Dependency Snapshots.: 'com.my.project' set to release? (yes/no) yes: : yes
What is the next development version? (0.0.2-SNAPSHOT) 0.0.2-SNAPSHOT: : 0.0.2-SNAPSHOT
您是否尝试过使用mvn的--batch模式? – khmarbaise 2012-07-13 17:44:58
也无济于事。 – khmarbaise 2012-07-13 17:52:58