development
Loading...



If this page doesn't automatically update, please Contact support.

You (or your CI) can get REBL and/or Datomic dev-local directly from the Cognitect dev-tools maven repository using your personal credentials documented below. Please do not share these credentials.

First you must configure tools.deps and/or maven to access the Cognitect maven repo using these instructions. Thereafter you can use ordinary maven dependency entries for the libraries/versions that you need:

Requirements

Common Configuration

Your token is: my-token

Both tools.deps and maven configurations require this step.

Add a new server entry under servers in your ~/.m2/settings.xml as shown below.

<!-- in ~/.m2/settings.xml -->
<settings>
  ...
  <servers>
  ...
    <server>
      <id>cognitect-dev-tools</id>
      <configuration>
        <httpHeaders>
          <property>
            <name>Private-Token</name>
            <value>my-token</value>
          </property>
        </httpHeaders>
      </configuration>
    </server>
  </servers>
  ...
</settings>

If you do not currently have a ~/.m2/settings.xml then the above snippet, with the ellipses removed, is a complete configuration.

tools.deps

Add an entry under the :mvn/repos key in your ~/.clojure/deps.edn file. You only need to do this once, nothing else needs to be done per-project to specify maven information.

;; in ~/.clojure/deps.edn
{...
:mvn/repos {"cognitect-dev-tools"
             {:url "https://dev-tools.cognitect.com/maven/releases/"}}}

If you do not currently have a ~/.clojure/deps.edn then the above snippet, with the ellipses removed, is a complete configuration.

maven

In each project, add a <repository> entry to the appropriate pom.xml file.

<!-- in pom.xml -->
<repositories><repository>
    <id>cognitect-dev-tools</id>
    <name>Cognitect dev-tools</name>
  </repository></repositories>