diff -r d89fc201d352 -r 959b01209314 maven.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/maven.script Wed Nov 30 07:54:26 2011 +0300 @@ -0,0 +1,8 @@ +# обновить версию конкретного проекта в dependency во всех найденных pom'ках рекрсивно +# linux +find -name "pom.xml" -exec mvn versions:use-latest-versions -Dincludes=ru.alphatech:ru.alphatech.naming.utils:* -f {} \; + +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 {} \; + +# windows +for /R %i in (pom.xml) do mvn versions:use-latest-versions -Dincludes=ru.alphatech:ru.alphatech.naming.utils:* -f %i