Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbt.inc.Doc$JavadocGenerationFailed bumping sbt to 1.4.0+ #3240

Open
ignasi35 opened this issue Apr 19, 2021 · 5 comments
Open

sbt.inc.Doc$JavadocGenerationFailed bumping sbt to 1.4.0+ #3240

ignasi35 opened this issue Apr 19, 2021 · 5 comments

Comments

@ignasi35
Copy link
Contributor

ignasi35 commented Apr 19, 2021

See https://travis-ci.com/github/lagom/lagom/jobs/498873420#L772-L803

I've been doing some research and can't find any issue on existing repos about the error and potential workaround or solution. the only think I found was this failure report from play: playframework/playframework#10111

I've noticed this error is not sbt 1.5.0 related. It appears as soon as I bump sbt from 1.3.13 to 1.4.0 in .

Originally posted by @ignasi35 in #3224 (comment)


Edit: adding some more notes.

The reproducer (see comment below) runs on scala 2.12.13 but requires JDK11.

@ignasi35
Copy link
Contributor Author

Unlike playframework/playframework#10111, this is repeatable.

@ignasi35
Copy link
Contributor Author

The easiest reproducer is:

1.clone master
2. set 1.4.0 on project/build-properties
3. run sbt Javaunidoc/doc

@ignasi35
Copy link
Contributor Author

May be related to lightbend/genjavadoc#264 and lightbend/genjavadoc#220

@ignasi35
Copy link
Contributor Author

The workaround in the case of Lagom is to use JDK8 when bumping to sbt 1.4.0.

Here's a summary:

  • JDK 11 + sbt 1.3.13: PASSED
  • JDK 11 + sbt 1.4.0: FAILED
  • JDK 8 + sbt 1.x.y: PASSED

@ignasi35
Copy link
Contributor Author

More likely related to lightbend/cloudflow@19bad77#diff-cb9f468b80bb3e0f757971d036ce90c5885fb3a406cdb76ff63a808a74f70332R16 since the error seems related to the JDK and not the scala version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant