Skip to content
Multi-threaded wagon to connect Maven with Amazon S3
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.settings
src
.classpath
.gitignore
.project
README.txt
pom.xml

README.txt

Wagon for connecting maven builds with Amazon S3.  This wagon enables communication between
Maven and Amazon S3.

A pom with this wagon can publish a Maven site to S3 as well as deploy artifacts.

When uploading the contents of a directory the system property "maven.wagon.threads" 
controls the number of simultaneous uploads the wagon will use (default is 10)

Add this to the build section of a pom.xml

  <build>
    <extensions>
      <extension>
        <groupId>org.kuali.maven.wagons</groupId>
        <artifactId>maven-s3-wagon</artifactId>
        <version>1.0.33</version>
      </extension>
    </extensions>
  </build>

Add this to the distribution management section of a pom.xml:   
  <distributionManagement>
    <site>
      <id>site</id>
      <url>s3://[AWS Bucket Name]</url>
    </site>
    <repository>
      <id>releases</id>
      <url>s3://[AWS Bucket Name]</url>
    </repository>
    <snapshotRepository>
      <id>snapshots</id>
      <url>s3://[AWS Bucket Name]</url>
    </snapshotRepository>
  </distributionManagement>
  

Add this to settings.xml   
  <servers>
    <server>
      <id>server.id</id>
      <username>[AWS Access Key ID]</username>
      <password>[AWS Secret Access Key]</password>
    </server>
  </server>
  
Something went wrong with that request. Please try again.