2021-06-28 11:42:50 -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 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-07-28 10:40:03 -04:00
|
|
|
<artifactId>spring-native</artifactId>
|
|
|
|
<name>spring-native</name>
|
2021-06-28 11:42:50 -04:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>Intro to Spring Native</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-boot-2</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-boot-2</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spring-release</id>
|
|
|
|
<name>Spring release</name>
|
|
|
|
<url>https://repo.spring.io/release</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-release</id>
|
|
|
|
<name>Spring release</name>
|
|
|
|
<url>https://repo.spring.io/release</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.experimental</groupId>
|
|
|
|
<artifactId>spring-native</artifactId>
|
|
|
|
<version>${spring-native.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<image>
|
|
|
|
<builder>${builder}</builder>
|
|
|
|
<env>
|
|
|
|
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
|
|
|
|
</env>
|
|
|
|
<pullPolicy>IF_NOT_PRESENT</pullPolicy>
|
|
|
|
</image>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.experimental</groupId>
|
|
|
|
<artifactId>spring-aot-maven-plugin</artifactId>
|
|
|
|
<version>${spring-native.version}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<builder>paketobuildpacks/builder:tiny</builder>
|
|
|
|
<spring-boot.version>2.5.1</spring-boot.version>
|
|
|
|
<spring-native.version>0.10.0</spring-native.version>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|