2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-14 08:13:24 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung.spring</groupId>
|
|
|
|
<artifactId>spring-cloud-functions</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-cloud-functions</name>
|
|
|
|
<packaging>jar</packaging>
|
2019-12-05 09:56:52 -05:00
|
|
|
<description>Demo project for Spring Cloud Function</description>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2022-03-13 05:18:44 -04:00
|
|
|
<parent>
|
2022-01-19 03:00:42 -05:00
|
|
|
<groupId>com.baeldung.spring.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
2021-05-14 08:13:24 -04:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-function-adapter-aws</artifactId>
|
|
|
|
<version>${spring-cloud-function.version}</version>
|
|
|
|
</dependency>
|
2021-05-14 08:13:24 -04:00
|
|
|
<!-- We don't need spring-cloud-starter-function-web when deploying to AWS -->
|
|
|
|
<!-- It is used only for local testing -->
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-function-web</artifactId>
|
|
|
|
<version>${spring-cloud-function.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.amazonaws</groupId>
|
|
|
|
<artifactId>aws-lambda-java-events</artifactId>
|
|
|
|
<version>${aws-lambda-events.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.amazonaws</groupId>
|
|
|
|
<artifactId>aws-lambda-java-core</artifactId>
|
|
|
|
<version>${aws-lambda-java-core.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot.experimental</groupId>
|
|
|
|
<artifactId>spring-boot-thin-layout</artifactId>
|
2019-12-24 06:47:09 -05:00
|
|
|
<version>${spring-boot-thin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>aws</shadedClassifierName>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<spring-cloud-function.version>1.0.1.RELEASE</spring-cloud-function.version>
|
|
|
|
<aws-lambda-events.version>2.0.2</aws-lambda-events.version>
|
|
|
|
<aws-lambda-java-core.version>1.1.0</aws-lambda-java-core.version>
|
2019-12-24 06:47:09 -05:00
|
|
|
<spring-boot-thin.version>1.0.10.RELEASE</spring-boot-thin.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-05-14 08:13:24 -04:00
|
|
|
</project>
|