Last active
August 27, 2018 21:41
-
-
Save nitind/861654f2e8d775079dc4eb6809a3cc3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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