Open scottkurz opened 5 years ago
I can do: java -Dserver.port=8081 -jar target/my.jar
java -Dserver.port=8081 -jar target/my.jar
to override the server.port property but if I do: mvn boost:run -Dserver.port=8081
mvn boost:run -Dserver.port=8081
the override has no effect.
OTOH, if I use a non-Boost SpringBoot app I can do this to override. mvn spring-boot:run -Dserver.port=8081
mvn spring-boot:run -Dserver.port=8081
I'd assume the same issue applies when using 'start', 'debug' goals.
Opened this after trying with Maven. Not sure if this applies for Gradle as well.
I can do:
java -Dserver.port=8081 -jar target/my.jar
to override the server.port property but if I do:
mvn boost:run -Dserver.port=8081
the override has no effect.
OTOH, if I use a non-Boost SpringBoot app I can do this to override.
mvn spring-boot:run -Dserver.port=8081