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]