buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: Specify custom POM for uploading
Date Tue, 11 Jan 2011 17:57:45 GMT
On Tue, Jan 11, 2011 at 8:51 AM, Mathias <mathias@parboiled.org> wrote:

> I'm currently in the process of finishing my transition from Ant to Buildr.
> Since so far Buildr doesn't create proper POMs for my artifacts (just very
> basic stubs):
> What would be the canonical way to specify my own custom pom.xml for the
> upload task?
>

You'd do something like this:

  my_pom = file(_(:target, 'pom.xm'l)) do |f|
    # generate pom.xml
  end

  package(:jar).pom.from my_pom

alex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message