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

The type attribute of the artifact tag in ivy.xml is not set appropriately for javadoc and sources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9-rc-1

      Description

      When adding sources and javadoc artifacts to the archives configuration the type attribute of the artifact tag is not set appropriately. Instead a non-existent classifer attribute is added (see GRADLE-936).

      Here is what is produced now:

       
      <publications>
      <artifact name="genesys-communicators" type="jar" ext="jar" conf="archives"/>
      <artifact name="genesys-communicators" type="jar" ext="jar" conf="archives" classifier="javadoc"/>
      <artifact name="genesys-communicators" type="jar" ext="jar" conf="archives" classifier="sources"/>
      </publications>
      

      Here is the expected output:

       
      <publications>
      <artifact name="genesys-communicators" type="jar" ext="jar" conf="archives"/>
      <artifact name="genesys-communicators" type="javadoc" ext="jar" conf="archives"/>
      <artifact name="genesys-communicators" type="source" ext="jar" conf="archives"/>
      </publications>
      

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            mjparme Michael Parmeley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: