Maven 识别 4 个类路径:
maven.compile.classpath:编译源代码时需要位于类路径上的类和 jar。所以基本上对于maven-compiler-plugin
maven.test.classpath:运行单元测试或集成测试时需要位于类路径上的类和 jar
maven.runtime.classpath:我知道maven.runtime.classpath包含maven本身需要运行的jar和类。
maven.plugin.classpath:我知道当插件运行它自己的JVM时,这个类路径会传递给maven插件
问题: