This is just a thought, meaning I haven't tried it yet, but I will be needing to do this at some point: How about creating a profile that the Continuum build uses that specifies running the site goal of the site plugin for all builds? The real question with creating the site is does the M2 version still do all the redundant work that M1 did when building the site (e.g. to create the surefire reports does it run the tests all over again)? ..David..
________________________________ From: David Sag [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 3:00 AM To: Maven Users List Subject: Re: how to create a site in maven 2 On a related topic, We plan on using Continuum to do our regular builds and as part of that I want it to generate the project site on each build. Now, as far as I can see, none of the standard lifecycle phases include site generation. How are other people generating their project sites using maven 2 and continuum? Kind regards, Dave Sag Paul Spencer <[EMAIL PROTECTED]> wrote on 11-11-2005 10:22:12: > 1) cd to the project directory. It will contain the file pom.xml. > > 2) execute the following command to generate the site. > mvn site > > 3) The site will be created in the target directory > target/docs/index.html > Paul Spencer > > > Maruf Aytekin wrote: > > Hello All, > > I am pretty new to maven just trying it for my company. I hve a problem > > with creating site. I know that it'd be something so simple. Apologies > > for taking your time. My problem is following; > > > > I first created a maven project amqxtras with the following command > > C:\TestMaven> mvn archetype:create -DgroupId=com.idds.amqxtras > > -DartifactId=amqxtras > > This created a maven project under amqxtras directory. > > > > When I ran the following to generate site documentation > > C:\TestMaven>mvn archetype:create -DgroupId=com.idds.amqxtras > > -DartifactId=amqxtras -DarchetypeGroupId=org.apache.maven.archetypes > > -DarchetypeArtifactId=maven-archetype-site > > > > I got the following error that amqxtras already exist. What do I do > > wrong? > > > > > > --- > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > - > > --- > > [INFO] amqxtras already exists - please run from a clean directory > > [INFO] > > ------------------------------------------------------------------------ > > - > > --- > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ------------------------------------------------------------------------ > > - > > --- > > [INFO] Total time: 1 second > > [INFO] Finished at: Fri Nov 11 10:52:47 EET 2005 > > [INFO] Final Memory: 3M/7M > > [INFO] > > ------------------------------------------------------------------------ > > - > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
