Where is documentation on exactly what format of contents of a ZIP file that AWS Lambda supports for Java deployments?
Sure, I've read Deploy Java Lambda functions with .zip or JAR file archives and a dozen other similar pages. But they all just say "use Maven Shade Plugin" or "use this setting on Gradle". This doesn't tell me specifications on the actual content recognized and accepted by AWS Lambda. (For example, AWS Lambda doesn't support multirelease JARs. Where is that documented?)
Maybe I want to use another approach than Maven Shade Plugin to create my ZIP/JAR files for AWS Lambda. Does AWS Lambda support a directory with library JARs in addition to classes? Does it only support a package-hierarchy of class files? What exactly must go in this ZIP/JAR, and what variations does AWS Lambda support? Where is this documented?
I discourage you of using the Shade Plugin. See my post on medium : https://medium.com/@frank-afriat/the-only-good-but-little-known-way-to-package-your-java-lambda-db82f45d8d5d
where I recommend using this in your maven project:
The lambda bundle will appear in your target folder after calling:
mvn packageRegarding the structure of the lambda bundle, the dependencies will go inside a lib folder in the archive.
I suggest you to try my framework https://microlam.io for ease of use and to get a working example.