Missing org.elasticsearch.test:logger-usage:7.10.2

It seems a few Jars are missing in mavenCentral....

To start with: org.elasticsearch.test:logger-usage:7.10.2

I was trying to build a esplugin for Elastic 7.10.2

Execution failed for task ':loggerUsageCheck'.

Could not resolve all files for configuration ':loggerUsagePlugin'.
Could not find org.elasticsearch.test:logger-usage:7.10.2.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/elasticsearch/test/logger-usage/7.10.2/logger-usage-7.10.2.pom
- https://jcenter.bintray.com/org/elasticsearch/test/logger-usage/7.10.2/logger-usage-7.10.2.pom

Looks like the artifacts were never published on mavenCentral before the plug was pulled on JCenter.

Work around as described here: Some artifacts weren't released for 7.10.0 · Issue #65247 · elastic/elasticsearch · GitHub

loggerUsageCheck.enabled = false

Indeed, some tasks are not anymore available for newer plugins due to changes in the packaging, see Expose only a subset of precommit tasks to 3rd party developers · Issue #63697 · elastic/elasticsearch · GitHub

hope this helps!