Maven Artifacts Uploader

This is a friendly command line tool for uploading a directory of artifacts to Nexus 3.x repository

Installation

  1. Clone the project to your computer
git clone https://github.com/ronbadur/maven-artifacts-uploader.git
  1. Run mvn install command in the directory of the project

  2. Fill the repository url and repositroy id fields in config.properties file under conf directory

  3. Add the direcotry to bin folder to the PATH enviroment variable

  4. Add <server> tag to your maven settings.xml file, for example:

    <servers>
    <server>
      <id>nexus</id>
      <username>admin</username>
      <password>admin123</password>
    </server>
    </servers>

    Usage

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

Contributing

By all means! If you have a fix or an improvement, pull requests are welcome. We are also happy to get any feedback.