Hi Paul,

we hit this too. JavaXML.framework is a bunch of old Jars
bundled together, so we use our own buldled Jar for a long
time now. The POM contains following snippet:

<!-- remove xml-apis after switch from Java 1.8 to 21 -->
<dependency>
  <groupId>xml-apis</groupId>
  <artifactId>xml-apis</artifactId>
  <version>1.4.01</version>
</dependency>
<dependency>
  <groupId>xerces</groupId>
  <artifactId>xercesImpl</artifactId>
  <version>2.12.2</version>
  <exclusions>
    <exclusion>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
    </exclusion>
  </exclusions>
</dependency>

At the moment we still use xml-apis and configured
Eclipse and our compiler to be source- and target-compatible
with Java8, but using Java21 runtime and compiler.

If you move target to Java21 (or use the new "release"
compiler switch) you have to remove xml-apis.


2. Is anyone else living in a post-JavaXML.framework world? It smuggles in a lot of stuff that I'd like to get rid of (e.g., Log4J 1). If so, how did you do it?

I would recommend throwing it away. We have a separate
project, POM-only, that defines all the stuff needed (not
only JavaXML), and include that into our projects.


Michael


--
___________________________

Michael Schmiedgen, BSc
Senior Software Engineer

Takwa GmbH
Friedrich-List-Str. 15
99096 Erfurt GERMANY

Tel  +49 361 6534096
Fax  +49 361 6534097
Mail schmied...@takwa.de
Web  http://www.takwa.de/
___________________________


Amtsgericht Jena HRB 112964
Geschäftsführung: Ingo Buchholz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to