|
|
||
|---|---|---|
| provision | ||
| .gitignore | ||
| README.md | ||
| Vagrantfile | ||
README.md
This is a Vagrant Environment for a Nexus Repository OSS service.
This will:
- Configure Nexus through Groovy scripts.
- Create the
adhoc-packagerepository. - Configure the NuGet
nuget-hostedrepository to accept pushing with an API key. - Schedule a task to remove the old snapshots from the
maven-snapshotsrepository. - Create users and a custom
deployerrole. - For more details look inside the provision/provision-nexus directory.
- Create the
- Setup nginx as a Nexus HTTPS proxy and static file server.
- Test the installed repositories by using and publishing to them.
NB If you are new to Groovy, be sure to check the Groovy Learn X in Y minutes page.
Caveats
- Most of the repository plugins are not open-source.
- Only
mavenandraware open-source.
- Only
Usage
Build and install the Ubuntu Base Box.
Add the following entry to your /etc/hosts file:
192.168.56.3 nexus.example.com
Run vagrant up to launch the environment. See its output to known how to login at the
local Nexus home page as admin (you can also login with
one of the example accounts, e.g. alice.doe and password password).
NB nginx is setup with a self-signed certificate that you have to trust before being able to access the local Nexus home page.