Created
February 26, 2013 16:55
-
-
Save paulweb515/5040076 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
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 "$1" | |
mvn -X -Pbree-libs -Pbuild-individual-bundles clean install -Dmaven.test.skip=true -Dmaven.repo.local=$LREPO -Dpom-branch-version=4.3.0-SNAPSHOT | |
popd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment