78 lines
2.6 KiB
XML
78 lines
2.6 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>baeldung-spring-native</artifactId>
|
|
<name>baeldung-spring-native</name>
|
|
<packaging>jar</packaging>
|
|
<description>Intro to Spring Native</description>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>parent-boot-3</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<relativePath>../parent-boot-3</relativePath>
|
|
</parent>
|
|
|
|
<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>
|
|
</pluginRepositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<profiles>
|
|
<profile>
|
|
<id>native</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
<version>${native-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>build-native</id>
|
|
<goals>
|
|
<goal>compile-no-fork</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<properties>
|
|
<spring-boot.version>3.2.0</spring-boot.version>
|
|
<java.version>17</java.version>
|
|
<native-maven-plugin.version>0.10.1</native-maven-plugin.version>
|
|
</properties>
|
|
|
|
</project>
|