Build Java functions using Maven
You can now use the sam build
command to create deployment packages for AWS Lambda functions written in Java using the Maven build tool.
In addition, sam init
was expanded to support creating projects with different dependency managers. You can now create a Maven example by running sam init --runtime java --dependency-manager maven
. See sam init --help
for other supported values for the --dependency-manager
Option.
Huge shoutout to @zoewangg for contributing the Maven builder
Changelog
Chore: Bump aws-sam-translator to 1.10.0 (#1043)
feat(init): gradle init support (#1040)
feat(build): Support building Java8 functions through Maven (#1044)
feat(publish): Add --semantic-version option to sam publish command (#1020)