Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-937

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved 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>

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews

People

  • Assignee:
    Hans Dockter
    Reporter:
    Michael Parmeley
Vote (0)
Watch (1)

Dates

  • Created:
    10/May/10 11:28 AM
    Updated:
    04/Jan/13 5:10 AM
    Resolved:
    24/Nov/10 2:26 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.