dependencyManagement
applies for dependencies
in the pom and child poms. It does not apply to dependencies
in plugins (at least, that's what i noticed in several plugins, like maven-dependency-plugin).
A possible solution is defining a property (javax.javaee.version
) in your parent pom and using it in your dependencyManagement
and in your jaxws-maven-plugin plugin.