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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -