Skip to content

Instantly share code, notes, and snippets.

@notnoopci
Created May 4, 2014 01:55
Show Gist options
  • Save notnoopci/7623c4287146b7a56f06 to your computer and use it in GitHub Desktop.
Save notnoopci/7623c4287146b7a56f06 to your computer and use it in GitHub Desktop.
Installing 3.1.1 Maven
dependencies:
cache_directories:
- "~/apache-maven-3.1.1"
pre:
- "[[ -d ~/apache-maven-3.1.1 ]] || (curl -L -o ~/maven.tar.gz 'http://mirrors.sonic.net/apache/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz' && tar -xz -C ~ -f ~/maven.tar.gz)"
- echo 'export PATH=~/apache-maven-3.1.1/bin:$PATH' >> ~/.circlerc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment