[Maven2] Building Website using Maven

2007-07-13 Thread Dimuthu Leelarathne
Hi All,

I am trying to build the website for a project. I managed to attach
userguide.html and other documentation to the site successfully.

The problem occurred when I am trying to generate a custom index.html

I introduced an index.xml file into src/site/xdocs/index.xml. Then i
typed 

$mvn clean site:site

But the default index.html has not changed.

I am using maven 2.0.6.

Am I missing something here?

I really appreciate any help on the issue.

Thank you,
Dimuthu 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Maven2] Building Website using Maven

2007-07-13 Thread Patrick Kimber

Hi

I create a custom index.html by editing this file:
src/site/apt/index.apt

This file is in apt format:
http://maven.apache.org/guides/mini/guide-apt-format.html

Patrick

On 13/07/07, Dimuthu Leelarathne [EMAIL PROTECTED] wrote:

Hi All,

I am trying to build the website for a project. I managed to attach
userguide.html and other documentation to the site successfully.

The problem occurred when I am trying to generate a custom index.html

I introduced an index.xml file into src/site/xdocs/index.xml. Then i
typed

$mvn clean site:site

But the default index.html has not changed.

I am using maven 2.0.6.

Am I missing something here?

I really appreciate any help on the issue.

Thank you,
Dimuthu




-
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]



Re: [Maven2] Building Website using Maven

2007-07-13 Thread Patrick Kimber

Hi Dimuthu

Sorry, I have no idea.  I don't use xdocs.  I hope you find a solution.

Regards.
Patrick

On 13/07/07, Dimuthu Leelarathne [EMAIL PROTECTED] wrote:

Thank you very much. src/site/apt/index.apt works!

But I am wondering why the src/site/xdocs/index.html doesn't work.


Regards,
Dimuthu

On Fri, 2007-07-13 at 09:06 +0100, Patrick Kimber wrote:
 Hi

 I create a custom index.html by editing this file:
 src/site/apt/index.apt

 This file is in apt format:
 http://maven.apache.org/guides/mini/guide-apt-format.html

 Patrick

 On 13/07/07, Dimuthu Leelarathne [EMAIL PROTECTED] wrote:
  Hi All,
 
  I am trying to build the website for a project. I managed to attach
  userguide.html and other documentation to the site successfully.
 
  The problem occurred when I am trying to generate a custom index.html
 
  I introduced an index.xml file into src/site/xdocs/index.xml. Then i
  typed
 
  $mvn clean site:site
 
  But the default index.html has not changed.
 
  I am using maven 2.0.6.
 
  Am I missing something here?
 
  I really appreciate any help on the issue.
 
  Thank you,
  Dimuthu
 
 
 
 
  -
  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]



-
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]



Re: [Maven2] Building Website using Maven

2007-07-13 Thread Dimuthu Leelarathne
It works! 

Thank you,
Dimuthu

On Fri, 2007-07-13 at 13:04 +0200, Lukas Theussl wrote:
 Try src/site/xdoc/index.xml (not xdocs), it works for me.
 
 HTH,
 -Lukas
 
 
 Dimuthu Leelarathne wrote:
  Hi All,
  
  I am trying to build the website for a project. I managed to attach
  userguide.html and other documentation to the site successfully.
  
  The problem occurred when I am trying to generate a custom index.html
  
  I introduced an index.xml file into src/site/xdocs/index.xml. Then i
  typed 
  
  $mvn clean site:site
  
  But the default index.html has not changed.
  
  I am using maven 2.0.6.
  
  Am I missing something here?
  
  I really appreciate any help on the issue.
  
  Thank you,
  Dimuthu 
  
  
  
  
  -
  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]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Maven2] Building Website using Maven

2007-07-13 Thread Lukas Theussl

Try src/site/xdoc/index.xml (not xdocs), it works for me.

HTH,
-Lukas


Dimuthu Leelarathne wrote:

Hi All,

I am trying to build the website for a project. I managed to attach
userguide.html and other documentation to the site successfully.

The problem occurred when I am trying to generate a custom index.html

I introduced an index.xml file into src/site/xdocs/index.xml. Then i
typed 


$mvn clean site:site

But the default index.html has not changed.

I am using maven 2.0.6.

Am I missing something here?

I really appreciate any help on the issue.

Thank you,
Dimuthu 





-
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]



Re: [Maven2] Building Website using Maven

2007-07-13 Thread Dimuthu Leelarathne
Thank you very much. src/site/apt/index.apt works!

But I am wondering why the src/site/xdocs/index.html doesn't work.


Regards,
Dimuthu

On Fri, 2007-07-13 at 09:06 +0100, Patrick Kimber wrote:
 Hi
 
 I create a custom index.html by editing this file:
 src/site/apt/index.apt
 
 This file is in apt format:
 http://maven.apache.org/guides/mini/guide-apt-format.html
 
 Patrick
 
 On 13/07/07, Dimuthu Leelarathne [EMAIL PROTECTED] wrote:
  Hi All,
 
  I am trying to build the website for a project. I managed to attach
  userguide.html and other documentation to the site successfully.
 
  The problem occurred when I am trying to generate a custom index.html
 
  I introduced an index.xml file into src/site/xdocs/index.xml. Then i
  typed
 
  $mvn clean site:site
 
  But the default index.html has not changed.
 
  I am using maven 2.0.6.
 
  Am I missing something here?
 
  I really appreciate any help on the issue.
 
  Thank you,
  Dimuthu
 
 
 
 
  -
  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]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]