This is a repository for documentation and issues of https://jitpack.io service
JitPack is an easy to use package repository for JVM projects. It builds GitHub projects on demand and provides you with ready-to-use packages.
To get a GitHub project into your build:
Step 1. Add the JitPack maven repository to your build file
url "https://jitpack.io"
Step 2. Add the dependency in the form:
- Group: com.github.Username
- Artifact: Repository Name
- Version: Release tag
That's it! The first time you request a project JitPack checks out the code, builds it and sends the Jar files back to you.
See the Guide to building for more details.
If the project doesn't have any GitHub Releases you can get the latest snapshot build. In this case use the version they have in their pom.
There are a lot of great libraries on GitHub but unfortunately many of them are not published on any public repositories. You could always check out the code, build and deploy locally:
- Can I use a GitHub project directly in Maven? question on StackOverflow
but wouldn't it be great if the library was already built and available to use? Well now it is.
With JitPack all the author needs to do is create a GitHub Release and the project becomes available for everyone to use. So sharing releases is simpler for authors as well.