8000 springfox-swagger2:3.0.0-SNAPSHOT Access denied to: springfox-swagger2-3.0.0-20200629.123820-84.jar · Issue #3357 · springfox/springfox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
springfox-swagger2:3.0.0-SNAPSHOT Access denied to: springfox-swagger2-3.0.0-20200629.123820-84.jar #3357
Closed
@kentilini

Description

@kentilini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0