Skip to content

Commit 2324900

Browse files
authored
Merge pull request #144 from bci-oss/feature/OMP-DOC-8-milestone-release-usage
OMP-DOC-8: Document milestone release usage.
2 parents d597ee2 + 6e53167 commit 2324900

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

documentation/developer-guide/modules/tooling-guide/pages/java-aspect-tooling.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,29 @@ an error occurs, the object can also provide the original exception. Compared wi
1919
as a return type instead has the advantage of enabling composable and better readable code. Please see the
2020
https://www.vavr.io/vavr-docs/[Vavr User Guide] for more information.
2121

22+
[[versioning]]
23+
== Getting the right version
24+
25+
The tooling can be made available in two different versions: `release` and `milestone`. The release version represents a stable version of the product
26+
and can be referenced in your projects in the usual way from the Maven Central repository. There is also the possibility to have the intermediate builds
27+
made available, these are called `milestone` builds. Instead of Maven Central, these are released via
28+
https://github.com/orgs/OpenManufacturingPlatform/packages?repo_name=sds-sdk[GitHub Packages] mechanism. +
29+
To be able to use the artifacts released in this way in your projects, first the right repository has to be added to your `pom.xml` file:
30+
[source, xml]
31+
----
32+
<repositories>
33+
<repository>
34+
<id>github</id>
35+
<name>OpenManufacturingPlatform SDS-SDK</name>
36+
<url>https://maven.pkg.github.com/OpenManufacturingPlatform/sds-sdk</url>
37+
<releases><enabled>true</enabled></releases>
38+
<snapshots><enabled>true</enabled></snapshots>
39+
</repository>
40+
</repositories>
41+
----
42+
Then the desired dependencies can be referenced in the usual way. For an example, please refer to
43+
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#installing-a-package[Github - Installing a package].
44+
2245
[[parsing-aspect-model-urns]]
2346
== Parsing Aspect Model URNs
2447

0 commit comments

Comments
 (0)