You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Daniel Brolund <da...@gmail.com> on 2006/10/15 12:18:15 UTC
[m2]Multi-module site aggregation
Hello!
When building multiple project sites in Maven 1 there was an option to
aggregate the sub-project sites in the parent modules
target/site/multiproject directory.
Is there a similar option in Maven 2?
I have googled for it with no luck.
Cheers
Daniel
--
__________________________
Daniel.Brolund@Gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m2]Multi-module site aggregation
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/17/06, Daniel Brolund <da...@gmail.com> wrote:
> I tried experimenting a little with the assembly plugin, but it
> doesn't feel like way to go, even though I believe that with a little
> bit of tweaking I can at least get the pages to the right places.
>
> Has anyone aggregated a site with maven2 like in maven1?
Yes, with the assembly plugin. We just grab each target/site
directory with a relative path, and put it where we want it in the
assembly.
I'm still using an older version of the assembly plugin. The assembly
descriptor changed and I haven't been motivated to upgrade.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2]Multi-module site aggregation
Posted by Daniel Brolund <da...@gmail.com>.
Hi Geoffrey!
Thanks for your reply.
I can think of a couple of cases when I want to aggregate the documentation:
1) When checking the urls and crosslinking
2) When bundling several modules in a (zip)-package with documentation
to be used offline
It would probably be a rather easy copy-operation, plus some linking.
I tried experimenting a little with the assembly plugin, but it
doesn't feel like way to go, even though I believe that with a little
bit of tweaking I can at least get the pages to the right places.
Has anyone aggregated a site with maven2 like in maven1?
Cheers
Daniel
On 10/16/06, Geoffrey De Smet <ge...@gmail.com> wrote:
> Not that I know of, but you probably don't really need it:
> The links to the submodules won't work offline,
> but when you do a "mvn site-deploy" all sites will be the deployed and
> the links to the submodules will work online.
> (and the aggregate result will be visible there)
>
> Daniel Brolund wrote, On 2006-10-15 12:18 PM:
> > Hello!
> > When building multiple project sites in Maven 1 there was an option to
> > aggregate the sub-project sites in the parent modules
> > target/site/multiproject directory.
> >
> > Is there a similar option in Maven 2?
> >
> > I have googled for it with no luck.
> >
> > Cheers
> > Daniel
> >
> >
>
> --
> With kind regards,
> Geoffrey De Smet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
__________________________
Daniel.Brolund@Gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2]Multi-module site aggregation
Posted by Geoffrey De Smet <ge...@gmail.com>.
Not that I know of, but you probably don't really need it:
The links to the submodules won't work offline,
but when you do a "mvn site-deploy" all sites will be the deployed and
the links to the submodules will work online.
(and the aggregate result will be visible there)
Daniel Brolund wrote, On 2006-10-15 12:18 PM:
> Hello!
> When building multiple project sites in Maven 1 there was an option to
> aggregate the sub-project sites in the parent modules
> target/site/multiproject directory.
>
> Is there a similar option in Maven 2?
>
> I have googled for it with no luck.
>
> Cheers
> Daniel
>
>
--
With kind regards,
Geoffrey De Smet
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org