Howard, it looks like assembly:assembly should do it for you.  There
is an optional includeSite property that you'd need to set to true in
your configuration.

http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html

By local goals, I assume you mean the concept of a "target" in Ant?  I
don't know of a way to do this.

>From my understanding, you can create your own plugins (mojos) and
each of these plugins would have 1 or more goals associated with them.
Each goal in the mojo is tied to a phase of the build lifecycle.

Then all you need to do is:  mvn install

Or if you want to execute a specific goal you can call them in
succession:  ie.  mvn clean install eclipse:eclipse  to do a clean,
install and then create the eclipse artifacts.

HTH,

Brian

On 11/23/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Is there a built in goal for creating a tarball (.tar.gz) from a site
> (i.e., the result of the site goal?).
>
> This is for deployment onto hosts that don't support direct login or
> ssh copy (I'm thinking either my hosted home page, or javaforge.com).
> In those cases, you can upload a .tar.gz and have it expanded in
> place on the server.
>
> Is this something done using the assembly plugin? I don't quite grok
> how this fits in.  Could we create a standard assembly for distibuting
> site documentation as a tarball?
>
> How do I add local goals in Maven 2?
>
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to