

You can do an HTTP PUT of local file to a repository path using the form /repository//.Ī curl example: curl -v -u admin:admin123 -upload-file pom.xml Some repository formats such as Maven 2, YUM, and RAW allow direct upload of assets using HTTP PUT. Formats such as NuGet, NPM, and Docker DO NOT support these type of simple HTTP PUT uploads. Direct Upload using HTTP PUT to the Repository Path Information and examples at our help site. Nexus 3.13.0 and newer - POST /service/rest/v1/components

Nexus 3.9.0 to 3.13.0 - POST /service/rest/beta/components (See this article for Nexus 2) Direct Upload using HTTP POST to Components REST APIĪ generic component upload REST API is available as of version 3.9.0. There are many ways to upload artifacts into Nexus 3 without running a build.
