Fix pom translation so that excludes now works. Includes a test that will fail if exclusions not included.