Use packaging excludes rather than breaking maven dependency scoping