mvn rilascio: prepararePuò Maven rilascio: preparare la versione aggiornamento snapshot per la versione in modalità batch
mi chiede continuamente per risolvere le dipendenze istantanee. C'è un modo per farlo in modalità batch in modo che Maven utilizzi automaticamente la versione associata. Ad esempio, se una dipendenza è 1.0.0-SNAPSHOT aggiornerà automaticamente questa dipendenza alla versione 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
Hai provato a usare --batch-mode di mvn? – khmarbaise
Non aiuterà neanche. – khmarbaise