You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:11:08 UTC
[jira] [Closed] (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 ]
Peter Donald closed BUILDR-374.
-------------------------------
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira