Our company policies prevent programmer to connect their pc to internet. And we need to use maven in order manage our builds. So we made an internet-pc that contain a local maven repository, and created another local maven repository on the server. the problem is how to synchronize the two repositories in a way to find the new artifact installed in the internet repo and copy them to the server repo. One way is to made a tool that copy the structure of the .m2 with the new created files using created date, but is there a better solution.
Edit: The internet-pc is not connected to the local network.