diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 639a5fdc05..deca81612f 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -1,6 +1,29 @@ ## Developer instructions -* How to release a new version +### Testing a release locally +Run nexus locally (assuming you have docker running locally): + +```bash +docker run -d -p 8081:8081 --name nexus sonatype/nexus +``` + +Configure the `distributionManagement` section in the root `pom.xml` to point to the repo on localhost. + +Add/update your `~/.m2/settings.xml` with the following config block: + +```xml + + + + nexus-local + admin + admin123 + + + +``` + +Perform the release process as described below. ### How to release a new version diff --git a/pom.xml b/pom.xml index 0a513e5a27..9da053e746 100644 --- a/pom.xml +++ b/pom.xml @@ -51,11 +51,11 @@ - nexus + nexus-local http://localhost:8081/nexus/content/repositories/snapshots - nexus + nexus-local http://localhost:8081/nexus/content/repositories/snapshots