You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gwénaël Ruelland (Jira)" <ji...@apache.org> on 2022/12/31 13:16:00 UTC
[jira] [Updated] (MNG-7657) Existing version not resolved
[ https://issues.apache.org/jira/browse/MNG-7657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gwénaël Ruelland updated MNG-7657:
----------------------------------
Description:
What i did, pom with:
* property:
<version.org.apache.tomcat>[ 10.1.4 ]</version.org.apache.tomcat>
* dependency
<dependency><groupId>org.apache.tomcat.embed</groupId><artifactId>tomcat-embed-websocket</artifactId><version>${version.org.apache.tomcat}</version><scope>runtime</scope></dependency>
Expected: a warning instead of an error telling the version exist but not ref in metadata.
the resolver should try the exact version before calling there are none.
Actual: error
> Existing version not resolved
> -----------------------------
>
> Key: MNG-7657
> URL: https://issues.apache.org/jira/browse/MNG-7657
> Project: Maven
> Issue Type: Bug
> Reporter: Gwénaël Ruelland
> Priority: Major
>
> What i did, pom with:
> * property:
> <version.org.apache.tomcat>[ 10.1.4 ]</version.org.apache.tomcat>
> * dependency
> <dependency><groupId>org.apache.tomcat.embed</groupId><artifactId>tomcat-embed-websocket</artifactId><version>${version.org.apache.tomcat}</version><scope>runtime</scope></dependency>
>
> Expected: a warning instead of an error telling the version exist but not ref in metadata.
> the resolver should try the exact version before calling there are none.
> Actual: error
--
This message was sent by Atlassian Jira
(v8.20.10#820010)