| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							|  |  |  | <project xmlns="http://maven.apache.org/POM/4.0.0" | 
					
						
							| 
									
										
										
										
											2021-11-09 16:27:03 +05:30
										 |  |  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 
					
						
							|  |  |  |     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
					
						
							|  |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  |     <artifactId>spring-project</artifactId> | 
					
						
							|  |  |  |     <groupId>com.baeldung</groupId> | 
					
						
							|  |  |  |     <version>0.1-SNAPSHOT</version> | 
					
						
							| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <parent> | 
					
						
							|  |  |  |         <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |         <artifactId>spring-boot-starter-parent</artifactId> | 
					
						
							| 
									
										
										
										
											2021-12-04 10:33:19 +05:30
										 |  |  |         <version>2.6.0</version> | 
					
						
							| 
									
										
										
										
											2021-11-09 16:27:03 +05:30
										 |  |  |         <relativePath /> | 
					
						
							| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-data-r2dbc</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-webflux</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.experimental</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-native</artifactId> | 
					
						
							|  |  |  |             <version>${spring-native.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>io.r2dbc</groupId> | 
					
						
							|  |  |  |             <artifactId>r2dbc-postgresql</artifactId> | 
					
						
							|  |  |  |             <scope>runtime</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.postgresql</groupId> | 
					
						
							|  |  |  |             <artifactId>postgresql</artifactId> | 
					
						
							|  |  |  |             <scope>runtime</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-test</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>io.projectreactor</groupId> | 
					
						
							|  |  |  |             <artifactId>reactor-test</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |     </dependencies> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                 <artifactId>spring-boot-maven-plugin</artifactId> | 
					
						
							|  |  |  |                 <configuration> | 
					
						
							|  |  |  |                     <classifier>${repackage.classifier}</classifier> | 
					
						
							|  |  |  |                     <image> | 
					
						
							|  |  |  |                         <builder>paketobuildpacks/builder:tiny</builder> | 
					
						
							|  |  |  |                         <env> | 
					
						
							|  |  |  |                             <BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE> | 
					
						
							|  |  |  |                         </env> | 
					
						
							|  |  |  |                     </image> | 
					
						
							|  |  |  |                 </configuration> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.springframework.experimental</groupId> | 
					
						
							|  |  |  |                 <artifactId>spring-aot-maven-plugin</artifactId> | 
					
						
							|  |  |  |                 <version>${spring-native.version}</version> | 
					
						
							|  |  |  |                 <executions> | 
					
						
							|  |  |  |                     <execution> | 
					
						
							|  |  |  |                         <id>test-generate</id> | 
					
						
							|  |  |  |                         <goals> | 
					
						
							|  |  |  |                             <goal>test-generate</goal> | 
					
						
							|  |  |  |                         </goals> | 
					
						
							|  |  |  |                     </execution> | 
					
						
							|  |  |  |                     <execution> | 
					
						
							|  |  |  |                         <id>generate</id> | 
					
						
							|  |  |  |                         <goals> | 
					
						
							|  |  |  |                             <goal>generate</goal> | 
					
						
							|  |  |  |                         </goals> | 
					
						
							|  |  |  |                     </execution> | 
					
						
							|  |  |  |                 </executions> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |         </plugins> | 
					
						
							|  |  |  |     </build> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <repositories> | 
					
						
							|  |  |  |         <repository> | 
					
						
							|  |  |  |             <id>spring-releases</id> | 
					
						
							|  |  |  |             <name>Spring Releases</name> | 
					
						
							|  |  |  |             <url>https://repo.spring.io/release</url> | 
					
						
							|  |  |  |             <snapshots> | 
					
						
							|  |  |  |                 <enabled>false</enabled> | 
					
						
							|  |  |  |             </snapshots> | 
					
						
							|  |  |  |         </repository> | 
					
						
							| 
									
										
										
										
											2022-01-10 22:05:47 +05:30
										 |  |  |         <!-- This can be removed once a stable version of org.springframework.experimental:spring-aot-maven-plugin, 
 | 
					
						
							|  |  |  |             compatible with latest JDK, is released. --> | 
					
						
							| 
									
										
										
										
											2021-12-04 10:33:19 +05:30
										 |  |  |         <repository> | 
					
						
							|  |  |  |             <id>spring-milestones</id> | 
					
						
							|  |  |  |             <name>Spring Milestones</name> | 
					
						
							|  |  |  |             <url>https://repo.spring.io/libs-milestone-local</url> | 
					
						
							|  |  |  |             <snapshots> | 
					
						
							|  |  |  |                 <enabled>false</enabled> | 
					
						
							|  |  |  |             </snapshots> | 
					
						
							|  |  |  |         </repository> | 
					
						
							| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  |     </repositories> | 
					
						
							|  |  |  |     <pluginRepositories> | 
					
						
							|  |  |  |         <pluginRepository> | 
					
						
							|  |  |  |             <id>spring-releases</id> | 
					
						
							|  |  |  |             <name>Spring Releases</name> | 
					
						
							|  |  |  |             <url>https://repo.spring.io/release</url> | 
					
						
							|  |  |  |             <snapshots> | 
					
						
							|  |  |  |                 <enabled>false</enabled> | 
					
						
							|  |  |  |             </snapshots> | 
					
						
							|  |  |  |         </pluginRepository> | 
					
						
							| 
									
										
										
										
											2022-01-10 22:05:47 +05:30
										 |  |  |         <!-- This can be removed once a stable version of org.springframework.experimental:spring-aot-maven-plugin, 
 | 
					
						
							|  |  |  |             compatible with latest JDK, is released. --> | 
					
						
							| 
									
										
										
										
											2021-12-04 10:33:19 +05:30
										 |  |  |         <pluginRepository> | 
					
						
							|  |  |  |             <id>spring-milestones</id> | 
					
						
							|  |  |  |             <name>Spring Milestones</name> | 
					
						
							|  |  |  |             <url>https://repo.spring.io/libs-milestone-local</url> | 
					
						
							|  |  |  |             <snapshots> | 
					
						
							|  |  |  |                 <enabled>false</enabled> | 
					
						
							|  |  |  |             </snapshots> | 
					
						
							|  |  |  |         </pluginRepository> | 
					
						
							| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  |     </pluginRepositories> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <profiles> | 
					
						
							|  |  |  |         <profile> | 
					
						
							|  |  |  |             <id>native</id> | 
					
						
							|  |  |  |             <properties> | 
					
						
							|  |  |  |                 <repackage.classifier>exec</repackage.classifier> | 
					
						
							|  |  |  |                 <native-buildtools.version>0.9.3</native-buildtools.version> | 
					
						
							|  |  |  |             </properties> | 
					
						
							|  |  |  |             <dependencies> | 
					
						
							|  |  |  |                 <dependency> | 
					
						
							|  |  |  |                     <groupId>org.graalvm.buildtools</groupId> | 
					
						
							|  |  |  |                     <artifactId>junit-platform-native</artifactId> | 
					
						
							|  |  |  |                     <version>${native-buildtools.version}</version> | 
					
						
							|  |  |  |                 </dependency> | 
					
						
							|  |  |  |             </dependencies> | 
					
						
							|  |  |  |             <build> | 
					
						
							|  |  |  |                 <plugins> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.graalvm.buildtools</groupId> | 
					
						
							|  |  |  |                         <artifactId>native-maven-plugin</artifactId> | 
					
						
							|  |  |  |                         <version>${native-buildtools.version}</version> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <buildArgs combine.children="append"> | 
					
						
							|  |  |  |                                 <buildArgs>-H:+AllowVMInspection</buildArgs> | 
					
						
							|  |  |  |                             </buildArgs> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                         <executions> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <id>test-native</id> | 
					
						
							|  |  |  |                                 <phase>test</phase> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>test</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <id>build-native</id> | 
					
						
							|  |  |  |                                 <phase>package</phase> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>build</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.apache.maven.plugins</groupId> | 
					
						
							|  |  |  |                         <artifactId>maven-surefire-plugin</artifactId> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							| 
									
										
										
										
											2021-11-09 16:27:03 +05:30
										 |  |  |                             <argLine>-DspringAot=true | 
					
						
							|  |  |  |                                 -agentlib:native-image-agent=access-filter-file=src/test/resources/access-filter.json,config-merge-dir=target/classes/META-INF/native-image</argLine> | 
					
						
							| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							|  |  |  |     </profiles> | 
					
						
							| 
									
										
										
										
											2021-11-09 16:27:03 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  |     <properties> | 
					
						
							|  |  |  |         <java.version>11</java.version> | 
					
						
							|  |  |  |         <repackage.classifier /> | 
					
						
							| 
									
										
										
										
											2021-12-04 10:33:19 +05:30
										 |  |  |         <spring-native.version>0.11.0-RC1</spring-native.version> | 
					
						
							| 
									
										
										
										
											2021-11-09 16:27:03 +05:30
										 |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-23 11:07:26 +02:00
										 |  |  | </project> |