Downloading artifacts from remote maven repo programmatically
问题 I am using Aether utility library to manage deppendencies. When I try to download the transitive dependencies for a maven artifact I get a java.io.IOException: Invalid Content-Range header for partial download error. I am using almost the same code from the aether example here https://github.com/eclipse/aether-demo/blob/master/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/ResolveTransitiveDependencies.java /** * Resolves the transitive (compile) dependencies of an artifact. *