Maven
authorindvdum (gotoindvdum@gmail.com)
Wed, 30 Nov 2011 07:54:26 +0300
changeset 6959b01209314
parent 5 d89fc201d352
child 7 5cff64900342
child 10 8566a72a12ea
Maven
maven.script
     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