Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@esarbanis
Created February 18, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esarbanis/cde88a57eb8e8861e97a to your computer and use it in GitHub Desktop.
Save esarbanis/cde88a57eb8e8861e97a to your computer and use it in GitHub Desktop.
Update a bunch of svn repos and install their archetypes (no tests)
#! /bin/bash
declare -r MULTI_PJ_HOME='<THE_MULTI_PROJECT_ROOT_PATH>'
declare -r projects="<LIST_OF_MODULES_IN_RESPECT_OF_THE_MULTI_PROJECT_ROOT_PATH>"
for project in $projects
do
echo "================================================"
echo "Updating $project"
echo "================================================"
cd $project && git svn rebase && mvn clean install -DskipTests
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment