I’m writing my own extension in Java. My pom.xml
looks like this:
<parent>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-pom</artifactId>
<version>11.10.3</version>
</parent>
<!-- more stuff removed for brevity -->
I’m not a Java expert, and I looked at the Java Support Strategy for XWiki. So my confusion is: how could xwiki-commons
and xwiki-*
other modules support both Java 8 and Java 11 ? I mean xwiki-commons
is built with either Java 8, or Java 11, but not both? And indeed, xwiki-commons/**/pom.xml
seems to mention Java 8 only:
<!-- Java -->
<java.version>1.8</java.version>
(I assume Java 1.8 means the same thing as Java 8)
Does that mean xwiki-commons
is built with Java 8 only? If so, does that mean I’m forced to use Java 8 to build my extension? If so, why does Java Support Strategy mention Java 11 as well?