Skip to content

Downloading the Kount RIS Java SDK

dharp-kount edited this page Feb 24, 2022 · 6 revisions

We provide a couple of ways to obtain the Java SDK: either retrieving it as an Apache Maven dependency (preferred), or building the binary .jar file from source.

Maven dependency

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

A dependency .jar can be obtained using the following dependency descriptor in your .pom:

<dependency>
  <groupId>com.kount</groupId>
  <artifactId>kount-ris-sdk</artifactId>
  <version>${kount.sdk.version}</version>
</dependency>

where ${kount.sdk.version} is the library release which you are going to use

Building the SDK from sources

Kount allows developers to download and build the SDK library from the Java SDK github repository. Please follow the next steps if you need help with this process:

  • Clone the SDK repository to your machine
    • use your preferred Git client
    • console:
      • git clone https://github.com/Kount/kount-ris-java-sdk.git
      • git clone [email protected]:Kount/kount-ris-java-sdk.git
  • Compile and build
    • mvn clean package -- this command would generate documentation (javadoc), compile and build the SDK, run a predefined set of unit and integration tests, and in the end would wrap everything together.
  • Integrate into your IDE
    • IntelliJ IDEA and recent Eclipse packages have full support for Maven projects
    • with Eclise you can also use the command mvn eclipse:eclipse to generate classpath and project files to be used by this IDE
  • Generated binary (.jar) can be found in kount-ris-sdk/target and
    • can be added directly to a project as a dependency
    • can be deployed to your local Maven repository and referred by the pom snippet provided in the Maven dependency section

Important

⚠️ Running the mvn clean package command would only build the SDK. The dependency tests contained in this distribution will fail without proper configuration. Check the SDK integration tests section for explanation and insight on the running procedure. Contact the Kount Team for information about obtaining the required configuration data. You can still use the dependency jar built as a first module of the Maven project.


Next step: Making a request to the Kount RIS