Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8363

Make dependency's "version" tag optional when we have a "classifier"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.9.9
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcsilva83 Rodrigo Carvalho Silva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: