LuciferYang commented on code in PR #41546:
URL: https://github.com/apache/spark/pull/41546#discussion_r1226152720
##########
pom.xml:
##########
@@ -2782,6 +2782,13 @@
</excludes>
<searchTransitive>true</searchTransitive>
</bannedDependencies>
+ <enforceBytecodeVersion>
+ <maxJdkVersion>${java.version}</maxJdkVersion>
+ <ignoredScopes>test</ignoredScopes>
+ <excludes>
Review Comment:
with this change, there still compile failed as follows:
```
[INFO] Spark Project Connect Client ....................... FAILURE [ 0.839
s]
[INFO] Spark Project Kinesis Assembly ..................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22:18 min
[INFO] Finished at: 2023-06-12T14:28:19+08:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.3.0:enforce (enforce-versions)
on project spark-connect-client-jvm_2.12:
[ERROR] Rule 3:
org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion failed with
message:
[ERROR] Found Banned Dependency: io.get-coursier:interface:jar:1.0.11
[ERROR] Use 'mvn dependency:tree' to locate the source of the banned
dependencies.
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]