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