Apache XTable (incubating) is a cross-table converter for lakehouse table formats that facilitates interoperability across data processing systems and query engines.
There are various errors such as the one shown below.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.7.0:javadoc (default-cli) on project xtable-api: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 1
[ERROR] /home/stamatis/Projects/Apache/incubator-xtable/xtable-api/src/main/java/org/apache/xtable/spi/sync/TableFormatSync.java:74: error: lambda expressions are not supported in -source 1.7
[ERROR] target -> target.syncFilesForSnapshot(snapshot.getPartitionedDataFiles()),
[ERROR] ^
[ERROR] (use -source 8 or higher to enable lambda expressions)
The Apache parent pom sets the maven.compiler.source and maven.compiler.target to (JDK) 7 and that is being picked up by various plugins including the maven-javadoc-plugin leading to the error below.
Brief change log
Override compiler's target (and implicitly source) property to use JDK 8.
Remove explicit release configuration from maven-compiler-plugin since it is set by the Apache parent pom.
What is the purpose of the pull request
The javadoc goal fails since we are trying to create Javadoc for JDK7 while the code has language features of JDK8.
There are various errors such as the one shown below.
The Apache parent pom sets the
maven.compiler.source
andmaven.compiler.target
to (JDK) 7 and that is being picked up by various plugins including the maven-javadoc-plugin leading to the error below.Brief change log
target
(and implicitlysource
) property to use JDK 8.release
configuration from maven-compiler-plugin since it is set by the Apache parent pom.Verify this pull request
completes without errors.