title: xml-apis JAR file necessary?
body: <p>I'm using a (Maven) dependency which itself depends on <code>xml-apis</code>. Unfortunately, the presence of this package now causes conflicts in our OSGi environment (see below in case it should be relevant).</p>
  <p>Looking at the JAR content, I find classes which seem to be present in a current JRE anyways. So, my question: Is it safe to exclude this dependency?</p>
  <p>In general: Is there any official documentation about classes which used to be stand alone dependencies and which have been integrated into the JRE now?</p>
  <hr />
  <p>Here's the mentioned OSGi error when the created <code>xml-apis</code> bundle is present:</p>
  <pre class="lang-none prettyprint-override"><code>Bundle was not resolved because of a uses contraint violation.
    org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource my.company.plugin [osgi.identity; osgi.identity=&quot;my.company.plugin&quot;; type=&quot;osgi.bundle&quot;; version:Version=&quot;2.0.0.201707131542&quot;; singleton:=&quot;true&quot;] because it is exposed to package 'javax.xml.transform' from resources org.eclipse.osgi [osgi.identity; type=&quot;osgi.bundle&quot;; version:Version=&quot;3.11.1.v20160708-1632&quot;; osgi.identity=&quot;org.eclipse.osgi&quot;; singleton:=&quot;true&quot;] and xml-apis [osgi.identity; type=&quot;osgi.bundle&quot;; version:Version=&quot;1.4.1.bnd-vA0Q7A&quot;; osgi.identity=&quot;xml-apis&quot;] via two dependency chains.
  </code></pre>