Skip to content

Latest commit

 

History

History
36 lines (34 loc) · 1.12 KB

readme.md

File metadata and controls

36 lines (34 loc) · 1.12 KB

s3-storage-maven-plugin

Maven plug-in for uploading files to S3.Support any wildcard path,such as *,**,?

用于上传文件到S3的maven插件,支持任何通配符路径.

/opt/*/*.jar
/opt/**.jar

Plugin configuration

    <plugin>
        <groupId>com.github.evanzyj</groupId>
        <artifactId>s3-storage-maven-plugin</artifactId>
        <version>1.0.6</version>
        <executions>
            <execution>
                <phase>package</phase>
                <goals>
                    <goal>s3-storage</goal>
                </goals>
                <configuration>
                    <skip>false</skip> 
                    <accessKey>AWS accessKey</accessKey>
                    <secretKey>AWS secretKey</secretKey>
                    <region>cn-north-1</region>
                    <bucketName>s3-001-aio-prd-bjs</bucketName>
                    <source>${basedir}/target/dailysalary-*.jar</source>
                    <destination>aiodp/</destination>
                </configuration>
            </execution>
        </executions>
    </plugin>