Uploading .jar to packagecloud.io for Private/Custom Dependency Imports

Install ruby

  1. Click here to view instructions on how to download Maven
    • After the installation is complete, exit out of the terminal.
  2. Click here to view instructions on how to download ruby
    • After the installation is complete, exit out of the terminal.
  3. From a new terminal execute the command below
    • gem install package_cloud
    • After the installation is complete, exit out of the terminal.

Create package_cloud account

Deploy

  1. Click here to download the file for deploying a maven artifact to packagecloud.io
  2. Move the deploy.sh script to the root directory of the maven project you would like to deploy.
  3. From a bash terminal, navigate to the root directory of the maven project you would like to deploy.
  4. Execute the command below to give the deploy.sh script executable permissions
    • chmod u+x deploy.sh
  5. Execute the command below to run the deploy.sh script
    • ./deploy.sh