This note is for the development and maintenance of the samples. See README.md for using the samples.

At this time an ASF release is not created for the samples - neither a source release bundle nor binary sample artifacts are released. The expectation is that users will get the samples from this github repository.

Generally, the desire is to have the samples build against the latest released version of the runtime in Maven Central.

Hence when a new Edgent runtime is released, the samples build tooling should be updated to reference the new Edgent release.
E.g., when Edgent 1.3.0 is released:

    ./update-samples-version.sh --edgent-version 1.3.0

Review the changes and stage/commit the updated files.

Since we‘re not formally releasing the samples, it’s currently unclear when we‘ll decide to change the sample artifact version ids. We may try to track maintain tracking the Edgent runtime’s version. Here's the easiest way to change the sample artifact version ids when a decision is made to change them:

    ./update-samples-version.sh --samples-version 1.3.0-SNAPSHOT

Review the changes and stage/commit the updated files.