pmd: use new java_cache env
This commit is contained in:
parent
c51914f82f
commit
6f86307b4f
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ class Pmd < Formula
|
|||
depends_on "maven" => :build
|
||||
|
||||
def install
|
||||
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{ENV["HOME"]}"
|
||||
ENV.java_cache
|
||||
|
||||
system "mvn", "clean", "package"
|
||||
|
||||
doc.install "LICENSE", "NOTICE", "README.md"
|
||||
|
|
Loading…
Reference in a new issue