![]() ![]() There is an alternate form of the API that uses redirects to work around the content-disposition setting. The filename will be set in the content-disposition header field, so if you are using wget, be sure to use the -content-disposition flag so the filename is correct. If the version is not a concrete version, then Nexus will look in the maven-metadata.xml in the same way Maven does to resolve the version. p = packaging (Nexus will resolve known packaging types to the correct extension).e = the type or extension of the file (Optional).c = the classifier of the file (Optional).v = the version of the file, this may be "LATEST", "RELEASE", a version number like "2.0", or a snapshot version number like "2.0-SNAPSHOT".a = the artifactId of the file (Required).r = the id of the repository or group to search (Required).The syntax looks like this: wget "" -content-disposition Nexus Repository Manager 2 provides a separate REST API to retrieve files when interpreting the maven-metadata.xml is required. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |