I have been using mvn spring-boot:run command with -Dspring-boot.run.arguments to pass arguments/variables to our spring-boot application, ex:
mvn spring-boot:run -Dspring-boot.run.arguments=--jwt.validateExp=false,--jwt.skipValidation=true
And in the application, I used to read the argument value using annotation: @Value("${jwt.skipValidation}"). This was working fine with spring-boot 2.2.1.
When I upgraded to spring-boot 2.3.1, this stopped working. Any suggestion?