I need to write a Java program that takes an artifact from a given Nexus repository, including the pom and all side artifacts (like sources, javadoc, whatever) and moves it to a different repository.
I guess that Aether would be a good start, but I don't know how to handle the combined set of files (main artifact, pom, sources,...) in a straight-forward way.