- Goal: Replace the Spring Boot plugin with the Quarkus plugin.
- Rule engine definition: TODO
- Result message:
- TODO
- Effort (Low, moderate, high): Low
- Order (Rule position to help the user or tool when it should be executed):
- Reference (link to an existing rule): https://github.com/konveyor/rulesets/blob/main/default/generated/quarkus/230-springboot-parent-pom-to-quarkus.windup.yaml
- Issue ticket:
| Instruction | Command (if applicable) | Effort |
|---|---|---|
| Replace the Spring Boot plugin with the Quarkus plugin. | Manual edit or tool | Low |
| Verify pom.xml syntax and structure | mvn validate |
Low |
<!-- Remove the Spring Boot plugin -->
<build>
<plugins>
<plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugin>
</plugins>
</build><!-- Add the Quarkus Maven plugin -->
<build>
<plugins>
<plugin>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.platform.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>build</goal>
<goal>generate-code</goal>
<goal>generate-code-tests</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>