You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2025/03/13 12:24:00 UTC

[jira] [Closed] (MNG-8363) Make dependency's "version" tag optional when we have a "classifier"

     [ https://issues.apache.org/jira/browse/MNG-8363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamas Cservenak closed MNG-8363.
--------------------------------
    Resolution: Not A Problem

> Make dependency's "version" tag optional when we have a "classifier"
> --------------------------------------------------------------------
>
>                 Key: MNG-8363
>                 URL: https://issues.apache.org/jira/browse/MNG-8363
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.9.9
>            Reporter: Rodrigo Carvalho Silva
>            Priority: Major
>
> I have the following dependency:
> {{    <dependency>}}
> {{      <groupId>com.querydsl</groupId>}}
> {{      <artifactId>querydsl-jpa</artifactId>}}
> {{    </dependency>}}
> And I need to add a classifier to it but the following is invalid:
> {{    <dependency>}}
> {{      <groupId>com.querydsl</groupId>}}
> {{      <artifactId>querydsl-jpa</artifactId>}}
> {{      <classifier>jakarta</classifier>}}
> {{    </dependency>}}
> So, to add this classifier, I also need to add a version manually instead of relying on the managed dependency's version.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)