2022-11-24 03:47:54 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2022-12-20 12:07:54 -05:00
|
|
|
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">
|
2022-11-24 03:47:54 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-boot-3-native</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-boot-3-native</name>
|
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-boot-3</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2022-11-27 04:58:07 -05:00
|
|
|
<relativePath>../../parent-boot-3</relativePath>
|
2022-11-24 03:47:54 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
2022-11-27 04:58:07 -05:00
|
|
|
<version>${springdoc.version}</version>
|
2022-11-24 03:47:54 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-graphql</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- Mockito is not supported -->
|
|
|
|
<skipNativeTests>true</skipNativeTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-01-25 11:35:49 -05:00
|
|
|
<!-- We can compile the application in AOT mode but not producing a native image -->
|
|
|
|
<!-- If we active this plugin -->
|
|
|
|
<!-- and deactive all the pom native component -->
|
|
|
|
<!-- <plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<jvmArguments> -agentlib:native-image-agent=config-output-dir=target/native-image
|
|
|
|
</jvmArguments>
|
|
|
|
</configuration>
|
2023-04-23 03:49:00 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>process-aot</id>
|
|
|
|
<goals>
|
|
|
|
<goal>process-aot</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2023-01-25 11:35:49 -05:00
|
|
|
</plugin> -->
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2022-11-24 03:47:54 -05:00
|
|
|
|
2023-01-25 11:35:49 -05:00
|
|
|
<profiles>
|
|
|
|
<!-- The native profile is already defined by the parent POM. -->
|
2022-12-20 12:07:54 -05:00
|
|
|
<!-- To use this plugin, we need GraalVM (located under $GRAALVM_HOME) and -->
|
|
|
|
<!-- native-builder (located in the $PATH) -->
|
2022-11-24 03:47:54 -05:00
|
|
|
<profile>
|
|
|
|
<id>native</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build-native</id>
|
|
|
|
<goals>
|
|
|
|
<goal>compile-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
2022-11-27 04:58:07 -05:00
|
|
|
<springdoc.version>2.0.0</springdoc.version>
|
|
|
|
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
|
2022-11-24 03:47:54 -05:00
|
|
|
<native.maven.plugin.version>0.9.17</native.maven.plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
2022-12-20 12:07:54 -05:00
|
|
|
</project>
|