Can we install maven binaries automatically when there is new version uploaded in public maven repository?

Hi,

Greetings!

I am trying to fetch latest version of artifacts for contrast agent from my nexus repository which is proxied with maven public repository https://repo1.maven.org/maven2/com/contrastsecurity/contrast-agent.

We have a proxy maven repository set in Nexus already. Is it possible for nexus to update latest version of contrast-agent binaries in my nexus maven proxy repository whenever it is being updated in public maven repository ?

Thank you in advance!

Cheers,
Nikesh.

You’ll have to write something that downloads the latest version through nxrm 3, it won’t automatically download the latest version.

I believe maven supports open version ranges, e.g. [1,) so you could probably create a pom for that.

1 Like