maven - How externalise dependencies using spring-boot:run -
i have requirement of externalize dependencies filesystem. so, achieve requirement using loader.path on propertieslauncher features. works perfect running follow:
java -dloader.path=/users/myuser/external/lib/ -jar my-ms-0.0.1-snapshot-exec.jar
however when try use feature spring boot maven plugin, doesn't work. try in many ways, without success
mvn spring-boot:run -drun.jvmarguments="-dloader.path=/users/myuser/external/lib/"
any ideas.
Comments
Post a Comment