-
Notifications
You must be signed in to change notification settings - Fork 6
Creating a New Repository
For new projects, you may need to create a new repository on the Archiva server.
A repository is the top level of organization for Archiva. This is where things like read and write permissions can be configured. Within a repository, you can put various folders and artifacts.
To create a new repository, you must log in using the Archiva web interface.
Then on the left, choose Repositories
, then Add
. You will see a form that looks like this:
It's a beast. But you only need to fill in a few fields:
- Id -- just use the name of the repository, like "temporalFittingEngine"
- Name -- just use the name of the repository
- Directory -- just use the name of the repository
- Releases -- probably good to check it
- Snapshots -- probably good to check it
- Scanned -- check it
Releases and Snapshots tell Archiva how you plan to use this repository. Releases means you plan to upload artifacts with meaningful version numbers, and it's an error to update the artifact unless you update the version number too. Snapshots means you expect your artifacts to change over time as you work on them, even though the name and version number stay the same.
If you don't know what you need, it's probably ok to check both Releases and Snapshots.
Finally, hit Save
. That should do it.