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.

    • Public 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 it has the SNAPSHOT postfix. If selected, users are allowed to publish packages with the same version but only if the version has the SNAPSHOT postfix (for example, 1.0-SNAPSHOT).

    • Immutable artifact versions: If selected, users are allowed to publish packages with the same version.

  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.

    To copy the repository URL, in the top right corner click Horizontal menu and select Copy URL. For example, in case of a private repository the URL would be: https://maven.pkg.jetbrains.space/mycompany/p/projectkey/my-maven-repo

Last modified: 28 July 2021