This POM file contains an XML validation error. What is the cause of the error?
The <dependency> elements should be at the bottom of the POM file.
<dependency>
JUnit is not a valid dependency of a Maven project.
The <dependency> elements should be inside <dependencies> elements.
<dependencies>
The <dependency> element is not a valid in a POM file.