question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing dependency in mavenCentral file-specs-java 1.0.0

See original GitHub issue
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.jfrog.filespecs:file-specs-java:1.0.0.
     Searched in the following locations:
       - https://artifactory.****.com/artifactory/maven/org/jfrog/filespecs/file-specs-java/1.0.0/file-specs-java-1.0.0.pom
       - https://artifactory.****.com/artifactory/maven/org/jfrog/filespecs/file-specs-java/1.0.0/file-specs-java-1.0.0.jar
     Required by:
         project : > org.jfrog.buildinfo:build-info-extractor-gradle:4.24.8 > org.jfrog.buildinfo:build-info-extractor:2.28.2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 13s

FAILURE: Build failed with an exception.

It seems like the most recent release of build-info-extractor is pulling in a dependency that is not published in mavenCentral.

The only place I can find file-specs-java is from oss.jfrog.org (https://oss.jfrog.org/ui/packages/gav:%2F%2Forg.jfrog.filespecs:file-specs-java?name=file-specs-java&type=packages). Was this an oversight as this indicates the documentation here (https://www.jfrog.com/confluence/display/JFROG/Gradle+Artifactory+Plugin) is no longer correct (cannot used the latest.release for build-info-extractor-gradle).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
spartanhooahcommented, Jun 29, 2021

I was able to specify classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.24.5" and my build worked.

0reactions
DanielJRutledgecommented, Jun 30, 2021

The new one seems to work; though we had to introduce a new exception for the file-specs-java artifacts, as the licenses are not picked up for a couple days by Xray. It would be helpful to know whether you guys plan to introduce more artifact types.

We have an issue open with Jfrog support about the licenses for these artifacts not being picked up locally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - "The POM for ... is missing, no dependency information ...
A dependency will not download even though I copied it from the Maven Repository. When I hover over the dependency in Eclipse, it...
Read more >
Maven Build Failing because of missing dependency
Maven Version: 3.5.2. Mule Runtime 3.9. Java JDK: jdk1.8.0_161. Hi All,. Trying to use maven to build and deploy simple application.
Read more >
Missing dependencies for repository-stored-specs on Bamboo ...
Bamboo specs dependencies are missing from [Maven repository| ... parent POM for com.atlassian.bamboo:bamboo-specs-generator:1.0.0: Could not find artifact ...
Read more >
Introduction to the Dependency Mechanism - Apache Maven
Dependency management is a core feature of Maven. Managing dependencies for a single project is easy. Managing dependencies for multi-module ...
Read more >
Learning the Basics - Gradle User Manual
Popular public repositories include Maven Central and the Google Android ... places where the project dependency is used, but it is easy to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found