Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-432

Classifiers not written to generated POM using Maven plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6

      Description

      When using TestNG the classifier has to be used to get the dependency from the Maven repository. Hence:

      dependencies {
          . . . 
           testCompile ( 'org.testng:testng:5.8:jdk15' )
      }
      

      However when the generated POM is created the classifier is not written out:

        <dependencies>
          <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>5.8</version>
            <scope>test</scope>
            <type>jar</type>
          </dependency>
        </dependencies>
      

      There needs to be a:

            <classifier>jdk15</classifier>
      

      written to the POM.

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            russel Russel Winder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: