mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
51 lines
1.5 KiB
XML
51 lines
1.5 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com</groupId>
|
|
<artifactId>hello</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>dev</version>
|
|
<name>hello</name>
|
|
|
|
<dependencies>
|
|
<!-- https://mvnrepository.com/artifact/com.amazonaws/aws-lambda-java-core -->
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-lambda-java-core</artifactId>
|
|
<version>1.1.0</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!--
|
|
Using the Apache Maven Shade plugin to package the jar
|
|
|
|
"This plugin provides the capability to package the artifact
|
|
in an uber-jar, including its dependencies and to shade - i.e. rename -
|
|
the packages of some of the dependencies."
|
|
|
|
Link: https://maven.apache.org/plugins/maven-shade-plugin/
|
|
-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|