Closed
Description
Starting from today (Jun 29) maven couldn't resolve latest snapshot dependency of 3.0.0-SHAPSHOT.
Actual error is: access denied to: http://oss.jfrog.org/artifactory/oss-snapshot-local/io/springfox/springfox-swagger2/3.0.0-SNAPSHOT/springfox-swagger2-3.0.0-20200629.123820-84.jar
In case if I try to download file manually (or via wget) everything works fine, but maven says that this dependencies is forbidden for download.
Tested on CI instance and local, problems are the same. Looks like smth changed un artifactory configuration.
Also providing mvn build output and sensitive pom.xml data:
pom.xml
<dependencies>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
</repositories>
<repository>
<id>jcenter-snapshots</id>
<name>jcenter</name>
<url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
</repository>
</repositories>
and error output:
[ERROR] Failed to execute goal on project $ArtifactId: Could not resolve dependencies for project $GroupId:$ArtifactId:jar:$Version: Could not transfer artifact io.springfox:springfox-swagger2:jar:3.0.0-20200629.123820-84 from/to jcenter-snapshots (http://oss.jfrog.org/artifactory/oss-snapshot-local/): Access denied to: http://oss.jfrog.org/artifactory/oss-snapshot-local/io/springfox/springfox-swagger2/3.0.0-SNAPSHOT/springfox-swagger2-3.0.0-20200629.123820-84.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command