Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployS3: org.apache.maven.plugin.MojoExecutionException: The region must be specified either in the plugin configuration (region), environment variable (AWS_REGION), system property (aws.region), AWS shared configuration file or instance metadata. #17

Open
beautylim opened this issue May 28, 2020 · 1 comment

Comments

@beautylim
Copy link

beautylim commented May 28, 2020

This is how i use:
<plugin>
<groupId>com.github.davidmoten</groupId>
<artifactId>aws-maven-plugin</artifactId>
<executions>
<execution>
<id>upload-jenkins-files</id>
<phase>package</phase>
<goals>
<goal>deployS3</goal>
</goals>
<configuration>
<bucketName>${bucket.name}</bucketName>
<inputDirectory>${project.basedir}/src/build/jenkins</inputDirectory>
<outputBasePath>${jenkins.bucket.folder}</outputBasePath>
<awsAccessKey>${access.key}</awsAccessKey>
<awsSecretAccessKey>${secret.key}</awsSecretAccessKey>
<region>${region}</region>
</configuration>
</execution>
</executions>
</plugin>

@davidmoten
Copy link
Owner

ok thanks, I'll have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants