Closed vkolotov closed 4 years ago
The fix is to configure xmlbeans-maven-plugin
in the pom.xml
to specify <javaSource>1.8</javaSource>
:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<version>2.3.3</version>
<executions>
<execution>
<goals>
<goal>xmlbeans</goal>
</goals>
</execution>
</executions>
<inherited>true</inherited>
<configuration>
<schemaDirectory>src/main/xsd</schemaDirectory>
<defaultXmlConfigDir>src/main/xsd/config</defaultXmlConfigDir>
<javaSource>1.8</javaSource>
</configuration>
</plugin>
Thank you for looking into this!
I've just checked out the project and run
mvn install
, looks like the build is broken:Environment: Oracle JDK 11, OSX (10.14.6 (18G103)), Apache Maven 3.6.2