You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/06/05 04:17:53 UTC
[jira] Updated: (BUILDR-374) upload tasks can attempt to upload
artifacts multiple times
[ https://issues.apache.org/jira/browse/BUILDR-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/BUILDR-374
> 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
> project.group = "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 server.
> 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.