maven: fix audit
maven: * `conflicts_with` (line 31) should be put before `install method` (line 12)
This commit is contained in:
parent
5056d81a4b
commit
c20072e145
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
|
Loading…
Reference in a new issue