POM uploaded multiple times for attached artifacts

2010-02-11 Thread Pepijn Van Eeckhoudt
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

Re: POM uploaded multiple times for attached artifacts

2010-02-11 Thread Antoine Toulme
That's a bug. Look line 163 of artifact.rb. Instead of calling the upload method, you could encapsulate in a task and add it as a prerequisite, I guess. Make sure to use a task name that would work on the project. On Thu, Feb 11, 2010 at 01:09, Pepijn Van Eeckhoudt

Re: POM uploaded multiple times for attached artifacts

2010-02-11 Thread Pepijn Van Eeckhoudt
How does this look? I've been programming Java for 9 years now, so there might be some java-isms in there... Pepijn On 11/2/2010 10:15, Antoine Toulme wrote: That's a bug. Look line 163 of artifact.rb. Instead of calling the upload method, you could encapsulate in a task and add it as a

Re: POM uploaded multiple times for attached artifacts

2010-02-11 Thread Alex Boisvert
Yes, the patch looks good. Please open a Jira and I'll apply it. Thanks for your help! On Thu, Feb 11, 2010 at 3:27 AM, Pepijn Van Eeckhoudt pepijn.vaneeckho...@luciad.com wrote: I was reviewing my previous attempt and was able to throw out some redundant stuff. This should be a bit better