0

What I am looking to do is take my local maven repo (stored in .m2/repository/) and upload all the artefacts up to a ProGet server.

I cant seem to find any documents or maven plugin even that gives me this functionality?

Can anyone help please?

Andrew Kew
  • 3,098
  • 3
  • 22
  • 24
  • If you use repository manager you usually set it up and build... all the needed artifacfts will be downloaded during the build into your repo manager... – khmarbaise Jan 11 '21 at 11:43
  • the issue I have is that I have a locked down ProGet server that I can only access on VPN. So when I build my project it pulls down the artefacts during that build process yes. But now for that project I want to take the downloaded artefacts and upload them to a ProGet server I have admin access on. I cant do any of the replication between ProGet servers because the original server I dont and cant get admin access. If that makes sense? Which is why I want to push my local artefacts up (once only or manual process if fine doesnt need to be automatic) – Andrew Kew Jan 11 '21 at 13:52
  • @AndrewKew Did you find a solution to this? – OMA Feb 01 '21 at 18:01

1 Answers1

0

You could try the Wagon Maven Plugin but its latest version is almost two years old and I experienced things not working with recent Maven versions.

You could use the Exec Maven Plugin to run a script that uploads your files.

Gerold Broser
  • 14,080
  • 5
  • 48
  • 107