sweble / sweble-wikitext

The Sweble Wikitext Components module provides a parser for MediaWiki's wikitext and an engine trying to emulate the behavior of a MediaWiki.
http://sweble.org/sites/swc-devel/develop-latest/tooling/sweble/sweble-wikitext
70 stars 27 forks source link

Java 11 compatibility #80

Open wetneb opened 2 years ago

wetneb commented 2 years ago

Running mvn test with OpenJDK 11 I get a lot of compilation failures which seem to be due to the change of coordinates of the javax classes (I think this is related to the JDK version).

[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[23,33] package javax.xml.bind.annotation does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[24,33] package javax.xml.bind.annotation does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[25,42] package javax.xml.bind.annotation.adapters does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[26,42] package javax.xml.bind.annotation.adapters does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[34,2] cannot find symbol
[ERROR]   symbol: class XmlTransient
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[35,2] cannot find symbol
[ERROR]   symbol: class XmlJavaTypeAdapter