Permalink
Browse files

simple script to set version for all projects

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
  • Loading branch information...
1 parent 08c9edb commit 36a268eb3036ac99fad41b469d66ed448ace407f @ifedorenko ifedorenko committed Apr 2, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 setver.sh
View
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# This will update all pom.xml files to use version specified as first parameter of this script
+
+mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0-SNAPSHOT:set-version \
+ -Dartifacts=nexus-plugin-parent,nexus,nexus-runtime-platform -Dproperties=nexus.version \
+ -DnewVersion=$1

0 comments on commit 36a268e

Please sign in to comment.