88 lines
3.2 KiB
XML
88 lines
3.2 KiB
XML
<?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>
|
|
<artifactId>spring-native</artifactId>
|
|
<name>spring-native</name>
|
|
<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>
|
|
|
|
<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.7.1</spring-boot.version>
|
|
<spring-native.version>0.12.1</spring-native.version>
|
|
<log4j2.version>2.17.1</log4j2.version>
|
|
</properties>
|
|
<!-- Experimental dependency in this repository cannot rely on Maven Central alone -->
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-milestone</id>
|
|
<name>Spring Milestone</name>
|
|
<url>https://repo.spring.io/milestone</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-snapshot</id>
|
|
<name>Spring Snapshot</name>
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-plugins-snapshot</id>
|
|
<name>Spring Plugins Snapshot</name>
|
|
<url>https://repo.spring.io/plugins-snapshot</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-plugins-milestone</id>
|
|
<name>Spring Plugins Milestone</name>
|
|
<url>https://repo.spring.io/plugins-milestone</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project> |