Tuesday, September 24, 2019

Jipack.io Complaining about Not Being Able to Locate a Repo

I use a very useful tool jitpack.io to add dependencies directly from Github repositories. I encountered an error in IntelliJ that complains that it cannot resolve the dependencies. Below is an example message:

Could not find artifact com.github.GumTreeDiff:gumtree:pom:v2.1.1 
in jitpack.io (https://jitpack.io)

I resolve this by following these simple steps.
  1. Open jitpack.io in a Web browser
  2. Enter the Github username and repository name on the site
  3. Locate the error reports and different releases from the Website, e.g., using the gumtree project as an example dependency,
  4. Try different releases by configuring the Maven project with different releases. In this case, version 2.0.0 works.

No comments:

Post a Comment