📜  maven插件和依赖的区别——Java代码示例

📅  最后修改于: 2022-03-11 14:52:36.640000             🧑  作者: Mango

代码示例1
Maven plugins help perform different tasks like compile , test etc. Eg. Maven compile uses maven-compiler-plugin.
 Dependency is a packaged piece of classes that your project depends on.
 For example, if you want to be able to write JUnit test, you'll have to use JUnit annotations and classes thus you have to declare that your project depends on JUnit.