mvnvm: fix audit
mvnvm: * `conflicts_with` (line 18) should be put before `install method` (line 12)
This commit is contained in:
parent
f818cd9d7b
commit
0e8413e5f4
1 changed files with 2 additions and 2 deletions
|
@ -9,14 +9,14 @@ class Mvnvm < Formula
|
|||
|
||||
depends_on :java => "1.7+"
|
||||
|
||||
conflicts_with "maven", :because => "also installs a 'mvn' executable"
|
||||
|
||||
def install
|
||||
bin.install "mvn"
|
||||
bin.install "mvnDebug"
|
||||
bin.env_script_all_files(libexec/"bin", Language::Java.overridable_java_home_env("1.7+"))
|
||||
end
|
||||
|
||||
conflicts_with "maven", :because => "also installs a 'mvn' executable"
|
||||
|
||||
test do
|
||||
(testpath/"settings.xml").write <<-EOS.undent
|
||||
<settings><localRepository>#{testpath}/repository</localRepository></settings>
|
||||
|
|
Loading…
Reference in a new issue