JMH plugin 0.3.0 released, but not available from plugins.gradle.org/m2


(Dimitar Dimitrov) #1

I have third party codebase that uses Gradle JMH plugin 0.3.0 (listed on the plugins site since Mar 9).

https://plugins.gradle.org/plugin/me.champeau.gradle.jmh

The problem is that our Artifactory does not see it neither from https://plugins.gradle.org/m2, nor JCenter.

Here it downloads the latest version using the maven-metadata.xml

...
2016-04-14 09:39:45,050 [art-exec-122651] [INFO ] (o.a.r.HttpRepo      :397) - gradle-plugins downloaded  https://plugins.gradle.org/m2/net/ltgt/gradle/gradle-apt-plugin/0.6/gradle-apt-plugin-0.6.jar 55.22 KB at 106.54 KB/sec
2016-04-14 09:41:28,382 [http-nio-8081-exec-5] [INFO ] (o.a.r.HttpRepo      :384) - gradle-plugins downloading https://plugins.gradle.org/m2/me/champeau/gradle/jmh-gradle-plugin/maven-metadata.xml 491 bytes 
2016-04-14 09:41:28,403 [http-nio-8081-exec-5] [INFO ] (o.a.r.HttpRepo      :397) - gradle-plugins downloaded  https://plugins.gradle.org/m2/me/champeau/gradle/jmh-gradle-plugin/maven-metadata.xml 491 bytes at 24.54 KB/sec

In particular:

{ ~ }  ยป curl -L https://plugins.gradle.org/m2/me/champeau/gradle/jmh-gradle-plugin/maven-metadata.xml

<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>me.champeau.gradle</groupId>
  <artifactId>jmh-gradle-plugin</artifactId>
  <version>0.2.0</version>
  <versioning>
    <latest>0.2.0</latest>
    <release>0.2.0</release>
    <versions>
      <version>0.1</version>
      <version>0.1.1</version>
      <version>0.1.2</version>
      <version>0.1.3</version>
      <version>0.2.0</version>
    </versions>
    <lastUpdated>20150226171452</lastUpdated>
  </versioning>
</metadata>

Does anybody have any idea how to troubleshoot this?

Edit: I got a confirmation from a person in a different location, that they also had to upload the 0.3.0 JAR to their local repo. The problem seems to be in the Gradle Plugins infrastructure.


(Corneil du Plessis) #2

I have a project where I used it. I am not sure if it is just still caching the dependencies.
I did give 0.2.0 a try on Gradle 2.13 and there were method linkage errors at API level.

So my project works with Gradle 2.5 and 0.3.0. I tested a fresh build on a machine where the jmh plugin had not been used before to be sure. Try this little project. https://github.com/corneil/compare-fp