This content originally appeared on DEV Community and was authored by Alex Martinez
I've been having this issue in several Mule applications, but all of them happen while I'm trying to use CI/CD pipelines.
The full thing I got was this:
org.mule.maven.client.api.exception.BundleDependencyNotFoundException: org.eclipse.aether.resolution.ArtifactResolutionException: com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.2 was not found in https://maven.anypoint.mulesoft.com/api/v3/maven during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of anypoint-exchange-v3 has elapsed or updates are forced
In summary, this happens because the repositories
you are using in your pom.xml
don't include this dependency that is needed from MuleSoft for something.
This last time I encountered it, I fixed it using the Nexus public repo (because my specific use case doesn't use the Nexus credentials).
Add this to your pom.xml
under the <repositories>
tag to fix it:
<repository>
<id>Nexus</id>
<name>Nexus Public Repository</name>
<url>https://repository-master.mulesoft.org/nexus/content/groups/public/</url>
<layout>default</layout>
</repository>
Here's the repo where I did this fix: squirrel-app.
You don't need to set up Nexus credentials or anything on settings.xml
. This should be good enough.
If this doesn't fix your issue, please get in touch cause I want to make sure I got this fix right.
This content originally appeared on DEV Community and was authored by Alex Martinez
Alex Martinez | Sciencx (2024-09-17T18:13:22+00:00) Quick fix: com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.2 was not found. Retrieved from https://www.scien.cx/2024/09/17/quick-fix-com-github-everit-org-json-schemaorg-everit-json-schemajar1-12-2-was-not-found/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.