Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

CodeDeploy plugin will not upload files to s3 in Eclipse 2020-12 #226

Open
eschulma opened this issue Feb 5, 2021 · 0 comments
Open

CodeDeploy plugin will not upload files to s3 in Eclipse 2020-12 #226

eschulma opened this issue Feb 5, 2021 · 0 comments

Comments

@eschulma
Copy link
Contributor

eschulma commented Feb 5, 2021

As with several other open issues, attempting to upload the final artifact to S3 triggers a ClassNotFoundException error for JAXBException because the java.xml.bind jar was removed in the Java 11 runtime.

The latest version of AWS Java SDK v1, 1.11.948, has removed all of these deprecated classes and requires only one line change in the plugin source code here to compile (the NotThreadSafe annotation in AwsPluginAccountManager is replaced with Contract (threading = org.apache.http.annotation.ThreadingBehavior.UNSAFE) and the tests all pass. While I am trying to get a pull request together my lack of knowledge of plugin development is a severe stumbling block.

hunterwerlla pushed a commit that referenced this issue Feb 17, 2021
Newer versions of Eclipse have a mandatory Java 11 runtime, which has broken a number of critical functions in this plugin. Many classes were removed from Java 11 that existed in Java 8. Fortunately, the AWS SDK for Java has already done the hard work of replacing these, which we can take advantage of by updating that dependency.

Related issues:
#226, #222, #219, and several others. This is relevant for any version of Eclipse that requires JRE 11, such 2020-09 or higher.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant