You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Hoffer <dh...@gmail.com> on 2009/04/14 02:45:40 UTC

How to configure maven-site-plugin to publish jar?

Can and if possible how can I configure the maven-site-plugin so that it
bundles the entire site in a jar and then deploys it?  Ideally the whole
process would remain contained within the site-deploy phase.

-Dave

Re: How to configure maven-site-plugin to publish jar?

Posted by Dennis Lundberg <de...@apache.org>.
David Hoffer wrote:
> Can and if possible how can I configure the maven-site-plugin so that it
> bundles the entire site in a jar and then deploys it?  Ideally the whole
> process would remain contained within the site-deploy phase.
> 
> -Dave
> 

You can use the site:jar goal for this purpose:
http://maven.apache.org/plugins/maven-site-plugin/jar-mojo.html

The site.jar file is attached to your main artifact by default.

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org