How to depend on bitcoinj with Maven using projects

Maven is a plugin based build system from Apache. It supports various other features, like automatically creating a website for your project and resolving dependencies.

If your project uses Maven for its build, you can depend on bitcoinj by adding the following snippet to your pom.xml file in the:


To get the source you can also use git and check out your own copy:

git clone
cd bitcoinj
git fetch --all
git checkout v0.15.7
mvn install

This will give you v0.15.7. If PGP is your thing, you can run git tag -v v0.15.7 to check Andreas Schildbach’s signature of the release.