Skip to content

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

@lutzh

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"

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