Hosting a shared Maven repository on a remote server may be accomplished with a simple web server such as Apache HTTP server.
This works because most of the resolution and publishing logic of Maven is implemented in the client.
By using a small helper, this solution works fully automatically.
Caution: this example exposes a writable directory without any authentication. You need protect the PUT
method via the apache configuration.