You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Morgovsky, Alexander (US - Glen Mills)" <am...@deloitte.com> on 2006/10/19 06:15:36 UTC

Maven 2 Site generation

I have a Maven 2 project.  I want to create a site for it.  Should I run
the mvn site creation command with the archetype function?  I am
concerned that I will overwrite my work.  May someone please tell me
exactly what I need to do so that I could generate a generic site for an
already made Maven 2 project?  For discussion purposes, here is the
structure.

Project1
	-src
	-pom.xml
<groupId>example</groupId>
<artifactId>item</artifactId>
<version>5.1.3</version> 


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]

Re: Maven 2 Site generation

Posted by James Mitchell <jm...@apache.org>.
The generated site will never overwrite your sources...ok, that's not  
100% true, but you'd have to be a real "genius" to do that, so don't  
worry about it.

Try this.

1. Make a backup copy of your project
2. Execute the following at the root of your project

    $ mvn site



--
James Mitchell
678.910.8017




On Oct 19, 2006, at 12:15 AM, Morgovsky, Alexander ((US - Glen  
Mills)) wrote:

> I have a Maven 2 project.  I want to create a site for it.  Should  
> I run
> the mvn site creation command with the archetype function?  I am
> concerned that I will overwrite my work.  May someone please tell me
> exactly what I need to do so that I could generate a generic site  
> for an
> already made Maven 2 project?  For discussion purposes, here is the
> structure.
>
> Project1
> 	-src
> 	-pom.xml
> <groupId>example</groupId>
> <artifactId>item</artifactId>
> <version>5.1.3</version>
>
>
> This message (including any attachments) contains confidential  
> information intended for a specific individual and purpose, and is  
> protected by law.  If you are not the intended recipient, you  
> should delete this message.
>
>
> Any disclosure, copying, or distribution of this message, or the  
> taking of any action based on it, is strictly prohibited. [v.E.1]


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


Re: Maven 2 Site generation

Posted by Allan Ramirez <ar...@exist.com>.
Please see http://maven.apache.org/guides/mini/guide-site.html

You dont have to generate a site project, all of your site docs(apt, 
fml, xdoc) will be place in src/site of your existing project.

-allan

Morgovsky, Alexander (US - Glen Mills) wrote:
> I have a Maven 2 project.  I want to create a site for it.  Should I run
> the mvn site creation command with the archetype function?  I am
> concerned that I will overwrite my work.  May someone please tell me
> exactly what I need to do so that I could generate a generic site for an
> already made Maven 2 project?  For discussion purposes, here is the
> structure.
>
> Project1
> 	-src
> 	-pom.xml
> <groupId>example</groupId>
> <artifactId>item</artifactId>
> <version>5.1.3</version> 
>
>
> This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 
>
>
> Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
>
>   

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