Open nicodmt opened 2 years ago
From db entry https://mvnrepository.com/artifact/com.google.guava/guava/31.1.0.redhat-00001 ...
It seems possible that this artifact was previously published under https://maven.repository.redhat.com/earlyaccess/all/ , but no longer is?
That is a possibility, I have unfortunately no answer on why the problem happened but I have a solution. We changed dependency to a fork from rholder guava-retrying which is updated and backed. I'll link it below:
<!-- https://mvnrepository.com/artifact/io.github.itning/guava-retrying3 -->
<dependency>
<groupId>io.github.itning</groupId>
<artifactId>guava-retrying3</artifactId>
<version>3.0.1</version>
</dependency>
Is it possible that incorrect dependency can get updated back?
I checked the pom files. Mostly issue is due to presence of And there is a change in guava version naming.
You can just exclude the guava from this lib and pin to specific version that used to work before :
<dependency>
<groupId>com.github.rholder</groupId>
<artifactId>guava-retrying</artifactId>
<version>2.0.0</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
Hi, we are experiencing issues using the dependency. This started between a few days ago to a couple of weeks (unsure because of vacation...).
The logs are telling us this:
Could not resolve dependencies for project XX.XXX.XXX: Failed to collect dependencies at com.github.rholder:guava-retrying:jar:2.0.0 -> com.google.guava:guava:jar:31.1.0.redhat-00001: Failed to read artifact descriptor for com.google.guava:guava:jar:31.1.0.redhat-00001: Could not find artifact com.google.guava:guava-parent:pom:31.1.0.redhat-00001 in central (https://repo1.maven.org/maven2)
I've already asked the team at Guava who are firmly saying the issue is not on their side and I now see that the issue is from here because we are using:
`
How can this be fixed?