You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Carlos Sanchez <ca...@gmail.com> on 2005/08/06 02:39:18 UTC

Maven PMD Plug-in 1.7 release

The maven team is pleased to announce the Maven PMD Plug-in 1.7 release! 

http://maven.apache.org/reference/plugins/pmd/

The Maven PMD plugin is a plugin that wraps the PMD framework 
(http://pmd.sourceforge.net). PMD is a source checking framework that works by 
scanning Java source code and looks for potential problems like: unused local 
variables, empty catch blocks, unused parameters, empty 'if' statements, etc. 

Changes in this version include:

  New Features:

o Added ability to check test sources. Issue: MPPMD-14. 

  Changes:

o Upgrade to pmd-3.2. Issue: MPPMD-15.  

To automatically install the plugin, type the following on a single line:

maven plugin:download 
  -DgroupId=maven 
  -DartifactId=maven-pmd-plugin
  -Dversion=1.7

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-pmd-plugin-1.7.jar
         

Have fun!
-The maven team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Maven PMD errors

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
If I can, I will, but I have to say I always admire you committers for 
finding the time to do this stuff, shaming my good intentions!

I found and bookmarked the Plugin Matrix.

Thanks
Adam

Brett Porter on 09/08/05 10:20, wrote:
> I developed it, and many of the configuration options are not yet
> implemented. You're welcome to submit a patch! :)
> 
> If you'd like to check the Maven Plugin Matrix (just google that
> string with I'm felling lucky) you can see the progress of a)
> creation, b) getting up to par with m1 and c) documenting the plugins.
> 
> - Brett
> 
> On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> 
>>OK, yes it does get generated for me too. I guess I shouldn't believe
>>every error I read :)
>>
>>I read the config docs for the maven-1 plugin, which gives extensive
>>config options, which is why I was asking for an example for M2 showing
>>how to configure it in the POM. I presume there must be an example
>>somewhere from the person who developed it, but I couldn't find it.
>>
>>Adam
>>
>>Brett Porter on 09/08/05 00:07, wrote:
>>
>>>Does the rpeort get generated correctly? I know we have some tidying
>>>up to do in the velocity portion of the site generation.
>>>
>>>- Brett
>>>
>>>On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
>>>
>>>
>>>>Does anybody else know what I can do to get rid of these PMD errors?
>>>>
>>>>
>>>>
>>>>>>>>I am working with the nightly build of M2 from a few days ago and I'm
>>>>>>>>getting a bunch of errors like this:
>>>>>>>>
>>>>>>>>[INFO] Generate "PMD Report" report.
>>>>>>>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
>>>>>>>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
>>>>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>>>>>[INFO] Generate "Dependencies" report.
>>>>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>>>>>
>>>>
>>>>It goes on for several more errors. My guess is that it's a config
>>>>problem on my part, but I can't find any examples of setting up this
>>>>plugin in the POM, so any example would be very welcome.
>>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Maven PMD errors

Posted by Brett Porter <br...@gmail.com>.
I developed it, and many of the configuration options are not yet
implemented. You're welcome to submit a patch! :)

If you'd like to check the Maven Plugin Matrix (just google that
string with I'm felling lucky) you can see the progress of a)
creation, b) getting up to par with m1 and c) documenting the plugins.

- Brett

On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> OK, yes it does get generated for me too. I guess I shouldn't believe
> every error I read :)
> 
> I read the config docs for the maven-1 plugin, which gives extensive
> config options, which is why I was asking for an example for M2 showing
> how to configure it in the POM. I presume there must be an example
> somewhere from the person who developed it, but I couldn't find it.
> 
> Adam
> 
> Brett Porter on 09/08/05 00:07, wrote:
> > Does the rpeort get generated correctly? I know we have some tidying
> > up to do in the velocity portion of the site generation.
> >
> > - Brett
> >
> > On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> >
> >>Does anybody else know what I can do to get rid of these PMD errors?
> >>
> >>
> >>>>>>I am working with the nightly build of M2 from a few days ago and I'm
> >>>>>>getting a bunch of errors like this:
> >>>>>>
> >>>>>>[INFO] Generate "PMD Report" report.
> >>>>>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
> >>>>>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> >>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
> >>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> >>>>>>[INFO] Generate "Dependencies" report.
> >>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
> >>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> >>>>>>
> >>
> >>It goes on for several more errors. My guess is that it's a config
> >>problem on my part, but I can't find any examples of setting up this
> >>plugin in the POM, so any example would be very welcome.
> >>
> >>
> >>Thanks
> >>Adam
> >>
> >>---------------------------------------------------------------------
> >>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
> >
> >
> 
> 
> ---------------------------------------------------------------------
> 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] Maven PMD errors

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
OK, yes it does get generated for me too. I guess I shouldn't believe 
every error I read :)

I read the config docs for the maven-1 plugin, which gives extensive 
config options, which is why I was asking for an example for M2 showing 
how to configure it in the POM. I presume there must be an example 
somewhere from the person who developed it, but I couldn't find it.

Adam

Brett Porter on 09/08/05 00:07, wrote:
> Does the rpeort get generated correctly? I know we have some tidying
> up to do in the velocity portion of the site generation.
> 
> - Brett
> 
> On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> 
>>Does anybody else know what I can do to get rid of these PMD errors?
>>
>>
>>>>>>I am working with the nightly build of M2 from a few days ago and I'm
>>>>>>getting a bunch of errors like this:
>>>>>>
>>>>>>[INFO] Generate "PMD Report" report.
>>>>>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
>>>>>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
>>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>>>[INFO] Generate "Dependencies" report.
>>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>>>
>>
>>It goes on for several more errors. My guess is that it's a config
>>problem on my part, but I can't find any examples of setting up this
>>plugin in the POM, so any example would be very welcome.
>>
>>
>>Thanks
>>Adam
>>
>>---------------------------------------------------------------------
>>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
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Maven PMD errors

Posted by Edwin Punzalan <ep...@exist.com>.
Mine does... I guess it does require some tidying. :D


Brett Porter wrote:

>Does the rpeort get generated correctly? I know we have some tidying
>up to do in the velocity portion of the site generation.
>
>- Brett
>
>On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
>  
>
>>Does anybody else know what I can do to get rid of these PMD errors?
>>
>>    
>>
>>>>>>I am working with the nightly build of M2 from a few days ago and I'm
>>>>>>getting a bunch of errors like this:
>>>>>>
>>>>>>[INFO] Generate "PMD Report" report.
>>>>>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
>>>>>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
>>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>>>[INFO] Generate "Dependencies" report.
>>>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>>>
>>>>>>            
>>>>>>
>>It goes on for several more errors. My guess is that it's a config
>>problem on my part, but I can't find any examples of setting up this
>>plugin in the POM, so any example would be very welcome.
>>
>>
>>Thanks
>>Adam
>>
>>---------------------------------------------------------------------
>>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
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Maven PMD errors

Posted by Brett Porter <br...@gmail.com>.
Does the rpeort get generated correctly? I know we have some tidying
up to do in the velocity portion of the site generation.

- Brett

On 8/9/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> Does anybody else know what I can do to get rid of these PMD errors?
> 
> >>>>I am working with the nightly build of M2 from a few days ago and I'm
> >>>>getting a bunch of errors like this:
> >>>>
> >>>>[INFO] Generate "PMD Report" report.
> >>>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
> >>>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> >>>>[ERROR] RHS of #set statement is null. Context will not be modified.
> >>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> >>>>[INFO] Generate "Dependencies" report.
> >>>>[ERROR] RHS of #set statement is null. Context will not be modified.
> >>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> >>>>
> 
> It goes on for several more errors. My guess is that it's a config
> problem on my part, but I can't find any examples of setting up this
> plugin in the POM, so any example would be very welcome.
> 
> 
> Thanks
> Adam
> 
> ---------------------------------------------------------------------
> 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] Maven PMD errors

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
Does anybody else know what I can do to get rid of these PMD errors?

>>>>I am working with the nightly build of M2 from a few days ago and I'm
>>>>getting a bunch of errors like this:
>>>>
>>>>[INFO] Generate "PMD Report" report.
>>>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
>>>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>[INFO] Generate "Dependencies" report.
>>>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>>>

It goes on for several more errors. My guess is that it's a config 
problem on my part, but I can't find any examples of setting up this 
plugin in the POM, so any example would be very welcome.


Thanks
Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Maven PMD Plug-in 1.7 release?

Posted by Carlos Sanchez <ca...@gmail.com>.
Sorry, no idea, I've never seen the M2 plugin

On 8/8/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> Do you have any idea what the errors signify?
> 
> They come from the PMD report plugin in the m2 nightly build from a few
> days ago.
> 
> Adam
> 
> Carlos Sanchez on 08/08/05 18:31, wrote:
> > The plugin was only released for maven1.
> >
> > On 8/8/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> >
> >>Hi,
> >>
> >>is there any change in the Maven 2 plugin related to this release?  :)
> >>
> >>I am working with the nightly build of M2 from a few days ago and I'm
> >>getting a bunch of errors like this:
> >>
> >>[INFO] Generate "PMD Report" report.
> >>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
> >>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> >>[ERROR] RHS of #set statement is null. Context will not be modified.
> >>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> >>[INFO] Generate "Dependencies" report.
> >>[ERROR] RHS of #set statement is null. Context will not be modified.
> >>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> >>
> >>I probably need to configure it and won't be surprised if that's the
> >>problem, but I can't locate any docs on setting it up for M2.
> >>
> >>Many thanks
> >>Adam
> >>
> >>Carlos Sanchez on 06/08/05 01:39, wrote:
> >>
> >>>The maven team is pleased to announce the Maven PMD Plug-in 1.7 release!
> >>>
> >>>http://maven.apache.org/reference/plugins/pmd/
> >>>
> >>>The Maven PMD plugin is a plugin that wraps the PMD framework
> >>>(http://pmd.sourceforge.net). PMD is a source checking framework that works by
> >>>scanning Java source code and looks for potential problems like: unused local
> >>>variables, empty catch blocks, unused parameters, empty 'if' statements, etc.
> >>>
> >>>Changes in this version include:
> >>>
> >>>  New Features:
> >>>
> >>>o Added ability to check test sources. Issue: MPPMD-14.
> >>>
> >>>  Changes:
> >>>
> >>>o Upgrade to pmd-3.2. Issue: MPPMD-15.
> >>>
> >>>To automatically install the plugin, type the following on a single line:
> >>>
> >>>maven plugin:download
> >>>  -DgroupId=maven
> >>>  -DartifactId=maven-pmd-plugin
> >>>  -Dversion=1.7
> >>>
> >>>For a manual installation, you can download the plugin here:
> >>>http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-pmd-plugin-1.7.jar
> >>>
> >>>
> >>>Have fun!
> >>>-The maven team
> >>>
> >>>---------------------------------------------------------------------
> >>>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
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Maven PMD Plug-in 1.7 release?

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
Do you have any idea what the errors signify?

They come from the PMD report plugin in the m2 nightly build from a few 
days ago.

Adam

Carlos Sanchez on 08/08/05 18:31, wrote:
> The plugin was only released for maven1.
> 
> On 8/8/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> 
>>Hi,
>>
>>is there any change in the Maven 2 plugin related to this release?  :)
>>
>>I am working with the nightly build of M2 from a few days ago and I'm
>>getting a bunch of errors like this:
>>
>>[INFO] Generate "PMD Report" report.
>>[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
>>[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>[INFO] Generate "Dependencies" report.
>>[ERROR] RHS of #set statement is null. Context will not be modified.
>>org/apache/maven/doxia/maven-site.vm [line 1, column 1]
>>
>>I probably need to configure it and won't be surprised if that's the
>>problem, but I can't locate any docs on setting it up for M2.
>>
>>Many thanks
>>Adam
>>
>>Carlos Sanchez on 06/08/05 01:39, wrote:
>>
>>>The maven team is pleased to announce the Maven PMD Plug-in 1.7 release!
>>>
>>>http://maven.apache.org/reference/plugins/pmd/
>>>
>>>The Maven PMD plugin is a plugin that wraps the PMD framework
>>>(http://pmd.sourceforge.net). PMD is a source checking framework that works by
>>>scanning Java source code and looks for potential problems like: unused local
>>>variables, empty catch blocks, unused parameters, empty 'if' statements, etc.
>>>
>>>Changes in this version include:
>>>
>>>  New Features:
>>>
>>>o Added ability to check test sources. Issue: MPPMD-14.
>>>
>>>  Changes:
>>>
>>>o Upgrade to pmd-3.2. Issue: MPPMD-15.
>>>
>>>To automatically install the plugin, type the following on a single line:
>>>
>>>maven plugin:download
>>>  -DgroupId=maven
>>>  -DartifactId=maven-pmd-plugin
>>>  -Dversion=1.7
>>>
>>>For a manual installation, you can download the plugin here:
>>>http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-pmd-plugin-1.7.jar
>>>
>>>
>>>Have fun!
>>>-The maven team
>>>
>>>---------------------------------------------------------------------
>>>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
>>
>>
> 
> 
> ---------------------------------------------------------------------
> 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] Maven PMD Plug-in 1.7 release?

Posted by Carlos Sanchez <ca...@gmail.com>.
The plugin was only released for maven1.

On 8/8/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> Hi,
> 
> is there any change in the Maven 2 plugin related to this release?  :)
> 
> I am working with the nightly build of M2 from a few days ago and I'm
> getting a bunch of errors like this:
> 
> [INFO] Generate "PMD Report" report.
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [ERROR] RHS of #set statement is null. Context will not be modified.
> org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> [INFO] Generate "Dependencies" report.
> [ERROR] RHS of #set statement is null. Context will not be modified.
> org/apache/maven/doxia/maven-site.vm [line 1, column 1]
> 
> I probably need to configure it and won't be surprised if that's the
> problem, but I can't locate any docs on setting it up for M2.
> 
> Many thanks
> Adam
> 
> Carlos Sanchez on 06/08/05 01:39, wrote:
> > The maven team is pleased to announce the Maven PMD Plug-in 1.7 release!
> >
> > http://maven.apache.org/reference/plugins/pmd/
> >
> > The Maven PMD plugin is a plugin that wraps the PMD framework
> > (http://pmd.sourceforge.net). PMD is a source checking framework that works by
> > scanning Java source code and looks for potential problems like: unused local
> > variables, empty catch blocks, unused parameters, empty 'if' statements, etc.
> >
> > Changes in this version include:
> >
> >   New Features:
> >
> > o Added ability to check test sources. Issue: MPPMD-14.
> >
> >   Changes:
> >
> > o Upgrade to pmd-3.2. Issue: MPPMD-15.
> >
> > To automatically install the plugin, type the following on a single line:
> >
> > maven plugin:download
> >   -DgroupId=maven
> >   -DartifactId=maven-pmd-plugin
> >   -Dversion=1.7
> >
> > For a manual installation, you can download the plugin here:
> > http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-pmd-plugin-1.7.jar
> >
> >
> > Have fun!
> > -The maven team
> >
> > ---------------------------------------------------------------------
> > 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
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[M2] Maven PMD Plug-in 1.7 release?

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
Hi,

is there any change in the Maven 2 plugin related to this release?  :)

I am working with the nightly build of M2 from a few days ago and I'm 
getting a bunch of errors like this:

[INFO] Generate "PMD Report" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[ERROR] RHS of #set statement is null. Context will not be modified. 
org/apache/maven/doxia/maven-site.vm [line 1, column 1]
[INFO] Generate "Dependencies" report.
[ERROR] RHS of #set statement is null. Context will not be modified. 
org/apache/maven/doxia/maven-site.vm [line 1, column 1]

I probably need to configure it and won't be surprised if that's the 
problem, but I can't locate any docs on setting it up for M2.

Many thanks
Adam

Carlos Sanchez on 06/08/05 01:39, wrote:
> The maven team is pleased to announce the Maven PMD Plug-in 1.7 release! 
> 
> http://maven.apache.org/reference/plugins/pmd/
> 
> The Maven PMD plugin is a plugin that wraps the PMD framework 
> (http://pmd.sourceforge.net). PMD is a source checking framework that works by 
> scanning Java source code and looks for potential problems like: unused local 
> variables, empty catch blocks, unused parameters, empty 'if' statements, etc. 
> 
> Changes in this version include:
> 
>   New Features:
> 
> o Added ability to check test sources. Issue: MPPMD-14. 
> 
>   Changes:
> 
> o Upgrade to pmd-3.2. Issue: MPPMD-15.  
> 
> To automatically install the plugin, type the following on a single line:
> 
> maven plugin:download 
>   -DgroupId=maven 
>   -DartifactId=maven-pmd-plugin
>   -Dversion=1.7
> 
> For a manual installation, you can download the plugin here:
> http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-pmd-plugin-1.7.jar
>          
> 
> Have fun!
> -The maven team
> 
> ---------------------------------------------------------------------
> 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