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-2004

Fail upload on missing artifacts

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Gradle Forums topic Reference:

    question - Fail upload on missing artifacts (pending)

Description

Hi guys,
I'm having a build that adds publish artifacts which are built by some Jar tasks created dynamically. I noticed that if I execute uploadArchives, without having run those Jar tasks, the Upload succeeds but does NOT upload the missing artifacts, although they get defined in the ivy descriptor.
The log contains the following 'DEBUG' messages:

6:39:01.646 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] missing artifact org.acme#foo;1.0.0!foo-profile.jar(profile):
[java] D:\workspace\acme\antBuild\profiles\foo-profile-1.0.0-sources.jar file does not exist

It seems more appropriate to fail the upload if some artifact is declared but not found, is there a way to do this?

I'm using gradle-1.0-milestone-6-20111114000013+0100.

Thanks,
Detelin

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Remote Attachments
  • Commits
  • Source
  • Reviews
Hide
Permalink
Gradle Forums added a comment - 17/Dec/11 2:52 PM

Hey Detelin!

It looks like a bug to me. I'll export it to jira. Is there a chance you could provide a sample project that demonstrates this behavior? BTW. Can you still reproduce this issue with released M6?

Show
Gradle Forums added a comment - 17/Dec/11 2:52 PM Hey Detelin! It looks like a bug to me. I'll export it to jira. Is there a chance you could provide a sample project that demonstrates this behavior? BTW. Can you still reproduce this issue with released M6?

People

  • Assignee:
    Unassigned
    Reporter:
    Gradle Forums
Vote (0)
Watch (0)

Dates

  • Created:
    17/Dec/11 2:52 PM
    Updated:
    03/Jan/13 4:49 AM
  • 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.