If a "trigger job" triggers a downstream job with a build param of type Maven Metadata Plugin,
the passed build param "MY_JAR_VERSION" isn´t reflected properly in MY_JAR_ARTIFACT_URL.
MY_JAR_ARTIFACT_URL is composed out of the parameters if the job would have been triggered manually - with a (default) selection of a version.
the trigger job passes MY_JAR_VERSION=1 to the downstream project.
When inspecting "Parameters" of the downstream project we´ll see these properties:
=> For that, MY_JAR_ARTIFACT_URL needs to be created programmatically by concatinating all parts to a valid (Nexus) URL:
Expected behaviour is COMPONENT_ARTIFACT_URL will always reflect the correct URL - regardingless of the version being choosen by a user or passed as build parameter from a trigger job.