[MASSEMBLY-395] Fixed primary problem of scope upgrades not being detected

Testcase submitted by Jaan Vajakas, modified slightly by me

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1636510 13f79535-47bb-0310-9956-ffa450edef68