Apache Maven Assembly Plugin assembly descriptor useful for AWS Lambda JAX-RS projects.
Leverage this via the maven-assembly-plugin
execution:
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.buffalo-coders.aws.lambda.jaxrs</groupId>
<artifactId>assembly</artifactId>
<version>1</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>lambda</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>