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]