This is a friendly command line tool for uploading a directory of artifacts to Nexus 3.x repository
- Clone the project to your computer
git clone https://github.com/ronbadur/maven-artifacts-uploader.git
-
Run
mvn install
command in the directory of the project -
Fill the repository url and repositroy id fields in
config.properties
file underconf
directory -
Add the direcotry to
bin
folder to the PATH enviroment variable -
Add
<server>
tag to your mavensettings.xml
file, for example:
<servers>
<server>
<id>nexus</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>
For uploading all the artifacts in specific directory on your computer
mvnUploader -d path/to/your/artifacts
To get all the options that available
mvnUploader -h
By all means! If you have a fix or an improvement, pull requests are welcome. We are also happy to get any feedback.