Quick fix: com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.2 was not found

Alex Martinez - Sep 17 - - Dev Community

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

Enter fullscreen mode Exit fullscreen mode

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>
Enter fullscreen mode Exit fullscreen mode

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.

. . . . . . . . . . . . .
Terabox Video Player