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 2.0.0

See original GitHub issue

There seems to be a missing dependency in latest release. Since few hours ago we seen a lot of failure on our CIs about invocation of cyclonedx-maven-plugin via cli, like that:

[ERROR] Failed to execute goal org.cyclonedx:cyclonedx-maven-plugin:2.0.0:makeAggregateBom (default-cli) on project MyProject: Execution default-cli of goal org.cyclonedx:cyclonedx-maven-plugin:2.0.0:makeAggregateBom failed: Plugin org.cyclonedx:cyclonedx-maven-plugin:2.0.0 or one of its dependencies could not be resolved: Could not find artifact com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.1 in my-mirror (https://nexus.example.com/nexus/repository/my-mirror) -> [Help 1]

I searched com.github.everit-org.json-schema:org.everit.json.schema on search.maven.org and i didn’t found it, even for past versions… is groupdId and artifactId correct?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
stevespringettcommented, Mar 10, 2021

With version 2.3.0 of the Maven plugin, this issue no longer exists.

3reactions
pachulocommented, Sep 3, 2020

We were having the same problem.

I think that the mistake resides in the mirror use in our settings: if I declare a mirror in my settings.xml then all requests to resolve a dependency will be redirected through that mirror which, in our case, doesn’t contains a proxy for the gitpack repository.

@mvanini in our case, changing the config from this:

....
    <mirror>
       <id>mirror</id>
      <mirrorOf>*</mirrorOf>
      <name>MyCompany Nexus Mirror</name>
      <url>https://nexus.mycompany.net/content/groups/public</url>
    </mirror>
....

To this:

....
    <mirror> 
      <id>mirror</id> 
      <mirrorOf>central</mirrorOf> 
      <name>MyCompany Nexus Mirror</name> 
      <url>https://nexus.mycompany.net/content/groups/public</url> 
    </mirror>
....

(Mind the mirrorOf change) solved the issue.

More info: https://maven.apache.org/guides/mini/guide-mirror-settings.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can i install those missing dependencies ? , page 1 - Forum
sudo apt install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libgtk2.0-0:i386 libsdl2-2.0-0:i386 ...
Read more >
Missing dependencies in service implementation
I am developing a service with multiple services, like sip-services example. I used Mobicents JAIN SLEE Maven Archetypes in order to create the...
Read more >
1962922 – Missing dependency on python3-keyring
Actual results: Pop-up window complains about missing dependencies and lists 'keyring'. Installing python3-keyring manually prevents that error.
Read more >
cabal: Encountered missing dependencies: - Stack Overflow
Warning: solver failed to find a solution: Could not resolve dependencies: trying: elm-0.19.1 (user goal) next goal: zip-archive (dependency of ...
Read more >
Missing dependency - Issue - Socket.dev
The package should define the missing dependency inside of package.json and publish a new version. Consumers may have to install the missing dependency...
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