Plugin Documentation

Goals available for this plugin:

Goal Description
lambda:deploy-functions

Represents the AWS Lambda Deployment Process, which means:

  • Parsing the function-definition file
  • For each declared function, tries to update the function
  • if the function is missing, create it
  • Otherwise, compare the function definition with the expected parameters, and changes the function configuration if needed
lambda:help Display help information on lambda-maven-plugin.
Call mvn lambda:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
lambda:list-aliases List Function Aliases

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>br.com.ingenieux</groupId>
          <artifactId>lambda-maven-plugin</artifactId>
          <version>1.5.1-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>br.com.ingenieux</groupId>
        <artifactId>lambda-maven-plugin</artifactId>
        <version>1.5.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"