Maven 命令:为 Java 运行时添加类路径目录

Maven command : add classpath directory for Java runtime

我是 运行 Maven 命令:

mvn spring-boot:run

mvn test

我的 post 上有一个自定义目录,其中包含要在运行时加载的库。 我如何在 Maven 命令中指定它?

谢谢。

spring-boot:run:

folders   Additional folders besides the classes directory that should be added to the classpath.