Ahah! Thanks Willie, good catch. However, I've just had a look at the
jdepend plugin and I can't see any antlr jar there.

I've also also run "maven maven-jdepend-plugin:report" and it is not
added to maven.dependency.classpath so I believe it might not be the
jdepend plugin which is at fault.

Are you using the latest CVS version of Maven?

Thanks
-Vincent

> -----Original Message-----
> From: Willie Vu [mailto:[EMAIL PROTECTED]
> Sent: 06 June 2003 06:59
> To: 'Maven Users List'
> Subject: RE: Problem with bew Checkstyle plugin
> 
> I found out that the maven-jdepend-plugin:report goal adds antlrall-
> 2.7.1.jar to
> the classpath:
> 
> maven-jdepend-plugin:report:
> [DEBUG] Adding reference: maven.dependency.classpath ->
> E:\java\maven\repository\ant\jars\ant-
> 1.5.1.jar;E:\java\maven\repository\commons
> -jelly\jars\commons-jelly-tags-antlr-
> 20030211.143720.jar;E:\java\maven\repositor
> y\commons-lang\jars\commons-lang-1.0-
> b1.1.jar;E:\java\maven\repository\antlr\jar
> s\antlrall-2.7.1.jar
> 
> Note that I put maven-jdepend-plugin before maven-checkstyle-plugin in
> project.xml.
> 
> <reports>
>   <report>maven-faq-plugin</report>
>   <report>maven-jdepend-plugin</report>
>   <report>maven-checkstyle-plugin</report>
>   ...
> </reports>
> 
> So, this is the reason why checkstyle report is screwed up when "maven
> site" is
> executed.  When I move <report>maven-checkstyle-plugin</report> before
> <report>maven-jdepend-plugin</report>, it works fine.
> 
> --
> Willie Vu
> 
> 
> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, June 05, 2003 1:43
> > To: 'Maven Users List'
> > Subject: RE: Problem with bew Checkstyle plugin
> >
> >
> > The reason is that you must have Antlr 2.7.1 in your
> > CLASSPATH somewhere. Make sure also you clean your plugin
> > directory to remove the old version of the checkstyle plugin.
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Willie Vu [mailto:[EMAIL PROTECTED]
> > > Sent: 05 June 2003 06:17
> > > To: [EMAIL PROTECTED]
> > > Subject: Problem with bew Checkstyle plugin
> > >
> > > Checkstyle plugin causes the following error if "maven site" is
run.
> > >
> > >  Got an exception - java.lang.NoSuchFieldError:
> > tokenTypeToASTClassMap
> > > (Line 0)
> > >
> > > When using "maven checkstyle", the report is fine.
> > >
> > > Any clue?
> > >
> > > --
> > > Willie Vu
> > >
> > >
> > >
> >
---------------------------------------------------------------------
> > > 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]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> 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