Your jdepend reporting node is simply not a valid JDepend Maven
report. Maven report plugins have a particular structure, method name
etc so that Maven can reach into them to create reports etc.
You need to replace your reporting jdepend plugin section what Boris sent:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-1-SNAPSHOT</version>
</plugin>
Wayne
On 4/26/06, Tom Joad <[EMAIL PROTECTED]> wrote:
> I have the same error by adding reporting snippet like you.
> I get Nullpointer on method
> NullPointerException
>
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
> I think that jdepend declared like this has something which is not
> considered as plugin by maven.So the nullpointer. I found on old
> threads How to download snapshot version of jdepend plugin
> Please look for it at mailing list archive (nabble)
> Silva, Vandermi Joao Da <[EMAIL PROTECTED]> posted message
> and you follow threads. Date 09/02/2006 and 10/02/2006
>
> Tom.
>
>
> 2006/4/26, Gianfranco Oldani <[EMAIL PROTECTED]>:
> > Thanks, then the answer is NO I don't have such dependency
> >
> > Gianfranco OLDANI
> > Mob: +79602726351
> >
> >
> >
> > ----Original Message Follows----
> > From: "Tom Joad" <[EMAIL PROTECTED]>
> > Reply-To: "Maven Users List" <[email protected]>
> > To: "Maven Users List" <[email protected]>
> > Subject: Re: Null pointer when using site goal
> > Date: Wed, 26 Apr 2006 15:24:05 +0200
> >
> > Inside your pom.xml have you dependency with <scope> value system
> > like
> > ...
> > <dependencies>
> > ...
> > <dependency>
> > <groupId>sun.jdk</groupId>
> > <artifactId>tools</artifactId>
> > <version>1.5.0</version>
> > <scope>system</scope>
> > <systemPath>${java.home}/../lib/tools.jar</systemPath>
> > </dependency>
> > ...
> > </dependencies>
> >
> > I had the same problem with this type of dependency.
> >
> > Tom
> >
> > 2006/4/26, Gianfranco Oldani <[EMAIL PROTECTED]>:
> > > Sorry Tom I am rather new to maven, what do you mean by a system scope
> > > dependency ?
> > >
> > > Gianfranco OLDANI
> > > Mob: +79602726351
> > >
> > >
> > >
> > > ----Original Message Follows----
> > > From: "Tom Joad" <[EMAIL PROTECTED]>
> > > Reply-To: "Maven Users List" <[email protected]>
> > > To: "Maven Users List" <[email protected]>
> > > Subject: Re: Null pointer when using site goal
> > > Date: Wed, 26 Apr 2006 15:06:48 +0200
> > >
> > > If you have a system scope dependency you have to upgrade
> > > project-info report plugin to solve
> > > the problem
> > >
> > > Tom.
> > >
> > > 2006/4/26, Gianfranco Oldani <[EMAIL PROTECTED]>:
> > > > Hello,
> > > > I experiment a NullPointer exception when I launch : mvn site
> > > > What I missed?
> > > >
> > > > Here is the content of the <reporting> section of my pom.xml if it can
> > > help.
> > > > If I remove that section the NullPointer exception disapear also and
> > the
> > > > site is generated.
> > > >
> > > > <reporting>
> > > > <outputDirectory>target/site</outputDirectory>
> > > > <plugins>
> > > > <plugin>
> > > > <groupId>jdepend</groupId>
> > > > <artifactId>jdepend</artifactId>
> > > > <version>2.9.1</version>
> > > > </plugin>
> > > > </plugins>
> > > > </reporting>
> > > >
> > > >
> > > > Thnaks for help.
> > > >
> > > >
> > > >
> > > > Gianfranco OLDANI
> > > > Mob: +79602726351
> > > >
> > > > _________________________________________________________________
> > > > Faites de MSN Search votre page d'accueil: Toutes les réponses en un
> > > clic!
> > > > http://search.msn.ch/
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> > >
> > > _________________________________________________________________
> > > Faites apparaître les résultats d'après leur plus grand pertinence pour
> > > vous! http://search.msn.ch/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> > _________________________________________________________________
> > Faites apparaître les résultats d'après leur plus grand pertinence pour
> > vous! http://search.msn.ch/
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>