Re: [m2] site generation problem

2005-10-08 Thread Brett Porter
The mojo repository is the same as the main one, however this plugin
has not been released.

svn co https://svn.codehaus.org/mojo/trunk

build the plugin from there using:

m2 install -DupdateReleaseInfo=true

and it should be fine.

- Brett

On 10/6/05, farid <[EMAIL PROTECTED]> wrote:
> Vincent Siveton a écrit :
> > Hi Farid,
> >
> > I am not an expert of this plugin.
> >
> > But, instead of the jdepend itself, you should add the jdepend maven plugin:
> > http://mojo.codehaus.org/jdepend-maven-plugin/howto.html
>
>
> Thanx for the info but I tried that and I think that I miss a repository
> here.
> Should I just add a repository in my POM or is there something else that
> I should do ?
> In short what is the URL of the mojo repository ?
>
> I think that I'm close to write a beginner beginner's guide :)
>
> Thanks,
>
> Farid
>
>
>
>
> -
> 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: [m2] site generation problem

2005-10-06 Thread farid

Vincent Siveton a écrit :

Hi Farid,

I am not an expert of this plugin.

But, instead of the jdepend itself, you should add the jdepend maven plugin:
http://mojo.codehaus.org/jdepend-maven-plugin/howto.html



Thanx for the info but I tried that and I think that I miss a repository 
here.
Should I just add a repository in my POM or is there something else that 
I should do ?

In short what is the URL of the mojo repository ?

I think that I'm close to write a beginner beginner's guide :)

Thanks,

Farid




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



RE: [m2] site generation problem

2005-10-06 Thread Vincent Siveton
Hi Farid,

I am not an expert of this plugin.

But, instead of the jdepend itself, you should add the jdepend maven plugin:
http://mojo.codehaus.org/jdepend-maven-plugin/howto.html

Cheers,

Vincent

> -Original Message-
> From: farid [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 06, 2005 7:27 AM
> To: Maven Users List
> Subject: Re: [m2] site generation problem
> 
> Brett Porter a écrit :
> > It should generate the mailing lists and such. The default report
> > registered is only the project info reports though.
> >
> > If you'd like other plugins, you must add them to the list of
> > reporting plugins in your pom.
> 
> Thanks for the Info but I stumbled on an NPE while trying to add the
> jdepend plugin in my POM.
> Basically it went like this:
> 
> 
>
>  
>jdepend
>jdepend
>2.7
>  
>
> 
> 
> But after running "m2 site:site" I fell on this:
> (sorry for the length of the message)
> 
> Any idea ?
> 
> I tried to search for arelevant issue but found none...
> 
> [INFO] Searching repository for plugin with prefix: 'site'.
> [INFO]
> --
> --
> [INFO] Building com.cnc.commandes:commandes:jar:1.0-SNAPSHOT
> [INFO]task-segment: [site:site]
> [INFO]
> --
> --
> ---
> constituent[0]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/commons-cli-1.0.jar
> constituent[1]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/doxia-sink-api-1.0-alpha-4.jar
> constituent[2]: file:/c:/Softs/Outils/maven-2.0-beta-2/lib/jline-0.9.1.jar
> constituent[3]: file:/c:/Softs/Outils/maven-2.0-beta-2/lib/jsch-0.1.21.jar
> constituent[4]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-artifact-2.0-beta-2.jar
> constituent[5]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-artifact-manager-2.0-
> beta-2.jar
> constituent[6]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-core-2.0-beta-2.jar
> constituent[7]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-model-2.0-beta-2.jar
> constituent[8]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-monitor-2.0-beta-2.jar
> constituent[9]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-plugin-api-2.0-beta-2.jar
> constituent[10]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-plugin-descriptor-2.0-
> beta-2.jar
> constituent[11]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-plugin-registry-2.0-beta-
> 2.jar
> constituent[12]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-profile-2.0-beta-2.jar
> constituent[13]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-project-2.0-beta-2.jar
> constituent[14]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-reporting-api-2.0-beta-
> 2.jar
> constituent[15]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-repository-metadata-2.0-
> beta-2.jar
> constituent[16]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-settings-2.0-beta-2.jar
> constituent[17]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/plexus-input-handler-1.0-alpha-
> 2.jar
> constituent[18]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-file-1.0-alpha-4.jar
> constituent[19]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-http-lightweight-1.0-
> alpha-4.jar
> constituent[20]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-provider-api-1.0-alpha-
> 4.jar
> constituent[21]:
> file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-ssh-1.0-alpha-4.jar
> ---
> java.lang.NullPointerException
>   at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManage
> r.java:297)
>   at
> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(Default
> PluginManager.java:187)
>   at
> org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(DefaultPlu
> ginManager.java:480)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLife
> cycleExecutor.java:624)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLife
> cycleExecutor.java:595)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLi
> fecycleExecutor.java:497)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:478)
>   at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLif
> ecycleExecutor.java:460)
>   at
> org.apache.maven.lifecycle.Defaul

Re: [m2] site generation problem

2005-10-06 Thread farid

Brett Porter a écrit :

It should generate the mailing lists and such. The default report
registered is only the project info reports though.

If you'd like other plugins, you must add them to the list of
reporting plugins in your pom.


Thanks for the Info but I stumbled on an NPE while trying to add the 
jdepend plugin in my POM.

Basically it went like this:


  

  jdepend
  jdepend
  2.7

  


But after running "m2 site:site" I fell on this:
(sorry for the length of the message)

Any idea ?

I tried to search for arelevant issue but found none...

[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] 


[INFO] Building com.cnc.commandes:commandes:jar:1.0-SNAPSHOT
[INFO]task-segment: [site:site]
[INFO] 


---
constituent[0]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/commons-cli-1.0.jar
constituent[1]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/doxia-sink-api-1.0-alpha-4.jar

constituent[2]: file:/c:/Softs/Outils/maven-2.0-beta-2/lib/jline-0.9.1.jar
constituent[3]: file:/c:/Softs/Outils/maven-2.0-beta-2/lib/jsch-0.1.21.jar
constituent[4]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-artifact-2.0-beta-2.jar
constituent[5]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-artifact-manager-2.0-beta-2.jar
constituent[6]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-core-2.0-beta-2.jar
constituent[7]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-model-2.0-beta-2.jar
constituent[8]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-monitor-2.0-beta-2.jar
constituent[9]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-plugin-api-2.0-beta-2.jar
constituent[10]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-plugin-descriptor-2.0-beta-2.jar
constituent[11]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-plugin-registry-2.0-beta-2.jar
constituent[12]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-profile-2.0-beta-2.jar
constituent[13]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-project-2.0-beta-2.jar
constituent[14]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-reporting-api-2.0-beta-2.jar
constituent[15]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-repository-metadata-2.0-beta-2.jar
constituent[16]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/maven-settings-2.0-beta-2.jar
constituent[17]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/plexus-input-handler-1.0-alpha-2.jar
constituent[18]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-file-1.0-alpha-4.jar
constituent[19]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-http-lightweight-1.0-alpha-4.jar
constituent[20]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-provider-api-1.0-alpha-4.jar
constituent[21]: 
file:/c:/Softs/Outils/maven-2.0-beta-2/lib/wagon-ssh-1.0-alpha-4.jar

---
java.lang.NullPointerException
	at 
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:297)
	at 
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:187)
	at 
org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(DefaultPluginManager.java:480)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:624)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:595)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:497)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:478)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:460)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
	at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:136)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)




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



Re: [m2] site generation problem

2005-10-06 Thread Brett Porter
It should generate the mailing lists and such. The default report
registered is only the project info reports though.

If you'd like other plugins, you must add them to the list of
reporting plugins in your pom.

- Brett

On 10/6/05, farid <[EMAIL PROTECTED]> wrote:
>
> Hi everybody I'm new on the list and new at m2 as well.
>
> I was just wondering why m2 site:site doesn't generate a complete site
> with code analysis and all the project infos (like mailing list and such...)
>
> Thanks in advance,
>
> Farid
>
>
>
> -
> 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]



[m2] site generation problem

2005-10-06 Thread farid


Hi everybody I'm new on the list and new at m2 as well.

I was just wondering why m2 site:site doesn't generate a complete site 
with code analysis and all the project infos (like mailing list and such...)


Thanks in advance,

Farid



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



Re: RES: m2 site generation problem

2005-07-27 Thread Emmanuel Venisse
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:[EMAIL PROTECTED] 
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 - [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>

Messenger - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
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

RES: m2 site generation problem

2005-07-27 Thread Rodrigo Paes
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:[EMAIL PROTECTED] 
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 - [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>
> Messenger - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 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 :
V

Re: m2 site generation problem

2005-07-27 Thread Emmanuel Venisse

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 - [EMAIL PROTECTED] 


Messenger - [EMAIL PROTECTED] 
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 SUC

m2 site generation problem

2005-07-27 Thread Rodrigo Paes








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 - [EMAIL PROTECTED]
Messenger - [EMAIL PROTECTED]
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] ---