Skip to content

Installing

The binaries needed for the SDK are hosted in a Maven repository by PKWARE.

Info

The repository is password protected; contact PKWARE Sales and Support for access.

Getting the packages

Info

We highly recommend involving your DevOps/Infra group and having them proxy PKWARE’s repository through your corporate Maven repository, rather than adding PKWARE’s repository to each of your software projects. Point them at this page.

Add the following to your repositories block in build.gradle or build.gradle.kts

maven {
  url = uri("https://packages.smartcrypt.com/repository/maven-public/")
  credentials {
    username = "Username issued by PKWARE to your company"
    password = "Password issued by PKWARE to your company"
  }
}

Then add the dependency

dependencies {
  implementation("com.pkware.sdk:full:5.1.0")
}

Integrate the following into your pom.xml

<repositories>
  <repository>
    <id>pkware</id>
    <name>PKWARE</name>
    <url>https://packages.smartcrypt.com/repository/maven-public/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.pkware.sdk</groupId>
    <artifactId>full</artifactId>
    <version>5.1.0</version>
  </dependency>
</dependencies>

Integrate the following into your ~/.m2/settings.xml

<servers>
  <server>
    <id>pkware</id>
    <username>company_username</username>
    <password>company_password</password>
  </server>
</servers>

If not using a maven-package compatible build system, or if unable to reach the PKWARE repository server via your build tool, you can download the JAR files manually.

  1. Navigate to https://packages.smartcrypt.com/#browse/browse:maven-public
  2. Sign in using your company’s credentials
  3. Refresh the page. You should now be able to see the artifacts.
  4. Expand that target artifact all the way and download the JAR files needed
  5. Be sure to check the POM files for transitive dependencies and include those in your build as well

Compatibility

A Java 8 or higher JRE is required.