Public Repository

    Introduction

    Chemaxon provides a public repository at https://chemaxon.jfrog.io/ for our products and modules. It is designed for integrators and resellers but is available for any registered Chemaxon user as well. Chemaxon provides both web user interface and CLI access. How to acquire the required credentials in order to use this repository are described below.

    Create your Chemaxon Account

    If you do not already have a Chemaxon Account, you may create it via filling the form at https://accounts.chemaxon.com/register. Your USER-ID will serve as the username when setting up the repository.

    Generate your Identity Token and have your User-ID at the ready!

    API keys will be deprecated, therefore we will be using Identity tokens henceforth. To generate your Identity Token visit https://chemaxon.jfrog.io/. Please log in with your Chemaxon account credentials.

    Navigate to the top right corner of your screen, select your user profile. Your User-ID will be displayed above your registered e-mail.

    Select "Edit Profile".

    UID

    You'll find the option to generate your Identity Token here. identity2

    Follow further instructions while generating your token from Artifactory.

    Get your GPG Key for Debian

    Token = Identity_Token

    User= User_ID

    export TOKEN=
    export USER=
    wget -qO - https://$USER:$TOKEN@chemaxon.jfrog.io/artifactory/api/security/keypair/default-gpg-key/public | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/chemaxon.jfrog.io.gpg

    Configure your project

    Help is available on your user inteface with commands already parametered for the following repository types: Docker, Generic, Maven, Debian, npm, pypi, Rpm.

    • Please log in to your Jfrog account through OKTA.
    • On the top right corner of your screen, select your user.
    • Select "Set Me Up".
    • Select repository type.

    Gradle

    If you would like to use Gradle as your build tool, you can follow these instructions to access Chemaxon's Maven repository. Or you can use the quickstart project as an example.

    In your Gradle project, create (or edit if already exists) a gradle.properties file and add these contents. You can also move this file outside your project, into user home/.gradle directory.

    chemaxonRepositoryUser=<USER-ID>>
    chemaxonRepositoryPassword=<IDENTITY TOKEN>
    chemaxonRepositoryUrl=https://chemaxon.jfrog.io/artifactory

    In the build.gradle file, add our Maven repository in the repositories block. For example:

    repositories {
        maven {
            url "${chemaxonRepositoryUrl}/libs-release"
            credentials {
                username = chemaxonRepositoryUser
                password = chemaxonRepositoryPassword
            }
        }
    }

    After applying these settings, you can add Chemaxon modules as dependencies.

    If you had a problem with resolving the ojdbc8 Oracle JDBC driver but you do not want to use Oracle then omitting the driver solves the problem. To omit ojdbc8 add this setting to the build.gradle file:

    configurations.all {
        exclude group: 'com.oracle.jdbc', module: 'ojdbc8'
    }

    Quickstart Projects

    Gradle

    A simple, self-contained quickstart project example using Gradle:

    MSketchGradleQuickstart.zip

    Maven

    A simple, self-contained quickstart project example using Apache Maven:

    MSketchMavenQuickstart.zip

    Top Level Modules

    To integrate a product, you only need to add its top-level module as a dependency, all required modules will be downloaded transitively (with the exception of the module naming which also needs to be added separately).

    Product Top-level module name in the repository
    Marvin marvin-app
    JChem jchem-main

    Example Projects

    JKlustor Web Example

    An open-source API usage example for JKlustor, which uses Chemaxon's Maven Repository. It is available on GitHub: https://github.com/Chemaxon/jklustor-web-example/