Use the distributionManagement section in the pom, see
http://maven.apache.org/pom.html#Repository for reference. We deploy
snapshots all the time from Hudson. If you run mvn deploy, it should
succeed for anybody with the right credentials set in their
settings.xml. With Hudson, you have to options: either you specify
straight-up deploy Maven goal for Hudson to run, or you specify
install goal and check the "deploy artifacts" checkbox in Hudson. The
latter is better for multimodule builds because all modules are
deployed only after the whole build was successful.

And thanks, I'll be one of the first users of these snapshots - I've
been wanting to upgrade my little Tapestry integration to use the
latest.

Kalle


On Fri, Jun 26, 2009 at 6:24 AM, Les Hazlewood<[email protected]> wrote:
> I'd like to start making these publicly available as soon as possible.
>
> Is there a guide of some sort that explains how to make these accessible
> such that a successful build in Hudson will auto-deploy that snapshot
> artifact to a location people can specify in their Maven poms?
>
> Thanks,
>
> Les
>

Reply via email to