slawekjaranowski commented on code in PR #760: URL: https://github.com/apache/maven-invoker-plugin/pull/760#discussion_r4030872765
########## src/site/markdown/examples/pre-post-build-script.md.vm: ########## @@ -126,6 +126,13 @@ In this case, the pre and post build hook scripts can be executed for each invoc Missing script files will be ignored. +# Script bytecode level + +By default, the pre-/post-build Groovy scripts are compiled to the bytecode level of the JDK running Maven. Set the +[`scriptTargetBytecode`](../run-mojo.html#scriptTargetBytecode) parameter (or the `maven.compiler.release` / Review Comment: This is default .. so user not need set it, maybe we should remove default from parameter? To check - can we set empty value to have running JDK level? with default value on parameter? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
