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:
> 
> <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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to