Fixed StackOverflow when adding exclusions

Hi John,

I opened a bug on this, then decided to take a whack at it...

Cheers,

-Brandon

Are there actual example of this out in the wild (i.e. circular dependencies in the POM files)?
Do you have an example of one. I'd like to look at it.