If you want to use S3 bucket as a private or public maven repo, first of all, you need to create an s3 bucket, create IAM user and configure AWS access by keys. It's a very simple task, let's do it.
Apache Maven is a project management software, managing building, reporting and documentation of a Java development project. In order to install and configure Apache Maven on CentOS, follow these steps.
First of all, you need to install Java 1.8 JDK. Make sure to install Java JDK, not JRE.
Then go ahead and download the latest Maven binary from its official site. For example, for version 3.3.9: