exasol / sql-statement-builder

Build SQL statements safely without string concatenation
MIT License
25 stars 4 forks source link

Fix JavaDoc in combination with Java 11 #19

Closed redcatbear closed 4 years ago

redcatbear commented 5 years ago

Description

When running a Travis CI build with Java 11 we get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project sql-statement-builder: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
[ERROR] 
[ERROR] Command line was: /home/travis/openjdk11/bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/home/travis/build/exasol/sql-statement-builder/target/apidocs' dir.

Steps to Reproduce

  1. Enable OpenJDK11 in .travis.yml
  2. Run build in Travis CI

Expected behavior

Build succeeds.

Environment

AnastasiiaSergienko commented 4 years ago

Fixed after porting to java 11 #82