title: How to install maven with brew but without openjdk?
body: <p>I already have Java HotSpot JDK 11 on my machine that I'm using for everything.</p>
  <p>When I typed <code>brew install maven</code> it tried to install <code>openjdk</code> as a dependency. I don't want that and want maven to use my JDK, not its own <code>openjdk</code>.</p>
  <p>So, how can I tell it to not install <code>openjdk</code>?</p>