I have a maven project(say projectA) which produces a tar.gz(zip) file(using assembly plugin).this zip contains some script files.let's say name of zip file is ,patientregistry-v4.tar.gz inside com.mycompany group.
Now ,I am creating a java(spring) project which basically exposes a service and takes maven artifact as parameter(groupid,artifactid,version). So ,I would like to use this configuration to download it from maven repository and then unzip scripts to a folder during runtime. How do I download this maven repository from java ?