ramu11 commented on code in PR #9042:
URL: https://github.com/apache/camel-quarkus/pull/9042#discussion_r3910763082
##########
poms/build-parent/pom.xml:
##########
@@ -114,6 +114,8 @@
<removeUnused>true</removeUnused>
<staticAfter>true</staticAfter>
<staticGroups>java.,javax.,org.w3c.,org.xml.,junit.</staticGroups>
+ <!-- Plugin default is ${maven.compiler.release}. An
empty override maps to JavaParser POPULAR (JAVA_11) and rejects instanceof
pattern matching. -->
+ <compliance>${maven.compiler.source}</compliance>
Review Comment:
Thanks James! You were completely right — ${maven.compiler.release} handles
this cleanly by default. I ran ./mvnw process-sources -pl
integration-test-groups/aws2/aws2-sqs locally and confirmed impsort runs
without any compliance issues. I've dropped that change from the PR.
--
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]