Adding classpath to SpringBoot command line start when using maven-spring-boot-plugin

后端 未结 2 1438
别跟我提以往
别跟我提以往 2021-01-13 07:17

I\'m trying to add a classpath to when I run my spring boot application, which is run with the following command

mvn spring-boot:run

I\'m c

2条回答
  •  悲&欢浪女
    2021-01-13 07:44

    if you dont want to modify your pom per https://docs.spring.io/spring-boot/docs/current/maven-plugin/run-mojo.html there are user properties too you can use from command line

    mvn -Dspring-boot.run.folders=/etc/bbcom spring-boot:run
    

提交回复
热议问题