Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Hosting a Maven repo in Amazon S3

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Matthew Casperson
Word Count
843
Language
English
Hacker News Points
-
Summary

Matthew Casperson's blog post from September 30, 2020, explores using Amazon S3 as a Maven repository, highlighting its flexibility for storing various artifacts beyond just JAR and WAR files. Unlike typical server-side APIs, Maven repositories consist of static files parsed by the client, allowing them to be hosted on diverse file systems like HTTP or FTP, facilitated by Maven Wagon. The post details the integration of the third-party library S3StorageWagon to upload files to a Maven repo in AWS S3, outlining the process of compiling necessary code, managing dependencies, and defining repository settings in the Maven settings.xml file. It also covers creating an S3 bucket and IAM user, adjusting permissions for public access, and demonstrates uploading an artifact using Maven commands. Casperson emphasizes the ease of creating a public Maven repository on S3 without complex software, enabling access via HTTP and integration with tools like Octopus.