Skip to content

Simple dotnet CLI Upload Tool for Sontype Nexus Repository Manager

License

Notifications You must be signed in to change notification settings

task-it/TaskIt.NexusUploader

Repository files navigation

TaskIt.NexusUploader

Simple cli tool for uploading folder structures to a Nexus (raw) repository.
If something goes wrong all uploaded files / folders will be removed from the Nexus repository.

Installation

Like all dotnet tools this tool can be used on a project / solution level (simply add the nuget dependency) or be installed as a global tool. Simply use the following commmand:
dotnet tool install --global TaskIt.NexusUploader

Update

dotnet tool update --global TaskIt.NexusUploader

Uninstall

dotnet tool uninstall --global TaskIt.NexusUploader

Usage

Simply call:
NexusUploader <parameters>

Parameters

The folder structure in the target Repository (=targetUrl) will be like this:
<groupId>\<artefactId>\<artifactVersion>
The folder will not be created as subfolder of the path. Contents of the folder will be placed directly under the specified path.

Parameter Required Description
-u
--user
yes string - username for the nexus upload api
-p
--password
yes string - password for the nexus upload api.
The password will be Base64 encoded.
-t
--targetUrl
yes string - Nexus repository url
-f
--folder
false string - Folder root for the uploaded content.
Tf omitted, the current directory will be used as content root.
-g
--groupId
yes string - The group of the artifact
-a
--artifactId
yes string - The artifact name / id
-v
--artifactVersion
yes string - Artifact version / revision

About

Simple dotnet CLI Upload Tool for Sontype Nexus Repository Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages