-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there,
a little late on this thread but anyways... Am I missing something or does your m2 site-plugin aggregate the target/site directories since you wrote: >> <item name="Sub Project 1" href="/subproject1/index.html"/> I would not worry too much at this point to add this few lines to the site.xml but as far as I experienced this would only work if you write >> <item name="Sub Project 1" href="/subproject1/target/site/index.html"/> This makes it really hard to deploy the site without dumping out the complete project. I mean you can not copy "/target/site" but you also need to copy "/subproject1/target" and "subproject2/target" keeping the structure. I think that automatically adding the sub-projects would not be the task of the site plugin itself but an additional report pluggin could create this list in the menu. But the site plugin would really need to copy the sites of all sub-projects to subfolders of the parent site - or maybe it would make the sub-projects directly generate their output into these subfolders. Additionally other plugins such as javadoc should be extended for multi-project support so one could get a complete javadoc including all sub-projects. Regards Jörg Wayne Fay wrote: > As far as I'm aware, this is the only current solution. Its really not > that painful, how often are you adding modules to your projects? > > This has been discussed several times on the user list. IIRC no one > has mentioned another solution. > > Of course any user is welcome to contribute patches that add this > functionality to the site plugins. Or file a JIRA report (if it hasn't > already been filed) and get other users to vote on it, and then wait > for someone else to write the code. > > Wayne > > > On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>Daun, >> Thanks for the possible solution. I'm experiencing this issue >>as well. I was expecting an automated way of maintaining the site >>structure. It would be much nicer if the site and site-deploy goals >>supported multiprojects in someway. Does anyone else know if they do? >>Are Kevin, Daun and I missing something. I know for me, I'm new to >>Maven 2.0 so its definitely possible that I didn't configure my POM >>correctly. >> >>Thanks, >>Brian >> >>-----Original Message----- >>From: Daun DeFrance [mailto:[EMAIL PROTECTED] >>Sent: Tuesday, March 28, 2006 1:52 PM >>To: Maven Users List >>Subject: RE: Help with multiproject site generation? >> >>-----Original Message----- >>From: Wood, Kevin [mailto:[EMAIL PROTECTED] >>Subject: Help with multiproject site generation? >> >>Does anyone have a working example of multiproject site generation with >>Maven2? >> >><snip> >> >>Kevin, >>In order to get my muliproject site documentation to be cohesive, I >>performed the following: >> >>I have projects set up like this: >><root> >> + subproject1 >> + subproject2 >> + src >> | + site >> | | site.xml >> pom.xml >> >>My parent's site.xml contains menu item links to the subprojects which >>looks like: >> >><menu name="Sub Projects"> >> <item name="Sub Project 1" href="/subproject1/index.html"/> >> <item name="Sub Project 2" href="/subproject2/index.html"/> >></menu> >> >>I've been pretty happy with this arrangement except you have to remember >>to update the parent's src/site directory for new sub projects. My >>parent's src directory is otherwise empty. >> >>Best, >>D DeFrance >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >>Visit our website at http://www.ubs.com >> >>This message contains confidential information and is intended only >>for the individual named. If you are not the named addressee you >>should not disseminate, distribute or copy this e-mail. Please >>notify the sender immediately by e-mail if you have received this >>e-mail by mistake and delete this e-mail from your system. >> >>E-mail transmission cannot be guaranteed to be secure or error-free >>as information could be intercepted, corrupted, lost, destroyed, >>arrive late or incomplete, or contain viruses. The sender therefore >>does not accept liability for any errors or omissions in the contents >>of this message which arise as a result of e-mail transmission. If >>verification is required please request a hard-copy version. This >>message is provided for informational purposes and should not be >>construed as a solicitation or offer to buy or sell any securities or >>related financial instruments. >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEUBdAmPuec2Dcv/8RAia+AKCRIKdgqpphJmStAgDlaTIcxBOQWQCfSPmT Gm1hIMvYCYTjTkIs9zmbY9g= =gdYL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
