- 2 AWS S3 Buckets for repo storage
- AWS Access Key, Secret key for a limited access account (Write / Read access to those buckets)
- Travis-ci account
- Github maven project
- 'Parent Pom' - set your usual Maven snapshot & Release Repo's are set
- travis cli on your local machine (Encrypt your Authentication assets)
- Create a .travis.yml
- Encrypt your Auth keys into the .travis.yml file
- Overwrite a conditional build / deploy step in .travis.yml like
mvn clean test install deploy
https://docs.travis-ci.com/user/customizing-the-build/#Customizing-the-Build-Step
https://github.com/jcaddel/maven-s3-wagon/wiki/Authentication
https://blog.travis-ci.com/2017-03-30-deploy-maven-travis-ci-packagecloud/
https://docs.travis-ci.com/user/languages/java#Projects-Using-Maven