Re: Legal implications of using JMH
We use JMH in Calcite for microbenchmarking. My understanding was that our use is OK. We are not linking it into the product; during tests, we link against JMH, run the test, then delete the executable.
In addition to Calcite, it is used in Hive  Log4j2 , and Camel .
I think we should ask for a decision from Legal before changing anything.
 https://github.com/apache/hive/blob/master/itests/hive-jmh/pom.xml <https://github.com/apache/hive/blob/master/itests/hive-jmh/pom.xml>
 https://github.com/apache/logging-log4j2/tree/master/log4j-perf/src/main/java/org/apache/logging/log4j/perf/jmh <https://github.com/apache/logging-log4j2/tree/master/log4j-perf/src/main/java/org/apache/logging/log4j/perf/jmh>
 https://github.com/apache/camel/blob/master/tests/camel-jmh/pom.xml <https://github.com/apache/camel/blob/master/tests/camel-jmh/pom.xml>
> On Apr 23, 2018, at 2:48 PM, Owen Omalley <owen@xxxxxxxxxxxxxxx> wrote:
> The relevant page from Apache is:
> https://www.apache.org/licenses/GPL-compatibility.html and https://www.apache.org/legal/resolved.html#category-x
> GPL software can not be linked to from Apache projects at all. The problem is that the GPL is viral and you’d have to license the rest of the code under the GPL.
> .. Owen
> Begin forwarded message:
> From: Gian Merlino <gian@xxxxxxxxxx<mailto:gian@xxxxxxxxxx>>
> Subject: Re: Legal implications of using JMH
> Date: April 23, 2018 at 2:14:31 PM PDT
> To: dev@xxxxxxxxxxxxxxxx<mailto:dev@xxxxxxxxxxxxxxxx>
> Reply-To: dev@xxxxxxxxxxxxxxxx<mailto:dev@xxxxxxxxxxxxxxxx>
> I'm not sure why the ORC folks decided this was necessary. I found these
> two links,
> - https://issues.apache.org/jira/browse/ORC-298
> - https://lists.apache.org/thread.html/c27267a6a3df9b76c5e036fc181c86
> It looks like they ended up moving the code to a different, non-Apache
> The relevant Apache policy, I think, is: http://www.apache.org/
> legal/resolved.html#optional. From what I've seen it comes up most often
> with MySQL drivers (which we also use). See also https://issues.apache.org/
> It seems to me like JMH and MySQL are in the same boat. Both are optional
> dependencies -- there is no reason that a "normal" user needs to run
> druid-benchmarks. If this understanding is correct, then we should just
> make sure we aren't distributing JMH (or MySQL drivers) as part of binary
> releases. But I would be interested in understanding the thought process of
> the ORC folks in more detail.
> On Mon, Apr 23, 2018 at 1:44 PM, Roman Leventov <leventov.ru@xxxxxxxxx<mailto:leventov.ru@xxxxxxxxx>>
> See this:
> http://mail.openjdk.java.net/pipermail/jmh-dev/2018-April/002743.html JMH
> might be not welcome in an Apache-licensed project.