Plugin [id: 'com.adarshr.test-logger', version: '1.7.0'] was not found in any of the following sources
ladp333 opened this issue · 2 comments
ladp333 commented
Hi,
we have been using the plugin this way:
plugins { id 'com.adarshr.test-logger' version '1.7.0' }
Suddenly I'm getting the following error:
What went wrong:
Plugin [id: 'com.adarshr.test-logger', version: '1.7.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.adarshr.test-logger:com.adarshr.test-logger.gradle.plugin:1.7.0')
Searched in the following repositories:
maven(url to our nexus repos)
Gradle Central Plugin Repository
I tried the latest version 3.2.0
as well but it failed with the same error. I checked our nexus repo and could verify that the plugin is indeed there.
Did anything change in the plugin repo?
ladp333 commented
++ more info
this is what I could see in our artifactory logs
"2022-03-22 23:24:44,922 [http-nio-8081-exec-1356] [INFO ] (o.a.r.RemoteRepoBase:1283) - Error listing remote
resources http://repo1.maven.org/maven2/com/adarshr/test-logger/com.adarshr.test-logger.gradle.plugin/2.1.1: Unable to
retrieve http://repo1.maven.org/maven2/com/adarshr/test-logger/com.adarshr.test-logger.gradle.plugin/2.1.1/: 501: HTTPS
Required (remote response: 501: HTTPS Required)",
baynezy commented
Looks like a Gradle/Nexus bug to me. It's trying to download the artefact from a non-HTTPS URL.