2018-09-14 10:15:45 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-09-20 10:53:49 -04:00
|
|
|
<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">
|
2018-09-14 10:15:45 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2018-09-20 10:53:49 -04:00
|
|
|
<groupId>com.baeldung.spring</groupId>
|
2018-11-30 11:46:08 -05:00
|
|
|
<artifactId>spring-cloud-functions</artifactId>
|
2018-09-20 10:53:49 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2018-11-30 11:46:08 -05:00
|
|
|
<name>spring-cloud-functions</name>
|
2018-09-20 10:53:49 -04:00
|
|
|
<description>Demo project for Spring Cloud Function</description>
|
2019-02-09 15:17:19 -05:00
|
|
|
<packaging>jar</packaging>
|
2018-09-14 10:15:45 -04:00
|
|
|
|
|
|
|
<parent>
|
2018-09-20 10:53:49 -04:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.0.4.RELEASE</version>
|
|
|
|
<relativePath/>
|
2018-09-14 10:15:45 -04:00
|
|
|
</parent>
|
|
|
|
|
2018-09-20 10:53:49 -04:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<spring-cloud-function.version>1.0.1.RELEASE</spring-cloud-function.version>
|
|
|
|
<aws-lambda-events.version>2.0.2</aws-lambda-events.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-function-adapter-aws</artifactId>
|
|
|
|
<version>${spring-cloud-function.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- We don't need spring-cloud-starter-function-web when deploying to AWS-->
|
|
|
|
<!-- It is used only for local testing-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-function-web</artifactId>
|
|
|
|
<version>1.0.1.RELEASE</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>1.1.0</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>
|
|
|
|
<version>1.0.10.RELEASE</version>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
</project>
|