You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Adams <da...@ifactory.com> on 2006/05/02 22:51:14 UTC

[m2] common site.xml for all modules

I have a multi-module project and would like to create a site that
incorporates all the modules. Is there a way I could use a common
site.xml or common navigation or something? Could someone point me to a
project that is an example of this? Thanks.

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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


Re: [m2] common site.xml for all modules

Posted by Lee Meador <le...@leemeador.com>.
I'm just running whatever is released just now under maven 2.0.4. I have
nothing in my poms to tell it to use a different site plugin so ...

Thanks.

-- Lee Meador

On 5/4/06, Arik Kfir <ar...@gmail.com> wrote:
>
> which version of the site plugin are you using? I'm using the trunk
> version,
> and I have a single site.xml file at the parent project. The modules
> inside
> don't have a site.xml, unless specifically required, and it works
> great....but it I think it can only work in the trunk version - not the
> plugin's released version...
>
> On 5/5/06, Lee Meador <le...@leemeador.com> wrote:
> >
> > I did this in an ugly but effective way.
> >
> > I put the shared site.xml in the parent project of all the projects that
> > share it. Then I added an ant script to that project. In that ant script
> > is
> > some <copy> tags that copy the site.xml file to all the children that
> need
> > it. The shared file mostly just adds links to the left sidebar that
> allow
> > interproject movement. When I change the site.xml, I do it in the parent
> > project and then run the ant script. In Eclipse its just a few clicks to
> > do
> > that.
> >
> > I also do the same thing to share some properties files that are used in
> > the
> > tests for all the children projects. Its just another target in the ant
> > script.
> >
> > -- Lee Meador
> >
> > On 5/2/06, Dan Adams <da...@ifactory.com> wrote:
> > >
> > > I have a multi-module project and would like to create a site that
> > > incorporates all the modules. Is there a way I could use a common
> > > site.xml or common navigation or something? Could someone point me to
> a
> > > project that is an example of this? Thanks.
> > >
> > > --
> > > Dan Adams
> > > Software Engineer
> > > Interactive Factory
> > > 617.235.5857
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > -- Lee Meador
> > Sent from gmail. My real email address is lee@leemeador.com
> >
> >
>
>
> --
> ______________________________________
> Cheers,
>       Arik Kfir                                   arikkfir@gmail.com
>       Linux user, number 415067 - http://counter.li.org/
>       http://corleon.dnsalias.org
>



--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com

Re: [m2] common site.xml for all modules

Posted by Arik Kfir <ar...@gmail.com>.
which version of the site plugin are you using? I'm using the trunk version,
and I have a single site.xml file at the parent project. The modules inside
don't have a site.xml, unless specifically required, and it works
great....but it I think it can only work in the trunk version - not the
plugin's released version...

On 5/5/06, Lee Meador <le...@leemeador.com> wrote:
>
> I did this in an ugly but effective way.
>
> I put the shared site.xml in the parent project of all the projects that
> share it. Then I added an ant script to that project. In that ant script
> is
> some <copy> tags that copy the site.xml file to all the children that need
> it. The shared file mostly just adds links to the left sidebar that allow
> interproject movement. When I change the site.xml, I do it in the parent
> project and then run the ant script. In Eclipse its just a few clicks to
> do
> that.
>
> I also do the same thing to share some properties files that are used in
> the
> tests for all the children projects. Its just another target in the ant
> script.
>
> -- Lee Meador
>
> On 5/2/06, Dan Adams <da...@ifactory.com> wrote:
> >
> > I have a multi-module project and would like to create a site that
> > incorporates all the modules. Is there a way I could use a common
> > site.xml or common navigation or something? Could someone point me to a
> > project that is an example of this? Thanks.
> >
> > --
> > Dan Adams
> > Software Engineer
> > Interactive Factory
> > 617.235.5857
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is lee@leemeador.com
>
>


--
______________________________________
Cheers,
      Arik Kfir                                   arikkfir@gmail.com
      Linux user, number 415067 - http://counter.li.org/
      http://corleon.dnsalias.org

Re: [m2] common site.xml for all modules

Posted by Lee Meador <le...@leemeador.com>.
I did this in an ugly but effective way.

I put the shared site.xml in the parent project of all the projects that
share it. Then I added an ant script to that project. In that ant script is
some <copy> tags that copy the site.xml file to all the children that need
it. The shared file mostly just adds links to the left sidebar that allow
interproject movement. When I change the site.xml, I do it in the parent
project and then run the ant script. In Eclipse its just a few clicks to do
that.

I also do the same thing to share some properties files that are used in the
tests for all the children projects. Its just another target in the ant
script.

-- Lee Meador

On 5/2/06, Dan Adams <da...@ifactory.com> wrote:
>
> I have a multi-module project and would like to create a site that
> incorporates all the modules. Is there a way I could use a common
> site.xml or common navigation or something? Could someone point me to a
> project that is an example of this? Thanks.
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
> 617.235.5857
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com