The release currently failed due to a gradle cautionary check, which is a false-positive in this case:
* What went wrong:
Execution failed for task ':agentextension:publishMavenPublicationToSonatypeRepository'.
> Failed to publish publication 'maven' to repository 'sonatype'
> Artifact elastic-otel-agentextension-0.1.0.jar wasn't produced by this build.
I've fixed the issue by reusing the same logic for publishing a shadow-jar we use for publishing our distro agent.
Also this PR includes two bug-fixes I forgot about which are also included in #215 . Without those, the agent-extension will not work properly.
The release currently failed due to a gradle cautionary check, which is a false-positive in this case:
I've fixed the issue by reusing the same logic for publishing a shadow-jar we use for publishing our distro agent.
Also this PR includes two bug-fixes I forgot about which are also included in #215 . Without those, the agent-extension will not work properly.