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