You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2025/05/21 21:55:00 UTC
[jira] [Closed] (MNG-8735) Resolver incorrectly thinks a version is a range
[ https://issues.apache.org/jira/browse/MNG-8735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet closed MNG-8735.
--------------------------------
Resolution: Not A Problem
> Resolver incorrectly thinks a version is a range
> ------------------------------------------------
>
> Key: MNG-8735
> URL: https://issues.apache.org/jira/browse/MNG-8735
> Project: Maven
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 4.0.0-rc-4
> Reporter: Lenny Primak
> Priority: Blocker
>
> This is for the latest master build of maven. Maven 4-rc-3 works fine.
> During resolution of transitive dependencies, it looks like maven thinks there is a version range, when there is not and fails the build:
> {code:java}
> % mvn package
> ...
> [ERROR] Failed to execute goal on project flowlogix-jee: Could not collect dependencies for project com.flowlogix:flowlogix-jee:jar:9.x-SNAPSHOT
> [ERROR] java.lang.IllegalArgumentException: Invalid Version Range Request: org.eclipse.ee4j:project:pom:1.0.9 < [central (https://repo.maven.apache.org/maven2, default, releases), sonatype-nexus-staging (${sonatypeOssDistMgmtStagingUrl}, default, releases)]
> [ERROR] Caused by: Invalid Version Range Request: org.eclipse.ee4j:project:pom:1.0.9 < [central (https://repo.maven.apache.org/maven2, default, releases), sonatype-nexus-staging (${sonatypeOssDistMgmtStagingUrl}, default, releases)]
> [ERROR] : Failed to collect dependencies at org.eclipse.persistence:org.eclipse.persistence.jpa.modelgen.processor:jar:4.0.6 {code}
> To reproduce:
> * Clone [https://github.com/flowlogix/flowlogix]
> * mvn package
> You will see the error
>
> {code:java}
> % mvn -v
> Apache Maven 4.0.0-rc-4-SNAPSHOT (96efadee470ff1d39f51848e3d23f338f67b17d6)
> Maven home: /Users/lprimak/Applications/maven/apache-maven-4.0.0-rc-4-20250520.132857
> Java version: 24.0.1, vendor: Azul Systems, Inc., runtime: /Users/lprimak/.sdkman/candidates/java/24.0.1.fx-zulu/zulu-24.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "15.5", arch: "aarch64", family: "mac"
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)