jenkinsci/maven-plugin — pull request #31 by ndeloof (2014-10-02 21:04:26+00:00)
Title: run a full build if build was triggered by upstream (snapshot dependency)

Given a maven job is configured for incremental build + snapshot trigger
When both SCM changes are detected, + a snapshot has been rebuilt, two builds are scheduled. If queue is already full, those two scheduled builds are merged in queue.
As a result, incremental build will rebuild maven modules affected by SCM changes, but ignore snapshot dependency updates that would have required a full build.

Proposed change is to detect the build cause includes UpstreamCause, not just SCMTriggerCause, and then force a full build.