Skip to content

Instantly share code, notes, and snippets.

@paulweb515
Created February 26, 2013 16:54
Show Gist options
  • Save paulweb515/5040068 to your computer and use it in GitHub Desktop.
Save paulweb515/5040068 to your computer and use it in GitHub Desktop.
#!/bin/bash
LOG=$(pwd)/log_$( date +%Y%m%d%H%M%S ).txt
exec >>$LOG 2>&1
LREPO=$(pwd)/localMavenRepo
export JAVA_HOME=/opt/local/jdk1.7.0_11
TMP_DIR=$(pwd)/tmp
mkdir -p $TMP_DIR
export MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=256M -Djava.io.tmpdir=${TMP_DIR}"
export MAVEN_PATH=/opt/local/apache-maven-3.0.4/bin
export PATH=$JAVA_HOME/bin:$MAVEN_PATH:$PATH
#pushd eclipse.platform.releng.aggregator
#mvn -f eclipse-parent/pom.xml clean install -Dmaven.repo.local=$LREPO
#popd
pushd eclipse.platform.releng.aggregator
mvn org.eclipse.tycho:tycho-versions-plugin:update-pom \
-Dmaven.repo.local=$LREPO
popd
pushd eclipse.platform.releng.aggregator
mvn -X -Pbree-libs clean install -Dmaven.test.skip=true -Dmaven.repo.local=$LREPO
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment