Update maven to release 3.0.2.

Closes Homebrew/homebrew#3892.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Jon Buffington 2011-01-13 06:01:25 -05:00 committed by Mike McQuaid
parent 21d13e6d99
commit db55fcfd54

View file

@ -1,14 +1,17 @@
require 'formula'
class Maven <Formula
url 'http://www.apache.org/dist/maven/binaries/apache-maven-3.0.1-bin.tar.gz'
url 'http://www.apache.org/dist/maven/binaries/apache-maven-3.0.2-bin.tar.gz'
homepage 'http://maven.apache.org/'
md5 '98379efcef6b07bc44c27ec8382ad366'
md5 '01496e49c1fae860cdf573c6316f85c4'
def install
# Remove windows files
rm_f Dir["bin/*.bat"]
# Fix the permissions on the global settings file.
chmod 0644, Dir["conf/settings.xml"]
# Install jars in libexec to avoid conflicts
prefix.install %w{ NOTICE.txt LICENSE.txt README.txt }
libexec.install Dir['*']