I want to download the artifacts of a project from command line with wget
. The project has artifacts with different classifiers. But the classifier is not always equal and sometimes a project does not have any artifacts with classifer. The only one information, which i always get is the GAV coordinate of the projects.
When i specify the URL without the classifier and packaging, it responses with Error 404: Not Found.
URL="https://mynexus.com/nexus/service/local/artifact/maven/content?g=org.company&a=someproject&v=1.0.0&r=myrepository"
wget --user=$USER --password=$PASSWORD $URL
Is there any possiblity to get first a list of all classifiers of the project? Or to download all artifacts of the project with or without classifiers?
I searched in the documentation of the rest api, but i can't find a solution for my problem.