Re: Site generation tutorials?

2009-07-10 Thread Fiona Mahon
I would like to hear an answer to this one too. I have a multimodule 
project also. Site generation only generations a site with the 
information contained in the parent.xml (that all the modules 
reference), and nothing from each of the modules e.g. there are no 
contributors listed as all this information is down deeper in the module 
poms. I can see that a site is generated under each module, but they are 
all their own independent sites and not linked together in the overall 
project site.


I've tried using a site.xml with the menu ref=modules option to even 
just get a link to each module site, but there are no modules listed 
under the Modules menu in the generated project site.


Anyways, an answer to David's question would help me too.

Fiona.


David C. Hicks wrote:

Is there a decent tutorial out there anywhere on how to build the
project site within Maven?  I've found nothing that I would consider
useful.  MDG is rather short on details, too.

I've got a multi-module project that I'm trying to get the site built
and deployed for.  It seems to build, but trying to examine the site is
fruitless.  Module links take me to the Maven site, and my custom pages
don't show up at all - the links appear to be broken.  I just can't find
any clear information that describes a process by which someone can
iteratively work on the site, as they might work on their code.

Any help?
Thanks,
Dave


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

  




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



[OT] The real identity of Martin (WAS Re: Site generation tutorials?)

2009-07-10 Thread Antonio Petrelli
Aha! Martin you are a bot then! You seem to have some sort of
text-scraping sw that tries to identify questions and try to answer.

Antonio

2009/7/9 Martin Gainty mgai...@hotmail.com:

 seems specific to web-application basedir or build folder parameters
 what is the J2EE Server you are using?
 did you supply all the necessary environment and .properties?

 for example in building axis in adb-codegen/pom.xml i have
 project basedir=. 
 !-- later on i use the basedire which is current folder to specify build dir 
 --
                                property name=maven.build.dir 
 location=${basedir}/target/
                                property name=schema.source.dir 
 value=test-resources/xsd/
                                property name=schema.output.base.dir 
 value=target/schema/
                                property name=schema.generated.src.dir 
 value=${schema.output.base.dir}/src/
                                property name=schema.generated.classes.dir
                                          
 value=${schema.output.base.dir}/classes/

 ?
 Martin
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
 sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
 oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich 
 dem Austausch von Informationen und entfaltet keine rechtliche 
 Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen 
 wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
 l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
 est interdite. Ce message sert à l'information seulement et n'aura pas 
 n'importe quel effet légalement obligatoire. Étant donné que les email 
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
 aucune responsabilité pour le contenu fourni.




 Date: Thu, 9 Jul 2009 14:38:59 -0400
 From: dhi...@i-hicks.org
 To: users@maven.apache.org
 Subject: Site generation tutorials?

 Is there a decent tutorial out there anywhere on how to build the
 project site within Maven?  I've found nothing that I would consider
 useful.  MDG is rather short on details, too.

 I've got a multi-module project that I'm trying to get the site built
 and deployed for.  It seems to build, but trying to examine the site is
 fruitless.  Module links take me to the Maven site, and my custom pages
 don't show up at all - the links appear to be broken.  I just can't find
 any clear information that describes a process by which someone can
 iteratively work on the site, as they might work on their code.

 Any help?
 Thanks,
 Dave


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


 _
 Lauren found her dream laptop. Find the PC that’s right for you.
 http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

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



Re: Site generation tutorials?

2009-07-10 Thread Benson Margulies
Due to some issues that are visible in JIRA for MSITE, I found that
some trickery was needed to get the site plugin version 1.2 to work
for a multi-module project with a structure of top-level, parent,
users-of-parent.

In the top-level POM:

properties
!-- where to deploy the site --

site.deploy.basescp://hudson.basistech.net/home/projects/rex2009/site.deploy.base
!-- where to see it when deployed --
url.basehttp://hudson.basistech.net:8280/projects/rex2009/url.base
/properties

url${url.base}/url


distributionManagement
site
  idrex2009.website/id
  url${site.deploy.base}/url
/site
/distributionManagement

In each child POM, including the parent:

!-- what goes in the POM for a project named 'common' --

properties

site.deploy.basescp://hudson.basistech.net/home/projects/rex2009/site.deploy.base
url.basehttp://hudson.basistech.net:8280/projects/rex2009/url.base
/properties

url${url.base}/url


Then, I have not customized site.xml for the top-level project, and I have.

I find that, with this, mvn clean site:site site:deploy

works.

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



RE: Site generation tutorials?

2009-07-09 Thread Martin Gainty

seems specific to web-application basedir or build folder parameters
what is the J2EE Server you are using?
did you supply all the necessary environment and .properties?

for example in building axis in adb-codegen/pom.xml i have
project basedir=. 
!-- later on i use the basedire which is current folder to specify build dir 
--
property name=maven.build.dir 
location=${basedir}/target/
property name=schema.source.dir 
value=test-resources/xsd/
property name=schema.output.base.dir 
value=target/schema/
property name=schema.generated.src.dir 
value=${schema.output.base.dir}/src/
property name=schema.generated.classes.dir
  
value=${schema.output.base.dir}/classes/

?
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Date: Thu, 9 Jul 2009 14:38:59 -0400
 From: dhi...@i-hicks.org
 To: users@maven.apache.org
 Subject: Site generation tutorials? 
 
 Is there a decent tutorial out there anywhere on how to build the
 project site within Maven?  I've found nothing that I would consider
 useful.  MDG is rather short on details, too.
 
 I've got a multi-module project that I'm trying to get the site built
 and deployed for.  It seems to build, but trying to examine the site is
 fruitless.  Module links take me to the Maven site, and my custom pages
 don't show up at all - the links appear to be broken.  I just can't find
 any clear information that describes a process by which someone can
 iteratively work on the site, as they might work on their code.
 
 Any help?
 Thanks,
 Dave
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 

_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290