Run Spring Boot application with maven exec plugin

Multi tool use
Multi tool use


Run Spring Boot application with maven exec plugin



For a few days I'm struggling with running of Spring Boot application with maven-exec-plugin. Project was just migrated to Spring Boot and I have some set of maven-exec-plugin configurations (JVM and system properties) which I want to use. Of course it possible to pass all this staff through the command line parameters but this way doesn't looks convenient.



Does anybody have such experience?





simply wrong way. Spring Boot has a spring-boot-maven-plugin which supports everything which is needed. Furthermore I would really reconsider using system properties better take a look at application.properties in Spring Boot or use spring boot profiles if you really need to but hardly think about it...and why you need them?
– khmarbaise
Jul 3 at 11:03


application.properties









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

zg76 kXy
3hEkbK vqxecD1xg,srLRcU5vpYrOPZ,3TvQCZTWARxXRCNBeX55CVZ9Gq7 j37qzeB ZD,5UFGNZu

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications