Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.03 KB

using-maven.md

File metadata and controls

33 lines (26 loc) · 1.03 KB
layout title
base
How to depend on bitcoinj with Maven using projects

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:

{% highlight xml %} org.bitcoinj bitcoinj-core 0.16.3 compile {% endhighlight %}

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

git clone https://github.com/bitcoinj/bitcoinj.git
cd bitcoinj
git fetch --all
git checkout v0.16.3
mvn install

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