Skip to content

Commit

Permalink
Add local development practices
Browse files Browse the repository at this point in the history
  • Loading branch information
wborn committed Dec 18, 2024
1 parent 745fa4b commit 0214eb0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/user-guide/deploying/release-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ As you can see in the commit the manual migration steps are:

If you have additional questions regarding this migration, we encourage you to reach out to our [forum](https://forum.openremote.io/).

## Local development practices

When developing a custom project you may also need to test changes you make to the manager code before your code gets merged.
You can test your local changes in a custom project by first publishing them to the local Maven repository using:

`./gradlew clean installDist publishToMavenLocal`

Note that the custom project build first resolves artifacts from `mavenLocal()` which is defined in the `project.gradle` file.
So once you publish snapshot artifacts to your local Maven repository these will no longer be downloaded from the https://s01.oss.sonatype.org/content/repositories/snapshots repository.
To undo this, either comment the `mavenLocal()` repository or remove your local artifacts in `~/.m2/repository/io/openremote`.

## Creating releases

The OpenRemote Manager and Android/iOS Console projects are released using a GitHub Actions "Release" workflow (release.yml).
Expand Down

0 comments on commit 0214eb0

Please sign in to comment.