Closed findepi closed 6 months ago
relates to https://github.com/airlift/airbase/pull/404
This still doesn't work in IntelliJ. I think that this is due to the fact that air.compiler.enable-preview
is evaluated to produce surefireEnablePreview
in the build-helper-maven-plugin
which is not something that IntelliJ understands and support.
I think that instead of air.compiler.enable-preview
we should introduce air.compiler.extra-args
and pass it directly rather than through bsh-property
This still doesn't work in IntelliJ.
That's not the point of this PR.
This PR fixes building with mvn verify
for the case where the Java code relies on features accessible with --enable-preview
. Without this, the javadoc processing fails at symbol/class resolution.
@findepi this would work
updated CHANGES
@electrum would you like to take a look?
cc @electrum @wendigo