|
| 1 | +# Snapshot releases |
| 2 | + |
| 3 | +In addition to official JanusGraph releases, JanusGraph publishes |
| 4 | +releases for each commit. The commit releases allow users to use latest |
| 5 | +JanusGraph features without relying on official JanusGraph releases. |
| 6 | +- Official JanusGraph releases are better tested and usually come with finalized |
| 7 | + changes which signals that the used features are most likely to be stable for long term. |
| 8 | +- Commit releases are not manually verified but instead verified by main CI tests as |
| 9 | + well as scheduled full CI tests (once per week). New features in commit releases are not |
| 10 | + guaranteed to be compatible between commits. Thus, you may expect more breaking changes between |
| 11 | + commit releases and official releases. |
| 12 | + |
| 13 | +## Maven repository artifacts |
| 14 | + |
| 15 | +Both official and commit release are deployed to Sonatype OSS and are available in Sonatype Maven Central Repository |
| 16 | +under different group ids. |
| 17 | + |
| 18 | +Official JanusGraph releases have the next groupId: `org.janusgraph`. |
| 19 | +Dependencies example: |
| 20 | +```xml tab='Maven' |
| 21 | +<dependency> |
| 22 | + <groupId>org.janusgraph</groupId> |
| 23 | + <artifactId>janusgraph-core</artifactId> |
| 24 | + <version>0.6.2</version> |
| 25 | +</dependency> |
| 26 | +``` |
| 27 | + |
| 28 | +```groovy tab='Gradle' |
| 29 | +compile "org.janusgraph:janusgraph-core:0.6.2" |
| 30 | +``` |
| 31 | + |
| 32 | +Commit JanusGraph releases have the next groupId: `org.janusgraph.commit`. |
| 33 | +Artifact id for commit releases have the next format: `FOLLOWING_VERSION-DATE-TIME.COMMIT`. |
| 34 | +- `FOLLOWING_VERSION` is the upcoming official version to be used after release is finalized (i.e. `0.6.3` if the current latest release is `0.6.2`). |
| 35 | +- `DATE` - date of the commit release in `yyyyMMdd` format. |
| 36 | +- `TIME` - time of the commit release in `HHmmss` format. |
| 37 | +- `COMMIT` - short commit hash of the commit used in the release. |
| 38 | + |
| 39 | +Dependencies example: |
| 40 | +```xml tab='Maven' |
| 41 | +<dependency> |
| 42 | + <groupId>org.janusgraph.commit</groupId> |
| 43 | + <artifactId>janusgraph-core</artifactId> |
| 44 | + <version>0.6.3-20221207-100250.39839b810</version> |
| 45 | +</dependency> |
| 46 | +``` |
| 47 | + |
| 48 | +```groovy tab='Gradle' |
| 49 | +compile "org.janusgraph.commit:janusgraph-core:0.6.3-20221207-100250.39839b810" |
| 50 | +``` |
| 51 | + |
| 52 | +## JanusGraph distribution builds |
| 53 | + |
| 54 | +In addition to distribution builds provided for each official JanusGraph release, snapshot distribution builds are |
| 55 | +provided for all commits. |
| 56 | + |
| 57 | +!!! info |
| 58 | +GitHub allows to download distribution builds only for authenticated GitHub users. |
| 59 | + |
| 60 | +To access the distribution build bundle for any commit, please open the commit you are interested in and select its |
| 61 | +`CI Release` details. For example: |
| 62 | + |
| 63 | + |
| 64 | +When `CI Release` page is opened for a specific commit, open summary and download the attached to `Artifacts` section |
| 65 | +file named `distribution-builds`. This will download `distribution-builds.zip` archive containing all distribution builds. |
| 66 | + |
| 67 | + |
| 68 | +!!! warning |
| 69 | +Old snapshot distribution builds are expiring in GitHub due to timing and memory limits. It's not guaranteed that |
| 70 | +the snapshot distribution build downloaded yesterday is available today. We encourage to use either official release |
| 71 | +distribution builds or newer snapshot distribution builds. |
| 72 | + |
| 73 | +If you see expired distribution builds or don't see any distribution builds for a specific commit, it means that it isn't |
| 74 | +available to be downloaded anymore. Thus, the distribution builds from newer commits should be used. |
| 75 | + |
0 commit comments