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

Rodrigo Carvalho Silva updated MNG-8363:
----------------------------------------
    Description: 
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.

  was:
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.


> 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