You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rodrigo Paes <rb...@les.inf.puc-rio.br> on 2005/07/27 20:30:14 UTC

m2 site generation problem

Hi all,

 

I�m having some troubles with site generation. It seams that no documents
are being generated, except images and css. 

 

I have attached to this email 3 files:

- tree.txt contains my project directory structure.

- poms contains the pom.xml files that I�m using

- log.txt contains the output generated when I try to run:  m2 site:site

 

What am I doing wrong?

 

 

 

 

Rodrigo Paes
PHD Student - Computer Science - PUC-Rio -  <ma...@les.inf.puc-rio.br>
rbp@les.inf.puc-rio.br
Messenger -  <ma...@hotmail.com> r0drigopaes@hotmail.com
Web-page:  <http://www.teccomm.les.inf.puc-rio.br/rodrigo/>
http://www.teccomm.les.inf.puc-rio.br/rodrigo/

 

"S� existem duas certezas na vida: a morte e os impostos"

 


Re: RES: m2 site generation problem

Posted by Emmanuel Venisse <em...@venisse.net>.
If you don't define a site descriptor, if you don't have file in apt and 
xdoc directories and if you don't have some reports define in your pom, 
it's normal to don't have a site ;-)

Add some docs in your apt and/or xdocs directories and site wil be 
generated.

Emmanuel

Rodrigo Paes wrote:
> Hi Emmanuel,
> 
> No I don't.
> 
> I've tried put the site.xml file (from maven's page: "creating a site",
> http://maven.apache.org/maven2/site.html) under the src/site folder, but it
> stills not working.
> 
> Rodrigo.
> 
> 
> -----Mensagem original-----
> De: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
> Enviada em: quarta-feira, 27 de julho de 2005 16:49
> Para: Maven Users List
> Assunto: Re: m2 site generation problem
> 
> Do you have a site descriptor and some files in apt and xdoc directories?
> 
> Emmanuel
> 
> 
> Rodrigo Paes wrote:
> 
>>Hi all,
>>
>> 
>>
>>I’m having some troubles with site generation. It seams that no 
>>documents are being generated, except images and css.
>>
>> 
>>
>>I have attached to this email 3 files:
>>
>>- tree.txt contains my project directory structure.
>>
>>- poms contains the pom.xml files that I’m using
>>
>>- log.txt contains the output generated when I try to run:  m2 site:site
>>
>> 
>>
>>What am I doing wrong?
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>Rodrigo Paes
>>PHD Student - Computer Science - PUC-Rio - rbp@les.inf.puc-rio.br 
>><ma...@les.inf.puc-rio.br>
>>Messenger - r0drigopaes@hotmail.com <ma...@hotmail.com>
>>Web-page: http://www.teccomm.les.inf.puc-rio.br/rodrigo/
>>
>> 
>>
>>"Só existem duas certezas na vida: a morte e os impostos"
>>
>> 
>>
>>
>>------------------------------------------------------------------------
>>
>>\Imoveis\.classpath
>>\Imoveis\.project
>>\Imoveis\imoveis-app
>>\Imoveis\imoveis-web
>>\Imoveis\pom.xml
>>\Imoveis\target
>>\Imoveis\imoveis-app\pom.xml
>>\Imoveis\imoveis-app\src
>>\Imoveis\imoveis-app\target
>>\Imoveis\imoveis-app\src\main
>>\Imoveis\imoveis-app\src\site
>>\Imoveis\imoveis-app\src\test
>>\Imoveis\imoveis-app\src\main\java
>>\Imoveis\imoveis-app\src\main\java\com
>>\Imoveis\imoveis-app\src\main\java\com\mycompany
>>\Imoveis\imoveis-app\src\main\java\com\mycompany\app
>>\Imoveis\imoveis-app\src\main\java\com\mycompany\app\MyApp.java
>>\Imoveis\imoveis-app\src\site\apt
>>\Imoveis\imoveis-app\src\site\fml
>>\Imoveis\imoveis-app\src\site\xdoc
>>\Imoveis\imoveis-app\src\test\java
>>\Imoveis\imoveis-app\src\test\java\com
>>\Imoveis\imoveis-app\src\test\java\com\mycompany
>>\Imoveis\imoveis-app\src\test\java\com\mycompany\app
>>\Imoveis\imoveis-app\src\test\java\com\mycompany\app\AppTest.java
>>
>>\Imoveis\imoveis-web\pom.xml
>>\Imoveis\imoveis-web\pom.xml.bak
>>\Imoveis\imoveis-web\src
>>\Imoveis\imoveis-web\target
>>\Imoveis\imoveis-web\src\main
>>\Imoveis\imoveis-web\src\main\resources
>>\Imoveis\imoveis-web\src\main\webapp
>>\Imoveis\imoveis-web\src\main\webapp\index.jsp
>>\Imoveis\imoveis-web\src\main\webapp\WEB-INF
>>\Imoveis\imoveis-web\src\main\webapp\WEB-INF\web.xml
>>
>>
>>------------------------------------------------------------------------
>>
>>C:\dev\eclipse3.0\workspace\Imoveis>m2 site:site
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] Building rodrigopaes:imoveis:pom:1.0-SNAPSHOT
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] maven-site-plugin: resolved to version 2.0-alpha-2 from local
> 
> repository
> 
>>[INFO] Setting property: classpath.resource.loader.class =>
> 
> 'org.codehaus.plexus
> 
>>.velocity.ContextClassLoaderResourceLoader'.
>>[INFO] Setting property: resource.loader => 'classpath'.
>>[INFO] **************************************************************
>>[INFO] Starting Jakarta Velocity v1.4
>>[INFO] RuntimeInstance initializing.
>>[INFO] Default Properties File:
> 
> org\apache\velocity\runtime\defaults\velocity.pr
> 
>>operties
>>[INFO] Default ResourceManager initializing. (class
> 
> org.apache.velocity.runtime.
> 
>>resource.ResourceManagerImpl)
>>[INFO] Resource Loader Instantiated:
> 
> org.codehaus.plexus.velocity.ContextClassLo
> 
>>aderResourceLoader
>>[INFO] ClasspathResourceLoader : initialization starting.
>>[INFO] ClasspathResourceLoader : initialization complete.
>>[INFO] ResourceCache : initialized. (class
> 
> org.apache.velocity.runtime.resource.
> 
>>ResourceCacheImpl)
>>[INFO] Default ResourceManager initialization complete.
>>[INFO] Loaded System Directive:
> 
> org.apache.velocity.runtime.directive.Literal
> 
>>[INFO] Loaded System Directive:
> 
> org.apache.velocity.runtime.directive.Macro
> 
>>[INFO] Loaded System Directive:
> 
> org.apache.velocity.runtime.directive.Parse
> 
>>[INFO] Loaded System Directive:
> 
> org.apache.velocity.runtime.directive.Include
> 
>>[INFO] Loaded System Directive:
> 
> org.apache.velocity.runtime.directive.Foreach
> 
>>[INFO] Created: 20 parsers.
>>[INFO] Velocimacro : initialization starting.
>>[INFO] Velocimacro : adding VMs from VM library template :
> 
> VM_global_library.vm
> 
>>[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> 
> in any
> 
>>resource loader.
>>[INFO] Velocimacro : error using  VM library template VM_global_library.vm
> 
> : org
> 
>>.apache.velocity.exception.ResourceNotFoundException: Unable to find
> 
> resource 'V
> 
>>M_global_library.vm'
>>[INFO] Velocimacro :  VM library template macro registration complete.
>>[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> 
> templates
> 
>>[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> 
> may NOT
> 
>>replace previous VM definitions
>>[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
> 
> glob
> 
>>al in scope if allowed.
>>[INFO] Velocimacro : messages on  : VM system will output logging messages
>>[INFO] Velocimacro : autoload off  : VM system will not automatically
> 
> reload glo
> 
>>bal library macros
>>[INFO] Velocimacro : initialization complete.
>>[INFO] Velocity successfully started.
>>[INFO] [site:site]
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] BUILD SUCCESSFUL
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] Total time: 1 second
>>[INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
>>[INFO] Final Memory: 4M/7M
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] Building Estate Business Module
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] [site:site]
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] BUILD SUCCESSFUL
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] Total time: < 1 second
>>[INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
>>[INFO] Final Memory: 3M/7M
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] Building Estate WEB module
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] imoveis-app: using locally installed snapshot
>>[INFO] [site:site]
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] BUILD SUCCESSFUL
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>[INFO] Total time: < 1 second
>>[INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
>>[INFO] Final Memory: 4M/7M
>>[INFO]
> 
> -------------------------------------------------------------------------
> 
>>---
>>
>>C:\dev\eclipse3.0\workspace\Imoveis>
>>
>>
>>------------------------------------------------------------------------
>>
>>\Imoveis\pom.xml:
>>
>><project>
>>  <modelVersion>4.0.0</modelVersion>
>>  <groupId>rodrigopaes</groupId>
>>  <version>1.0-SNAPSHOT</version>
>>  <artifactId>imoveis</artifactId>
>>  <packaging>pom</packaging>
>>  <modules>
>>    <module>imoveis-app</module>
>>    <module>imoveis-web</module>
>>  </modules>
>></project>
>>
>>
>>==================================================
>>\Imoveis\imoveis-app\pom.xml
>>
>><project>
>>
>>	<parent>
>>		<groupId>rodrigopaes</groupId>
>>		<artifactId>imoveis</artifactId>
>>		<version>1.0-SNAPSHOT</version>
>>	</parent>
>>
>>  <modelVersion>4.0.0</modelVersion>
>>  <groupId>rodrigopaes</groupId>
>>  <artifactId>imoveis-app</artifactId>
>>  <packaging>jar</packaging>
>>  <version>1.0-SNAPSHOT</version>
>>  <name>Estate Business Module</name>
>>  <url>http://maven.apache.org</url>
>>  <dependencies>
>>    <dependency>
>>      <groupId>junit</groupId>
>>      <artifactId>junit</artifactId>
>>      <version>3.8.1</version>
>>      <scope>test</scope>
>>    </dependency>
>>  </dependencies>
>>  
>></project>
>>
>>==================================================
>>\Imoveis\imoveis-web\pom.xml:
>>
>><project>
>>
>>	<parent>
>>		<groupId>rodrigopaes</groupId>
>>		<artifactId>imoveis</artifactId>
>>		<version>1.0-SNAPSHOT</version>
>>	</parent>
>>
>>  <modelVersion>4.0.0</modelVersion>
>>  <groupId>rodrigopaes</groupId>
>>  <artifactId>imoveis-web</artifactId>
>>  <packaging>war</packaging>
>>  <version>1.0-SNAPSHOT</version>
>>  <name>Estate WEB module</name>
>>  <url>http://maven.apache.org</url>
>>  <dependencies>
>>
>>	<dependency>
>>      <groupId>rodrigopaes</groupId>
>>      <artifactId>imoveis-app</artifactId>
>>      <version>1.0-SNAPSHOT</version>
>>    </dependency>
>>
>>    <dependency>
>>      <groupId>junit</groupId>
>>      <artifactId>junit</artifactId>
>>      <version>3.8.1</version>
>>      <scope>test</scope>
>>    </dependency>
>>  </dependencies>
>>  <build>
>>    <finalName>imoveis-web</finalName>
>>  </build>
>></project>
>>
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 


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


RES: m2 site generation problem

Posted by Rodrigo Paes <rb...@les.inf.puc-rio.br>.
Hi Emmanuel,

No I don't.

I've tried put the site.xml file (from maven's page: "creating a site",
http://maven.apache.org/maven2/site.html) under the src/site folder, but it
stills not working.

Rodrigo.


-----Mensagem original-----
De: Emmanuel Venisse [mailto:emmanuel@venisse.net] 
Enviada em: quarta-feira, 27 de julho de 2005 16:49
Para: Maven Users List
Assunto: Re: m2 site generation problem

Do you have a site descriptor and some files in apt and xdoc directories?

Emmanuel


Rodrigo Paes wrote:
> Hi all,
> 
>  
> 
> I’m having some troubles with site generation. It seams that no 
> documents are being generated, except images and css.
> 
>  
> 
> I have attached to this email 3 files:
> 
> - tree.txt contains my project directory structure.
> 
> - poms contains the pom.xml files that I’m using
> 
> - log.txt contains the output generated when I try to run:  m2 site:site
> 
>  
> 
> What am I doing wrong?
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Rodrigo Paes
> PHD Student - Computer Science - PUC-Rio - rbp@les.inf.puc-rio.br 
> <ma...@les.inf.puc-rio.br>
> Messenger - r0drigopaes@hotmail.com <ma...@hotmail.com>
> Web-page: http://www.teccomm.les.inf.puc-rio.br/rodrigo/
> 
>  
> 
> "Só existem duas certezas na vida: a morte e os impostos"
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> \Imoveis\.classpath
> \Imoveis\.project
> \Imoveis\imoveis-app
> \Imoveis\imoveis-web
> \Imoveis\pom.xml
> \Imoveis\target
> \Imoveis\imoveis-app\pom.xml
> \Imoveis\imoveis-app\src
> \Imoveis\imoveis-app\target
> \Imoveis\imoveis-app\src\main
> \Imoveis\imoveis-app\src\site
> \Imoveis\imoveis-app\src\test
> \Imoveis\imoveis-app\src\main\java
> \Imoveis\imoveis-app\src\main\java\com
> \Imoveis\imoveis-app\src\main\java\com\mycompany
> \Imoveis\imoveis-app\src\main\java\com\mycompany\app
> \Imoveis\imoveis-app\src\main\java\com\mycompany\app\MyApp.java
> \Imoveis\imoveis-app\src\site\apt
> \Imoveis\imoveis-app\src\site\fml
> \Imoveis\imoveis-app\src\site\xdoc
> \Imoveis\imoveis-app\src\test\java
> \Imoveis\imoveis-app\src\test\java\com
> \Imoveis\imoveis-app\src\test\java\com\mycompany
> \Imoveis\imoveis-app\src\test\java\com\mycompany\app
> \Imoveis\imoveis-app\src\test\java\com\mycompany\app\AppTest.java
> 
> \Imoveis\imoveis-web\pom.xml
> \Imoveis\imoveis-web\pom.xml.bak
> \Imoveis\imoveis-web\src
> \Imoveis\imoveis-web\target
> \Imoveis\imoveis-web\src\main
> \Imoveis\imoveis-web\src\main\resources
> \Imoveis\imoveis-web\src\main\webapp
> \Imoveis\imoveis-web\src\main\webapp\index.jsp
> \Imoveis\imoveis-web\src\main\webapp\WEB-INF
> \Imoveis\imoveis-web\src\main\webapp\WEB-INF\web.xml
> 
> 
> ------------------------------------------------------------------------
> 
> C:\dev\eclipse3.0\workspace\Imoveis>m2 site:site
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] Building rodrigopaes:imoveis:pom:1.0-SNAPSHOT
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] maven-site-plugin: resolved to version 2.0-alpha-2 from local
repository
> [INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] **************************************************************
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.pr
> operties
> [INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.
> resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLo
> aderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.
> ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any
> resource loader.
> [INFO] Velocimacro : error using  VM library template VM_global_library.vm
: org
> .apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'V
> M_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
> 
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT
> replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
glob
> al in scope if allowed.
> [INFO] Velocimacro : messages on  : VM system will output logging messages
> [INFO] Velocimacro : autoload off  : VM system will not automatically
reload glo
> bal library macros
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [site:site]
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
> [INFO] Final Memory: 4M/7M
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] Building Estate Business Module
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] [site:site]
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
> [INFO] Final Memory: 3M/7M
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] Building Estate WEB module
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] imoveis-app: using locally installed snapshot
> [INFO] [site:site]
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO]
-------------------------------------------------------------------------
> ---
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
> [INFO] Final Memory: 4M/7M
> [INFO]
-------------------------------------------------------------------------
> ---
> 
> C:\dev\eclipse3.0\workspace\Imoveis>
> 
> 
> ------------------------------------------------------------------------
> 
> \Imoveis\pom.xml:
> 
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>rodrigopaes</groupId>
>   <version>1.0-SNAPSHOT</version>
>   <artifactId>imoveis</artifactId>
>   <packaging>pom</packaging>
>   <modules>
>     <module>imoveis-app</module>
>     <module>imoveis-web</module>
>   </modules>
> </project>
> 
> 
> ==================================================
> \Imoveis\imoveis-app\pom.xml
> 
> <project>
> 
> 	<parent>
> 		<groupId>rodrigopaes</groupId>
> 		<artifactId>imoveis</artifactId>
> 		<version>1.0-SNAPSHOT</version>
> 	</parent>
> 
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>rodrigopaes</groupId>
>   <artifactId>imoveis-app</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>Estate Business Module</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>   </dependencies>
>   
> </project>
> 
> ==================================================
> \Imoveis\imoveis-web\pom.xml:
> 
> <project>
> 
> 	<parent>
> 		<groupId>rodrigopaes</groupId>
> 		<artifactId>imoveis</artifactId>
> 		<version>1.0-SNAPSHOT</version>
> 	</parent>
> 
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>rodrigopaes</groupId>
>   <artifactId>imoveis-web</artifactId>
>   <packaging>war</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>Estate WEB module</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
> 
> 	<dependency>
>       <groupId>rodrigopaes</groupId>
>       <artifactId>imoveis-app</artifactId>
>       <version>1.0-SNAPSHOT</version>
>     </dependency>
> 
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>   </dependencies>
>   <build>
>     <finalName>imoveis-web</finalName>
>   </build>
> </project>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


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


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


Re: m2 site generation problem

Posted by Emmanuel Venisse <em...@venisse.net>.
Do you have a site descriptor and some files in apt and xdoc directories?

Emmanuel


Rodrigo Paes wrote:
> Hi all,
> 
>  
> 
> I’m having some troubles with site generation. It seams that no 
> documents are being generated, except images and css.
> 
>  
> 
> I have attached to this email 3 files:
> 
> - tree.txt contains my project directory structure.
> 
> - poms contains the pom.xml files that I’m using
> 
> - log.txt contains the output generated when I try to run:  m2 site:site
> 
>  
> 
> What am I doing wrong?
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Rodrigo Paes
> PHD Student - Computer Science - PUC-Rio - rbp@les.inf.puc-rio.br 
> <ma...@les.inf.puc-rio.br>
> Messenger - r0drigopaes@hotmail.com <ma...@hotmail.com>
> Web-page: http://www.teccomm.les.inf.puc-rio.br/rodrigo/
> 
>  
> 
> "Só existem duas certezas na vida: a morte e os impostos"
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> \Imoveis\.classpath
> \Imoveis\.project
> \Imoveis\imoveis-app
> \Imoveis\imoveis-web
> \Imoveis\pom.xml
> \Imoveis\target
> \Imoveis\imoveis-app\pom.xml
> \Imoveis\imoveis-app\src
> \Imoveis\imoveis-app\target
> \Imoveis\imoveis-app\src\main
> \Imoveis\imoveis-app\src\site
> \Imoveis\imoveis-app\src\test
> \Imoveis\imoveis-app\src\main\java
> \Imoveis\imoveis-app\src\main\java\com
> \Imoveis\imoveis-app\src\main\java\com\mycompany
> \Imoveis\imoveis-app\src\main\java\com\mycompany\app
> \Imoveis\imoveis-app\src\main\java\com\mycompany\app\MyApp.java
> \Imoveis\imoveis-app\src\site\apt
> \Imoveis\imoveis-app\src\site\fml
> \Imoveis\imoveis-app\src\site\xdoc
> \Imoveis\imoveis-app\src\test\java
> \Imoveis\imoveis-app\src\test\java\com
> \Imoveis\imoveis-app\src\test\java\com\mycompany
> \Imoveis\imoveis-app\src\test\java\com\mycompany\app
> \Imoveis\imoveis-app\src\test\java\com\mycompany\app\AppTest.java
> 
> \Imoveis\imoveis-web\pom.xml
> \Imoveis\imoveis-web\pom.xml.bak
> \Imoveis\imoveis-web\src
> \Imoveis\imoveis-web\target
> \Imoveis\imoveis-web\src\main
> \Imoveis\imoveis-web\src\main\resources
> \Imoveis\imoveis-web\src\main\webapp
> \Imoveis\imoveis-web\src\main\webapp\index.jsp
> \Imoveis\imoveis-web\src\main\webapp\WEB-INF
> \Imoveis\imoveis-web\src\main\webapp\WEB-INF\web.xml
> 
> 
> ------------------------------------------------------------------------
> 
> C:\dev\eclipse3.0\workspace\Imoveis>m2 site:site
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building rodrigopaes:imoveis:pom:1.0-SNAPSHOT
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] maven-site-plugin: resolved to version 2.0-alpha-2 from local repository
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] **************************************************************
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.pr
> operties
> [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.
> resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo
> aderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.
> ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any
> resource loader.
> [INFO] Velocimacro : error using  VM library template VM_global_library.vm : org
> .apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'V
> M_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
> 
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT
> replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be  glob
> al in scope if allowed.
> [INFO] Velocimacro : messages on  : VM system will output logging messages
> [INFO] Velocimacro : autoload off  : VM system will not automatically reload glo
> bal library macros
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [site:site]
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
> [INFO] Final Memory: 4M/7M
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building Estate Business Module
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] [site:site]
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
> [INFO] Final Memory: 3M/7M
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building Estate WEB module
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] imoveis-app: using locally installed snapshot
> [INFO] [site:site]
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] BUILD SUCCESSFUL
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Jul 27 15:18:00 BRT 2005
> [INFO] Final Memory: 4M/7M
> [INFO] -------------------------------------------------------------------------
> ---
> 
> C:\dev\eclipse3.0\workspace\Imoveis>
> 
> 
> ------------------------------------------------------------------------
> 
> \Imoveis\pom.xml:
> 
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>rodrigopaes</groupId>
>   <version>1.0-SNAPSHOT</version>
>   <artifactId>imoveis</artifactId>
>   <packaging>pom</packaging>
>   <modules>
>     <module>imoveis-app</module>
>     <module>imoveis-web</module>
>   </modules>
> </project>
> 
> 
> ==================================================
> \Imoveis\imoveis-app\pom.xml
> 
> <project>
> 
> 	<parent>
> 		<groupId>rodrigopaes</groupId>
> 		<artifactId>imoveis</artifactId>
> 		<version>1.0-SNAPSHOT</version>
> 	</parent>
> 
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>rodrigopaes</groupId>
>   <artifactId>imoveis-app</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>Estate Business Module</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>   </dependencies>
>   
> </project>
> 
> ==================================================
> \Imoveis\imoveis-web\pom.xml:
> 
> <project>
> 
> 	<parent>
> 		<groupId>rodrigopaes</groupId>
> 		<artifactId>imoveis</artifactId>
> 		<version>1.0-SNAPSHOT</version>
> 	</parent>
> 
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>rodrigopaes</groupId>
>   <artifactId>imoveis-web</artifactId>
>   <packaging>war</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>Estate WEB module</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
> 
> 	<dependency>
>       <groupId>rodrigopaes</groupId>
>       <artifactId>imoveis-app</artifactId>
>       <version>1.0-SNAPSHOT</version>
>     </dependency>
> 
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>   </dependencies>
>   <build>
>     <finalName>imoveis-web</finalName>
>   </build>
> </project>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


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