require 'formula'

class Maven <Formula
  @url='http://apache.mirrors.timporter.net/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
  @version="2.2.1"
  @homepage='http://maven.apache.org/'
  @md5='3f829ed854cbacdaca8f809e4954c916'

  def install
    prefix.install %w[bin conf boot lib]
    FileUtils.rm_f Dir["#{bin}/*.bat"]
  end
end

require 'formula'

class Maven <Formula
  @url='http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
  @version="2.2.1"
  @homepage='http://maven.apache.org/'
  @md5='3f829ed854cbacdaca8f809e4954c916'

  def install
    prefix.install %w[bin conf boot lib]
    FileUtils.rm_f Dir["#{bin}/*.bat"]
  end
end

Use the backup Apache mirrors instead of another mirror that might go down unnoticed.
Use the backup Apache mirrors instead of another mirror that might go down unnoticed.

Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
