hangc0276 commented on PR #24617:
URL: https://github.com/apache/pulsar/pull/24617#issuecomment-3194662477
When I cherry-pick this PR to branch-4.0, this project build failed with
following exception:
```
[ERROR] Rule 0: org.apache.maven.plugins.enforcer.EnforceBytecodeVersion
failed with message:
[ERROR] Found Banned Dependency: org.apache.avro:avro-protobuf:jar:1.12.0
[ERROR] Found Banned Dependency: org.apache.avro:avro:jar:1.12.0
[ERROR] Use 'mvn dependency:tree' to locate the source of the banned
dependencies.
```
Looks like related to branch-4.0 pulsar client enforced bytecode version and
the maxJdkVersion is set to 8
```
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-bytecode-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<enforceBytecodeVersion>
<maxJdkVersion>${pulsar.client.compiler.release}</maxJdkVersion>
<ignoredScopes>
<ignoreScope>test</ignoreScope>
</ignoredScopes>
</enforceBytecodeVersion>
</rules>
</configuration>
</execution>
</executions>
```
--
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]