pmd: use new java_cache env

This commit is contained in:
Dominyk Tiller 2015-12-18 23:44:28 +00:00
parent c51914f82f
commit 6f86307b4f

View file

@ -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"