difference between plugin and jar code example
Example: difference between maven plugin and dependency
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.