Am 12/16/16 um 15:21 schrieb Robert Scholte: > > but this cover the issue we are talking about, because IIUC you are saying > that IF both junit and hamcrest get the test-scope AND hamcrest would have > a dependency THEN that dependency is not added to the classpath. That is > still unexpected behavior.
Just add 'test' scope to the hamcrest dependency in that pom. It will disappear from the classpath. I would expect that to happen. Why should it manage the version but not the scope? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org