Browse Source
This commit harmonizes the behavior of the native and nativeTest Maven profiles. Previously, enabling the nativeTest profile would automatically add an execution of the Spring Boot and Native Build Tools plugins, even in a module that doesn't represent an application or a Spring Boot-related module. With this commit, the native testing feature is only enabled if the plugins are defined in the project, either directly, or in a parent. The documentation has been updated as the behavior of both profiles is now much more consistent. Closes gh-44696pull/44733/head
4 changed files with 48 additions and 53 deletions
@ -1,25 +0,0 @@
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<artifactId>aot</artifactId> |
||||
<build> |
||||
<plugins> |
||||
<!-- tag::aot[] --> |
||||
<plugin> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>process-test-aot</id> |
||||
<goals> |
||||
<goal>process-test-aot</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<!-- end::aot[] --> |
||||
</plugins> |
||||
</build> |
||||
</project> |
||||
|
||||
|
||||
Loading…
Reference in new issue