2023-03-23 16:43:34 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>spring-boot-aws</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2023-06-23 03:45:40 -04:00
|
|
|
<name>spring-boot-aws</name>
|
|
|
|
<description>spring-boot-aws</description>
|
2023-03-23 16:43:34 -04:00
|
|
|
|
2023-09-18 04:00:51 -04:00
|
|
|
<!-- "sam build" needs all the dependencies including its parent project. Hence, we cannot use parent-boot in this case -->
|
2023-03-23 16:43:34 -04:00
|
|
|
<parent>
|
2023-09-18 04:00:51 -04:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.7.11</version>
|
2023-03-23 16:43:34 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.amazonaws.serverless</groupId>
|
|
|
|
<artifactId>aws-serverless-java-container-springboot2</artifactId>
|
2023-09-03 02:18:10 -04:00
|
|
|
<version>${aws-serverless-java-container-springboot2.version}</version>
|
2023-03-23 16:43:34 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2023-07-19 08:13:21 -04:00
|
|
|
<version>${maven-shade-plugin.version}</version>
|
2023-03-23 16:43:34 -04:00
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.apache.tomcat.embed:*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-09-03 02:18:10 -04:00
|
|
|
<source>${maven.compiler.source.version}</source>
|
|
|
|
<target>${maven.compiler.target.version}</target>
|
2023-03-23 16:43:34 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2023-07-19 08:13:21 -04:00
|
|
|
<properties>
|
2023-09-03 02:18:10 -04:00
|
|
|
<aws-serverless-java-container-springboot2.version>1.9.1</aws-serverless-java-container-springboot2.version>
|
2023-07-19 08:13:21 -04:00
|
|
|
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
|
2023-09-03 02:18:10 -04:00
|
|
|
<maven.compiler.source.version>11</maven.compiler.source.version>
|
|
|
|
<maven.compiler.target.version>11</maven.compiler.target.version>
|
2023-07-19 08:13:21 -04:00
|
|
|
</properties>
|
|
|
|
|
2023-03-23 16:43:34 -04:00
|
|
|
</project>
|