Skip to content

Conversation

@SylvainJuge
Copy link
Member

Changes in sonatype OSS repository for snapshots implies that the redirect URL we are using to get the latest version of EDOT is no longer working and returns an obsolete snapshot version.

There is no direct replacement available, and we have to replicate the same snapshot resolution logic as maven using the available metadata descriptors in XML before being able to download the EDOT jar file.

Tested locally, the ad service shows the 1.5.1-SNAPSHOT version when starting, which means it is running with the latest snapshot available (was 1.4.2-SNAPSHOT previously):

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/src/app/opentelemetry-javaagent.jar
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
2025-09-25 12:47:37,172 [main] INFO  io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent - version: 1.5.1-SNAPSHOT

Copy link
Collaborator

@rogercoll rogercoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind updating src/kafka/Dockerfile.elastic as well?

@SylvainJuge
Copy link
Member Author

Would you mind updating src/kafka/Dockerfile.elastic as well?

done in 0d9888a

@rogercoll rogercoll merged commit e84975d into elastic:main Sep 26, 2025
23 of 24 checks passed
@SylvainJuge SylvainJuge deleted the java-edot-latest-snapshot branch September 26, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants