Build Java Module

Before we run the application locally, we need to build it. The dependencies are managed by maven in our case, but in general, dependencies are defined in a file that varies depending on the runtime, for example package.json for NodeJS projects or requirements.txt for Python ones.

In the terminal, go into the sam-app/hello-world folder.

cd sam-app/hello-world

And install the dependencies:

sam build