Upgrade to latest AWS SDK 2016/2017
skarzhevskyy opened this issue · 0 comments
skarzhevskyy commented
While deploying to new regions opened in 2016 Ohio (us-east-2), Canada, (maybe London but have not tried) ... we are experiencing multiple waning messages as below.
INFO] --- beanstalk-maven-plugin:1.5.0:upload-source-bundle (deploy) @ my-server ---
[INFO] Target Path: s3://my12345-us-east-2/my-server-1.0.0.000-2017-02-11 11:39.zip
[INFO] Uploading artifact file: C:\dev\target\my-server-1.0.0.000.zip
0.00% 0 bytes/27 MiB [WARNING] Attempting to re-send the request to my12345-us-east-2.s3.amazonaws.com with AWS V4 authentication. To avoid this warning in the future, please use region-specific endpoint to access buckets located in regions that require V4 signing.
While adding the latest AWS SDK (1.11.89) as dependencies for plugin resolve this warnings and deployment works as expected .
The new problem is appearing:
mvn beanstalk:clean-previous-versions -Dbeanstalk.versionsToKeep=1 -Dbeanstalk.dryRun=false
[ERROR] Failed to execute goal br.com.ingenieux:beanstalk-maven-plugin:1.5.0:clean-previous-versions (default-cli) on project my-server: Execution default-cli of goal br.com.ingenieux:beanstalk-maven-plugin:1.5.0:clean-previous-versions failed: An API incompatibility was encountered while executing br.com.ingenieux:beanstalk-maven-plugin:1.5.0:clean-previous-versions: java.lang.NoSuchMethodError: com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient.deleteApplicationVersion(Lcom/amazonaws/services/elasticbeanstalk/model/DeleteApplicationVersionRequest;)V
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>br.com.ingenieux:beanstalk-maven-plugin:1.5.0