Need to verify this is a general-case problem: http://github.com/jdcasey/pom-manipulation-ext/pull/68