{"id":2675,"date":"2018-01-23T10:42:33","date_gmt":"2018-01-23T16:42:33","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=2675"},"modified":"2018-01-23T10:42:33","modified_gmt":"2018-01-23T16:42:33","slug":"publish-java-artifacts-to-s3-using-maven","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/2675","title":{"rendered":"Publish java artifacts to s3 using maven"},"content":{"rendered":"<p>If you don&#8217;t want to run a maven repository server like Nessus, you can use <a href=\"https:\/\/github.com\/jcaddel\/maven-s3-wagon\">AWS S3 for your maven repository<\/a> for your java artifacts.\u00a0 You can make the repository public in the same way as you&#8217;d make a website public.\u00a0 However, it&#8217;s more likely that you&#8217;ll want to make it private and <a href=\"https:\/\/github.com\/jcaddel\/maven-s3-wagon\/wiki\/Authentication\">authenticate using AWS IAM<\/a>.\u00a0 Here are some <a href=\"http:\/\/www.yegor256.com\/2015\/09\/07\/maven-repository-amazon-s3.html\">step by step instructions<\/a> that appear useful.<\/p>\n<p>(Note there&#8217;s <a href=\"https:\/\/github.com\/spring-projects\/aws-maven\">another S3 maven wagon<\/a>, but it does not appear to support authentication.)<\/p>\n<p>Why do this?\u00a0 It&#8217;s one more piece of infrastructure that you don&#8217;t have to maintain, update, and run.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you don&#8217;t want to run a maven repository server like Nessus, you can use AWS S3 for your maven repository for your java artifacts.\u00a0 You can make the repository [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79,5],"tags":[],"class_list":["post-2675","post","type-post","status-publish","format-standard","hentry","category-aws","category-java"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2675"}],"version-history":[{"count":2,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2675\/revisions"}],"predecessor-version":[{"id":2677,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2675\/revisions\/2677"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}