File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,28 @@ See [Running the tests](./docs/contributing/running-tests.md) for more details.
1515
1616### Snapshot builds
1717
18- For developers testing code changes before a release is complete, there are
19- snapshot builds of the ` main ` branch. They are available from
20- the Sonatype snapshot repository at ` https://central.sonatype.com/repository/maven-snapshots/ `
21- ([ browse] ( https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/ ) ).
18+ For developers testing code changes before a release is complete, snapshot builds of the ` main `
19+ branch are available from the Sonatype snapshot repository at ` https://central.sonatype.com/repository/maven-snapshots/ ` .
20+
21+ To find the latest snapshot, check the maven metadata (replace ` {LATEST_VERSION} ` with the current
22+ stable release):
23+
24+ ```
25+ https://central.sonatype.com/repository/maven-snapshots/io/opentelemetry/javaagent/opentelemetry-javaagent/{LATEST_VERSION}-SNAPSHOT/maven-metadata.xml
26+ ```
27+
28+ Look for the ` <timestamp> ` and ` <buildNumber> ` in the XML response, then construct the download URL:
29+
30+ ```
31+ https://central.sonatype.com/repository/maven-snapshots/io/opentelemetry/javaagent/opentelemetry-javaagent/{VERSION}-SNAPSHOT/opentelemetry-javaagent-{VERSION}-{TIMESTAMP}-{BUILD_NUMBER}.jar
32+ ```
33+
34+ For example, if the metadata shows timestamp ` 20250925.160708 ` and build number ` 56 ` for version
35+ ` 2.21.0 ` , the snapshot JAR URL would be:
36+
37+ ```
38+ https://central.sonatype.com/repository/maven-snapshots/io/opentelemetry/javaagent/opentelemetry-javaagent/2.21.0-SNAPSHOT/opentelemetry-javaagent-2.21.0-20250925.160708-56.jar
39+ ```
2240
2341### Building from source
2442
You can’t perform that action at this time.
0 commit comments