JetBrains Space Help

Create a Maven Repository

  1. On the navigation bar, choose the project where you want to create a repository.

  2. On the project sidebar menu, choose Packages.

  3. On the Packages page, click New repository.

  4. In the New Package Repository window, specify repository settings:

    • Type: choose Maven Repository.

    • Name and Description: specify the repository name (it must be a unique identifier) and description.

    • Access to repository: choose whether the repository can be accessed by unauthenticated users. Learn more

    • Enable snapshot versions: allow publishing packages with the same version if they have the SNAPSHOT postfix. If this option is selected, you are allowed to publish packages with the same version (for example, 1.0-SNAPSHOT) multiple times. In this case, the packages will differ only by their timestamp. Note: The SNAPSHOT postfix is typically used to indicate that the package is still under development.

    New Maven repository
  5. After you create the repository, click the Get Started button to see the command-line snippets that will help you get started: connect to the repository, publish, and get artifacts. Here you can also Generate personal token for accessing the repository.

    On the top of the page you can copy the repository URL. For example, in case of a private repository:

Last modified: 21 October 2020