![]() ![]() ![]() 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. Modify the feature nexus-oss-feature by adding the following line: blackduck-nexus3 X.Y.Z represents the version of the plugin you are installing, which in this case is version 1.3.A. If you are using the OSS edition, you must edit the following file: /system/com/sonatype/nexus/assemblies/nexus-oss-feature/3.x.y/nexus-oss-feature-3.x.y-features.xml as follows: Go the the plugin version directory and get/download the plugin JAR file, for example, by using wget. Go to /system/org/sonatype/nexus/plugins/Ĭreate a directory for the Black Duck plugin, for example, mkdir blackduck-nexus3įrom the directory ( blackduck-nexus3) that you created in the previous step, create a directory for the plugin version, for example, mkdir 1.3.0 Before, you start this process it is assumed that you’ve installed the Nexus application. Use the following process to download and install the Black Duck Nexus plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |