maven.script
author indvdum (gotoindvdum[at]gmail[dot]com)
Sat, 07 Jul 2012 00:40:18 +0400
changeset 19 8507389edfe3
parent 6 959b01209314
permissions -rw-r--r--
Moar
     1 # обновить версию конкретного проекта в dependency во всех найденных pom'ках рекрсивно
     2 # linux
     3 find -name "pom.xml" -exec mvn versions:use-latest-versions -Dincludes=ru.alphatech:ru.alphatech.naming.utils:* -f {} \;
     4 
     5 find -name "pom.xml" -exec mvn versions:use-latest-versions -Dincludes=ru.alphatech:ru.alphatech.atnet:*,ru.alphatech:ru.alphatech.atnet.jdbc:*,ru.alphatech:ru.alphatech.naming.core:* -f {} \;
     6 
     7 # windows
     8 for /R %i in (pom.xml) do mvn versions:use-latest-versions -Dincludes=ru.alphatech:ru.alphatech.naming.utils:* -f %i