DEV Community

Alex Martinez
Alex Martinez

Posted on

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

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.

Billboard image

Imagine monitoring that's actually built for developers

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitor creation and configuration with Monitoring as Code.

Start Monitoring

Top comments (2)

Collapse
 
mitchell_young profile image
Mitchell Young

Hi Alex!
In my case this works!

Collapse
 
devalexmartinez profile image
Alex Martinez

thanks for confirming!

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay