diff --git a/Formula/maven.rb b/Formula/maven.rb index 11cf81e7af..75007467d9 100644 --- a/Formula/maven.rb +++ b/Formula/maven.rb @@ -9,6 +9,8 @@ class Maven < Formula depends_on :java + conflicts_with "mvnvm", :because => "also installs a 'mvn' executable" + def install # Remove windows files rm_f Dir["bin/*.bat"] @@ -28,8 +30,6 @@ class Maven < Formula end end - conflicts_with "mvnvm", :because => "also installs a 'mvn' executable" - test do (testpath/"pom.xml").write <<-EOS.undent