I am setting up an environment for Overledger in Java. How to install the Overledger SDK as a maven dependency. In documentation, only this information is given:
I have never installed SDK in Java using maven, so it would be great if you’d explain me from scratch.
At the next Maven build (or project update in your IDE) it will be downloaded from the Maven Central repository to your local repository (located in ~/.m2/repository by default). From then on the dependency’s classes can be used in your project’s code.
2
Answers
Add the provided Maven dependency to your pom.xml in your Maven project.
more Maven Getting Started: https://maven.apache.org/guides/getting-started/
The documentation should read “Developers have to declare …” instead of “Developers have to install …”.
See Maven POM Reference, Dependencies for how to declare the dependency in your project’s POM (i.e.
pom.xml
):At the next Maven build (or project update in your IDE) it will be downloaded from the Maven Central repository to your local repository (located in
~/.m2/repository
by default). From then on the dependency’s classes can be used in your project’s code.