```ruby
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
```

Use the backup Apache mirrors instead of another mirror that might go down unnoticed.
user
```ruby
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
```
assistant