Skip to content

Maven error: The requested parent version range '[0.2,)' does not specify an upper bound #1417

Closed
@ConstantinMatheis

Description

@ConstantinMatheis

I am using the env-var provider 0.0.10 in a Maven project, and when calling mvn install I get the following error:

Caused by: org.apache.maven.project.DependencyResolutionException: Could not collect dependencies for project X
Failed to read artifact descriptor for dev.openfeature.contrib.providers:env-var:jar:0.0.10
        Caused by: The requested parent version range '[0.2,)' does not specify an upper bound

I am using Maven 3.9.10.

It looks like it's related to the way the parent pom version is specified in the env-var pom:

    <parent>
        <groupId>dev.openfeature.contrib</groupId>
        <artifactId>parent</artifactId>
        <version>[0.2,)</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

Is this a probelm with my specific setup, or can you also reproduce it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions