confluentinc / confluentinc/parallel-consumer

Mismatch between release.version in pom.xml and dependencies

Open
#906 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
299
Forks
172
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm trying to compile the master branch of the project and one of the difficulties I'm facing is:

In the parent pom.xml, `release.version` that is used for the target and release compiler flags is set to 8 in line 65:

` 8
`
But there's a dependency in the parallel-consumer-mutiny module:

```

io.smallrye.reactive
mutiny
2.9.4

```

that uses `java.util.concurrent.Flow` and other classes that where only introduced in Java 9. In fact, I think the compiler target for that dependency is 17.

Are there instructions on how to compile the project? There must be some tricks, I don't see how this can work for anyone.

Environment:
Apache Maven 3.9.12 (848fbb4bf2d427b72bdb2471c22fced7ebd9a7a1)
Java version: 17.0.2, vendor: Oracle Corporation
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "26.2", arch: "aarch64", family: "mac"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the parent pom.xml around release.target and the parallel-consumer-mutiny dependency declaration. Verify the Maven build under the reported Java 17 environment, then make the supported target and dependency relationship or compilation instructions consistent; done means the project compiles without this mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.