Hi all,
I'm facing a problem with spring-boot-maven-plugin and spring-boot version >= 2.2.5-RELEASE.
If the plugin configuration has some configuration/arguments/argument, they are not replaced by the command line arguments.
This can be reproduced with an application that print the args received.
Having the plugin
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<arguments>
<argument>property1=xxx</argument>
</arguments>
</configuration>
</plugin>
when you run
the args are:
If you run
mvn spring-boot:run -Dspring-boot.run.arguments="property1=yyy"
again the output (wrong) is
If you do the same with ver 2.2.4-RELEASE everything works fine.
Thanks!