Skip to content

Instantly share code, notes, and snippets.

@nitind
Last active August 27, 2018 21:41
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 nitind/861654f2e8d775079dc4eb6809a3cc3e to your computer and use it in GitHub Desktop.
Save nitind/861654f2e8d775079dc4eb6809a3cc3e to your computer and use it in GitHub Desktop.
#!/bin/bash
export MAVEN_OPTS="-Xmx1024m"
export CLONEROOT=`pwd | sed 's/\/webtools.releng.aggregator//g'`
echo Clones are rooted in $CLONEROOT
pushd $CLONEROOT
git clone --recursive https://git.eclipse.org/r/webtools/webtools.releng.aggregator.git
git clone https://git.eclipse.org/r/webtools-common/webtools.common.git
git clone https://git.eclipse.org/r/servertools/webtools.servertools.git
popd
pushd $CLONEROOT/webtools.common
mvn clean install
popd
pushd $CLONEROOT/webtools.servertools
mvn clean install -Dwebtools-common-site=file://$CLONEROOT/webtools.common/site/target/repository/
popd
pushd $CLONEROOT/webtools.releng.aggregator
#mvn clean install -V -B -PCI \
# -Dwebtools-common-site=file://$CLONEROOT/webtools.common/site/target/repository/ \
# -Dwebtools-servertools-site=file://$CLONEROOT/webtools.servertools/site/target/repository/ \
# -Dwebtools-servertools-integration-site=file://$CLONEROOT/webtools.servertools/site-integration/target/repository/ \
# | tee log-aggregate-local-changes-to-common-and-servertools.txt
mvn clean install -e -V -B -PCI \
-Dwebtools-common-site=file://$CLONEROOT/webtools.common/site/target/repository/ \
-Dwebtools-servertools-site=file://$CLONEROOT/webtools.servertools/site/target/repository/
popd
find $CLONEROOT/webtools.releng.aggregator/webtools.repositories -name '*.zip'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment