title: What is the difference in maven between dependency and plugin tags in pom xml?
body: <p>I'm new to the maven tool, I have made a project with Spring and Hibernate and they are   configured in pom.xml as plugins, but JUnit is tagged under dependency. My question is what is the logic behind one as a plugin and one as dependency ? </p>