Local Repository

Local repositories can be configured for a specific project group's use. This is where the artifacts used for building the projects can be found instead of the default ($USER_HOME/.m2/repository).

Click the Local Repositories link under the Administration section

Local Repositories

You will see all the local repositories that have been created.

To display:

In this screen you can add/edit/delete/purge a local repository.

You can purge a repository if it has a default Purge Configuration, otherwise the purge icon is disabled.

disabled purge icon

Adding / Editing a Local Repository

All fields are mandatory.

  • Name: must be a unique repository name.
  • Location: must be the absolute path of a unique repository location.
  • Layout: "default" or "legacy". Default layout is for maven2, while legacy layout is for maven1.

    Adding a local repository will automatically create a default Purge Configuration for that repository.

Default

The default local repository location comes from the settings of the user running Continuum. The location cannot be edited within Continuum, but can be changed by specifying it in ~/.m2/settings.xml.