You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Erlend Hamnaberg <ng...@gmail.com> on 2010/03/10 09:58:11 UTC
distribution build for non-maven users
Hello.
I have project that is on codehaus. For some reason I decided to have a
distribution build as an attached artifact.
This causes clutter in the repo, which I do not want.
Are there any guidelines for how to create a distribution for a maven
project for non-maven users?
I probably want to put this as part of the release build, with an upload to
the webdav download place @ codehaus.
Any suggestions for how to do this? Plugins etc?
Re: distribution build for non-maven users
Posted by Wendy Smoak <ws...@gmail.com>.
On Wed, Mar 10, 2010 at 3:58 AM, Erlend Hamnaberg <ng...@gmail.com> wrote:
> I have project that is on codehaus. For some reason I decided to have a
> distribution build as an attached artifact.
> This causes clutter in the repo, which I do not want.
>
> Are there any guidelines for how to create a distribution for a maven
> project for non-maven users?
>
> I probably want to put this as part of the release build, with an upload to
> the webdav download place @ codehaus.
It sounds like you are already creating a distribution, probably with
the assembly plugin? A link to your project would help, so we don't
have to guess. :)
If the only objection is that it gets deployed to the repository, then
try the 'skip' parameter of the deploy plugin.
This will work best if the assembly is in a separate module rather
than being attached to something else.
You can then manually upload the distribution to Codehaus webdav, or
possibly automate it with another plugin (wagon?).
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: distribution build for non-maven users
Posted by Erlend Hamnaberg <ng...@gmail.com>.
I went for Kalle's suggestion :)
Thanks.
BTW: the project in question is http://httpcache4j.codehaus.org/
On Wed, Mar 10, 2010 at 4:26 PM, Kalle Korhonen
<ka...@gmail.com>wrote:
> On Wed, Mar 10, 2010 at 12:58 AM, Erlend Hamnaberg <ng...@gmail.com>
> wrote:
> > I have project that is on codehaus. For some reason I decided to have a
> > distribution build as an attached artifact.
> > This causes clutter in the repo, which I do not want.
> > Are there any guidelines for how to create a distribution for a maven
> > project for non-maven users?
>
> I think there are too many variables and preferred outcomes to suggest
> guidelines. However, I've done some distributions with the site
> deploy. You package your thing up as part of site, put it in the site
> target directory and let it be deployed as part of site-deploy (which
> in turn is run as part of release:perform).
>
> Kalle
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: distribution build for non-maven users
Posted by Kalle Korhonen <ka...@gmail.com>.
On Wed, Mar 10, 2010 at 12:58 AM, Erlend Hamnaberg <ng...@gmail.com> wrote:
> I have project that is on codehaus. For some reason I decided to have a
> distribution build as an attached artifact.
> This causes clutter in the repo, which I do not want.
> Are there any guidelines for how to create a distribution for a maven
> project for non-maven users?
I think there are too many variables and preferred outcomes to suggest
guidelines. However, I've done some distributions with the site
deploy. You package your thing up as part of site, put it in the site
target directory and let it be deployed as part of site-deploy (which
in turn is run as part of release:perform).
Kalle
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org