buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Toulme (JIRA)" <>
Subject [jira] Updated: (BUILDR-374) upload tasks can attempt to upload artifacts multiple times
Date Sat, 05 Jun 2010 02:17:53 GMT


Antoine Toulme updated BUILDR-374:

    Attachment: uploadtask2.patch

I reworked the patch so that it doesn't break specs.

rake spec is clean with it - Pepijn, please try it out and let us know.

> upload tasks can attempt to upload artifacts multiple times
> -----------------------------------------------------------
>                 Key: BUILDR-374
>                 URL:
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.5
>            Reporter: Pepijn Van Eeckhoudt
>            Assignee: Alex Boisvert
>             Fix For: 1.4
>         Attachments: uploadtask.patch, uploadtask2.patch
> When executing 'buildr upload' on a simple java project with the following buildfile,
the pom gets uploaded twice; once for each package
> define 'attachedartifacts' do
> = "attached"
>   project.version = "1.0"
>   package(:jar)
>   package(:sources)
> end
> This doesn't work when uploading to a 'release' maven2 repository as these often don't
allow updating of files. In practice I'm trying to upload to a release repository on a Nexus
> The attached patch wraps the upload logic in a task with the remote uri as name. This
ensures the upload logic is executed at most once for each artifact. The patch is against
svn revision 883432

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message