Skip to content

Mismatch between release.version in pom.xml and dependencies #906

Open
astubbs/parallel-consumer
#519

Description

@lutzh

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:

<release.target>8</release.target>
But there's a dependency in the parallel-consumer-mutiny module:

        <dependency>
            <groupId>io.smallrye.reactive</groupId>
            <artifactId>mutiny</artifactId>
            <version>2.9.4</version>
        </dependency>

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"

Activity

  1. astubbs commented on Aug 5, 2026

    @astubbs
    Contributor

    Tracked in the maintained fork as astubbs#194, which carries a summary of this
    issue and its current status there.

    The Confluent-hosted version of this project is no longer maintained - its README says so.
    Parallel Consumer itself continues in my fork: https://github.com/astubbs/parallel-consumer

    Nothing in this repository is closed or changed by this comment.

  2. astubbs commented on Sep 18, 2026

    @astubbs
    Contributor

    Lutz Hühnken (@lutzh) - fixed and released in the maintained fork, in v0.6.0.0. The coordinates changed with the fork - on Maven Central it is now:

    <dependency>
        <groupId>bz.stub.parallelconsumer</groupId>
        <artifactId>parallel-consumer-core</artifactId>
        <version>0.6.0.0</version>
    </dependency>

    (parallel-consumer-vertx, parallel-consumer-reactor and parallel-consumer-mutiny likewise.) The Java package is bz.stub.parallelconsumer too, so imports change with it - one command rewrites them (GNU sed; on macOS use sed -i ''):

    find . -name '*.java' -exec sed -i 's/io\.confluent\.parallelconsumer/bz.stub.parallelconsumer/g' {} +

    The short version of the fix: parallel-consumer-mutiny now declares its real floor, Java 17, since SmallRye Mutiny 2.x is compiled for 17; the other modules stay at Java 8 bytecode (astubbs#214). The fork's mirror is astubbs#194.

  3. added 2 commits that reference this issue on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions