This dependency should be in scope test (`<scope>test</scope>`). The default for Maven is compile.

Also, it looks like the indent is size 4 here, not 2.