[ 
https://issues.apache.org/jira/browse/MNG-8363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934643#comment-17934643
 ] 

Rodrigo Carvalho Silva commented on MNG-8363:
---------------------------------------------

As Maven 4 has a new model version, wouldn't it be a great opportunity for this 
change?

> 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)

Reply via email to