On Tue, Jan 11, 2011 at 8:51 AM, Mathias <[email protected]> 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

Reply via email to