Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get metadata for build-info-extractor-gradle #374

Open
Jahrhause opened this issue Aug 17, 2020 · 2 comments
Open

Unable to get metadata for build-info-extractor-gradle #374

Jahrhause opened this issue Aug 17, 2020 · 2 comments

Comments

@Jahrhause
Copy link

Hi
Im trying to build my projects which worked fine last week.
Now I get the following error:

Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:latest.release.
     Required by:
         project :
      > Failed to list versions for org.jfrog.buildinfo:build-info-extractor-gradle.
         > Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/org/jfrog/buildinfo/build-info-extractor-gradle/maven-metadata.xml.
            > Could not get resource 'https://repo.maven.apache.org/maven2/org/jfrog/buildinfo/build-info-extractor-gradle/maven-metadata.xml'.
               > Could not GET 'https://repo.maven.apache.org/maven2/org/jfrog/buildinfo/build-info-extractor-gradle/maven-metadata.xml'.
                  > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.232.40.215] failed: connect timed out

In my build.gradle i have:

dependencies {
    classpath "org.jfrog.buildinfo:build-info-extractor-gradle:latest.release"
  }

When I try to open the urls in question in the browser I get a 404. Have you moved the files or has it been removed?

@yahavi
Copy link
Member

yahavi commented Aug 17, 2020

@Jahrhause, thanks for reporting this.
it looks like you're downloading the plugin from the Maven Central repository, however, we publish the Gradle plugin to JCenter.
Can you please try to set the JCenter repository in your Gradle script as described in the plugin's documentation?
We'd like to hear your feedback for that.

@devchan4188
Copy link

This can be resolved by putting:
plugins { id "com.jfrog.artifactory" version "versionNumber" }

below the buildscript block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants