Resolve Hex Packages from Hex Local Repository

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

This topic describes how to resolve the packages deployed in Hex local repositories in Artifactory. It provides instructions to resolve the packages for the organization's development activities.

Prerequisite

Download Public Key to Hex Project Folder

To resolve a Hex local package, follow these steps:

  1. Refer to View Set Me Up Instructions - Hex Repository topic to view Resolve code snippets.

  2. Add the package names, versions and repository names to your mix.exs file:

    Note

    Make sure to replace the placeholders in bold with the package name, version, and repository name.

    defp deps do
    [ 
        {:<PACKAGE_NAME>, "<PACKAGE_VERSION>", repo: "<REPOSITORY_NAME>"}
    ]

    For example:

    defp deps do
    [ 
        {:jason, "1.4.4", repo: "hex-local"}
    ]
  3. Run the following command:

    mix deps.get