Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

maven s3 wagon provider

How to deploy with wagon s3 provider?

I've found several plugins, most of them are incomplete, some of them are not maintaned. There is also a sandbox plugin from official maven SVN repository but I'm figuring how to use it.

Any hint?

like image 812
dfa Avatar asked May 11 '09 23:05

dfa


2 Answers

There is a newer s3 provider by spring which works:

<build>
    <extensions>
        <extension>
            <groupId>org.springframework.build.aws</groupId>
            <artifactId>org.springframework.build.aws.maven</artifactId>
            <version>3.0.0.RELEASE</version>
        </extension>
    </extensions>
</build>

If you would like to use it with maven 3, you need encrypt you passphrase in your settings.xml.

Step-by-step instructions are here.

like image 153
elek Avatar answered Nov 10 '22 13:11

elek


This wagon is what we are using to deploy to S3. It's similar to Spring's, but has multi-threaded upload support.

This lets the CI server push a lot of Maven content out to S3 very quickly. (22k files and 400mb's of content in ~50 seconds)

https://github.com/jcaddel/maven-s3-wagon

<build>
 <extensions>
   <extension>
    <groupId>org.kuali.maven.wagons</groupId>
    <artifactId>maven-s3-wagon</artifactId>
    <version>1.2.1</version>
   </extension>
 </extensions>
</build>
like image 42
Jeff Caddel Avatar answered Nov 10 '22 15:11

Jeff Caddel