In a number of use cases, that is preferable that projects that depend on Java EE APIs declare their dependencies with the scope provided in their POMs.