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

Upgrade to latest AWS SDK 2016/2017 #111

Open
skarzhevskyy opened this issue Feb 11, 2017 · 0 comments
Open

Upgrade to latest AWS SDK 2016/2017 #111

skarzhevskyy opened this issue Feb 11, 2017 · 0 comments

Comments

@skarzhevskyy
Copy link

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
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

1 participant