If you absolutely must use that plugin and it has a bad dependency, you can exclude the dependency.
See: https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
You could then possibly manually declare to include the tools jar in the pom yourself.