I think I know how to solve the problem except: I don\'t know where in the pom the specific version is referred to (I do not see it explicitly) and the solution I have seen is t
You can use the "java.home" environment variable :
com.sun tools 1.6 system ${java.home}/lib/tools.jar
Please have a look to : https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#System_Dependencies