It depends. For XSDs + DTDs it can be argued, that they are used at runtime and thus need to be included in their source form. We are currently integrating them if possible (apache legal faq describes this as Category B). The referenced PRs take that road.
For the javaee-api-5 dependency, this should be switch to the maven dependency `javaee:javaee-api:5` [ Full content available at: https://github.com/apache/incubator-netbeans/pull/916 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org