jackmahoney / j2s3

Publish Java Maven projects to S3 for internal use

Home Page:https://jackmahoney.github.io/j2s3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java 2 Aws S3


Python library for publishing maven projects to an S3 maven repository. Requires maven installed in your path.

Why?

When building a Java API one often wants to publish API Clients after each build. This can be a cumbersome process. With J2S3 you can publish to an s3 repository for internal use without the hassle of setting up mavencentral on bintray access.

Preliminaries

  • Set up an s3 bucket in s3 to use as a repository
  • Create an IAM user with s3 access
  • Get the access key id and secret for this user

Usage

Example invocation

pip3 install j2s3
from j2s3.main import publish

# project_directory: a dir containing Java code and a pom.xml file
publish(project_directory, aws_access_key_id, aws_secret_access_key, s3_bucket_name)

Contributing

Pull requests and bug reports welcome on the github repository.

About

Publish Java Maven projects to S3 for internal use

https://jackmahoney.github.io/j2s3/


Languages

Language:Java 89.9%Language:Python 7.9%Language:Shell 1.4%Language:Scala 0.7%Language:Makefile 0.1%