You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by farid <fa...@free.Fr> on 2005/10/06 11:23:18 UTC

[m2] site generation problem

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] site generation problem

Posted by Brett Porter <br...@gmail.com>.
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 <fa...@free.fr> 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: 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 farid <fa...@free.Fr>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m2] site generation problem

Posted by Vincent Siveton <vi...@gmail.com>.
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:farid@free.Fr]
> 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:
> 
> <reporting>
>    <plugins>
>      <plugin>
>        <groupId>jdepend</groupId>
>        <artifactId>jdepend</artifactId>
>        <version>2.7</version>
>      </plugin>
>    </plugins>
> </reporting>
> 
> 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.DefaultLifecycleExecutor.executeTaskSegments(De
> faultLifecycleExecutor.java:278)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecyc
> leExecutor.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(DelegatingMethodAccessorIm
> pl.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: 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 farid <fa...@free.Fr>.
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:

<reporting>
   <plugins>
     <plugin>
       <groupId>jdepend</groupId>
       <artifactId>jdepend</artifactId>
       <version>2.7</version>
     </plugin>
   </plugins>
</reporting>

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] site generation problem

Posted by Brett Porter <br...@gmail.com>.
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 <fa...@free.fr> 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: 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