You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "javadevdave@googlemail.com" <ja...@googlemail.com> on 2009/07/15 15:42:45 UTC

[MAVEN - PMD]

Hello!

Does anybody know which PMD Version is included in the actual Maven-PMD plugin ?
I cant find it on the website..

thanks...

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


Re: [MAVEN - PMD]

Posted by Arnaud HERITIER <ah...@gmail.com>.
yes and there is no patch :-(

On Thu, Jul 16, 2009 at 1:48 PM, javadevdave@googlemail.com <
javadevdave@googlemail.com> wrote:

> it's a bug for one year now... :-(
>
> http://jira.codehaus.org/browse/MPMD-84
>
>
> 2009/7/16 Arnaud HERITIER <ah...@gmail.com>:
> > It's possible. I don't know.
> > Cheers,
> >
> > Arnaud
> >
> > # Arnaud Héritier
> > # Software Factory Manager
> > # eXo Platform
> > # http://www.exoplatform.com
> > # http://blog.aheritier.net
> >
> >
> > On Thu, Jul 16, 2009 at 12:40 PM, javadevdave@googlemail.com <
> > javadevdave@googlemail.com> wrote:
> >
> >> he, thanks, again for the answer.. but ...
> >>
> >> ...my real problem is, that the behavior of the maven plugin using
> >> dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
> >> applied from console!
> >> Im have my own ruleset configuration with an exlude pattern. This
> >> exclude-pattern is correctly used from pmd, but ignored when I start
> >> from maven-pmd-plugin...
> >>
> >> Is this a bug?
> >>
> >> thanks
> >>
> >> 2009/7/16 Arnaud HERITIER <ah...@gmail.com>:
> >> > The issue is already opened :
> >> http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
> >> > is used because maven < 2.2.0 has to be compatible with Java 1.4
> >> > In the meantime you can try to upgrade locally the pmd version used in
> >> the
> >> > plugin with :
> >> >
> >> >
> >> >  <build>
> >> >    <plugins>
> >> >      <plugin>
> >> >        <groupId>org.apache.maven.plugins</groupId>
> >> >        <artifactId>maven-pmd-plugin</artifactId>
> >> >        <version>2.3</version>
> >> >
> >> >        <dependencies>
> >> >
> >> >          <dependency>
> >> >              <groupId>pmd</groupId>
> >> >              <artifactId>pmd-jdk14</artifactId>
> >> >              <version>4.2.5</version>
> >> >          </dependency>
> >> >
> >> >        </dependencies>
> >> >      </plugin>
> >> >    </plugins>
> >> >  </build>
> >> >
> >> >
> >> > Cheers,
> >> >
> >> > Arnaud
> >> >
> >> > # Arnaud Héritier
> >> > # Software Factory Manager
> >> > # eXo Platform
> >> > # http://www.exoplatform.com
> >> > # http://blog.aheritier.net
> >> >
> >> >
> >> > On Thu, Jul 16, 2009 at 8:02 AM, javadevdave@googlemail.com <
> >> > javadevdave@googlemail.com> wrote:
> >> >
> >> >> Hi!
> >> >>
> >> >> thanks for that answer... but why does it use pmd-jdk14 and not the
> >> >> pmd-4.2.2.jar ?
> >> >> (i looked for this jar as dependency and so i couldnt find the
> >> version...)
> >> >>
> >> >> Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
> >> >> ruleset- exclude patterns doesnt work with the actual plugin... but
> >> >> with pm 4.2.5 )
> >> >>
> >> >> Or is there another way, to say to the plugin to use pmd version
> 4.2.5?
> >> >>
> >> >> thanks
> >> >>
> >> >>
> >> >> 2009/7/15 Arnaud HERITIER <ah...@gmail.com>:
> >> >> > PMD 4.2.2
> >> >> http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
> >> >> >
> >> >> > Cheers,
> >> >> >
> >> >> > Arnaud
> >> >> >
> >> >> > # Arnaud Héritier
> >> >> > # Software Factory Manager
> >> >> > # eXo Platform
> >> >> > # http://www.exoplatform.com
> >> >> > # http://blog.aheritier.net
> >> >> >
> >> >> >
> >> >> > On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
> >> >> > javadevdave@googlemail.com> wrote:
> >> >> >
> >> >> >> Hello!
> >> >> >>
> >> >> >> Does anybody know which PMD Version is included in the actual
> >> Maven-PMD
> >> >> >> plugin ?
> >> >> >> I cant find it on the website..
> >> >> >>
> >> >> >> thanks...
> >> >> >>
> >> >> >>
> ---------------------------------------------------------------------
> >> >> >> 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: [MAVEN - PMD]

Posted by "javadevdave@googlemail.com" <ja...@googlemail.com>.
it's a bug for one year now... :-(

http://jira.codehaus.org/browse/MPMD-84


2009/7/16 Arnaud HERITIER <ah...@gmail.com>:
> It's possible. I don't know.
> Cheers,
>
> Arnaud
>
> # Arnaud Héritier
> # Software Factory Manager
> # eXo Platform
> # http://www.exoplatform.com
> # http://blog.aheritier.net
>
>
> On Thu, Jul 16, 2009 at 12:40 PM, javadevdave@googlemail.com <
> javadevdave@googlemail.com> wrote:
>
>> he, thanks, again for the answer.. but ...
>>
>> ...my real problem is, that the behavior of the maven plugin using
>> dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
>> applied from console!
>> Im have my own ruleset configuration with an exlude pattern. This
>> exclude-pattern is correctly used from pmd, but ignored when I start
>> from maven-pmd-plugin...
>>
>> Is this a bug?
>>
>> thanks
>>
>> 2009/7/16 Arnaud HERITIER <ah...@gmail.com>:
>> > The issue is already opened :
>> http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
>> > is used because maven < 2.2.0 has to be compatible with Java 1.4
>> > In the meantime you can try to upgrade locally the pmd version used in
>> the
>> > plugin with :
>> >
>> >
>> >  <build>
>> >    <plugins>
>> >      <plugin>
>> >        <groupId>org.apache.maven.plugins</groupId>
>> >        <artifactId>maven-pmd-plugin</artifactId>
>> >        <version>2.3</version>
>> >
>> >        <dependencies>
>> >
>> >          <dependency>
>> >              <groupId>pmd</groupId>
>> >              <artifactId>pmd-jdk14</artifactId>
>> >              <version>4.2.5</version>
>> >          </dependency>
>> >
>> >        </dependencies>
>> >      </plugin>
>> >    </plugins>
>> >  </build>
>> >
>> >
>> > Cheers,
>> >
>> > Arnaud
>> >
>> > # Arnaud Héritier
>> > # Software Factory Manager
>> > # eXo Platform
>> > # http://www.exoplatform.com
>> > # http://blog.aheritier.net
>> >
>> >
>> > On Thu, Jul 16, 2009 at 8:02 AM, javadevdave@googlemail.com <
>> > javadevdave@googlemail.com> wrote:
>> >
>> >> Hi!
>> >>
>> >> thanks for that answer... but why does it use pmd-jdk14 and not the
>> >> pmd-4.2.2.jar ?
>> >> (i looked for this jar as dependency and so i couldnt find the
>> version...)
>> >>
>> >> Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
>> >> ruleset- exclude patterns doesnt work with the actual plugin... but
>> >> with pm 4.2.5 )
>> >>
>> >> Or is there another way, to say to the plugin to use pmd version 4.2.5?
>> >>
>> >> thanks
>> >>
>> >>
>> >> 2009/7/15 Arnaud HERITIER <ah...@gmail.com>:
>> >> > PMD 4.2.2
>> >> http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
>> >> >
>> >> > Cheers,
>> >> >
>> >> > Arnaud
>> >> >
>> >> > # Arnaud Héritier
>> >> > # Software Factory Manager
>> >> > # eXo Platform
>> >> > # http://www.exoplatform.com
>> >> > # http://blog.aheritier.net
>> >> >
>> >> >
>> >> > On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
>> >> > javadevdave@googlemail.com> wrote:
>> >> >
>> >> >> Hello!
>> >> >>
>> >> >> Does anybody know which PMD Version is included in the actual
>> Maven-PMD
>> >> >> plugin ?
>> >> >> I cant find it on the website..
>> >> >>
>> >> >> thanks...
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> 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: [MAVEN - PMD]

Posted by Arnaud HERITIER <ah...@gmail.com>.
It's possible. I don't know.
Cheers,

Arnaud

# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net


On Thu, Jul 16, 2009 at 12:40 PM, javadevdave@googlemail.com <
javadevdave@googlemail.com> wrote:

> he, thanks, again for the answer.. but ...
>
> ...my real problem is, that the behavior of the maven plugin using
> dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
> applied from console!
> Im have my own ruleset configuration with an exlude pattern. This
> exclude-pattern is correctly used from pmd, but ignored when I start
> from maven-pmd-plugin...
>
> Is this a bug?
>
> thanks
>
> 2009/7/16 Arnaud HERITIER <ah...@gmail.com>:
> > The issue is already opened :
> http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
> > is used because maven < 2.2.0 has to be compatible with Java 1.4
> > In the meantime you can try to upgrade locally the pmd version used in
> the
> > plugin with :
> >
> >
> >  <build>
> >    <plugins>
> >      <plugin>
> >        <groupId>org.apache.maven.plugins</groupId>
> >        <artifactId>maven-pmd-plugin</artifactId>
> >        <version>2.3</version>
> >
> >        <dependencies>
> >
> >          <dependency>
> >              <groupId>pmd</groupId>
> >              <artifactId>pmd-jdk14</artifactId>
> >              <version>4.2.5</version>
> >          </dependency>
> >
> >        </dependencies>
> >      </plugin>
> >    </plugins>
> >  </build>
> >
> >
> > Cheers,
> >
> > Arnaud
> >
> > # Arnaud Héritier
> > # Software Factory Manager
> > # eXo Platform
> > # http://www.exoplatform.com
> > # http://blog.aheritier.net
> >
> >
> > On Thu, Jul 16, 2009 at 8:02 AM, javadevdave@googlemail.com <
> > javadevdave@googlemail.com> wrote:
> >
> >> Hi!
> >>
> >> thanks for that answer... but why does it use pmd-jdk14 and not the
> >> pmd-4.2.2.jar ?
> >> (i looked for this jar as dependency and so i couldnt find the
> version...)
> >>
> >> Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
> >> ruleset- exclude patterns doesnt work with the actual plugin... but
> >> with pm 4.2.5 )
> >>
> >> Or is there another way, to say to the plugin to use pmd version 4.2.5?
> >>
> >> thanks
> >>
> >>
> >> 2009/7/15 Arnaud HERITIER <ah...@gmail.com>:
> >> > PMD 4.2.2
> >> http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
> >> >
> >> > Cheers,
> >> >
> >> > Arnaud
> >> >
> >> > # Arnaud Héritier
> >> > # Software Factory Manager
> >> > # eXo Platform
> >> > # http://www.exoplatform.com
> >> > # http://blog.aheritier.net
> >> >
> >> >
> >> > On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
> >> > javadevdave@googlemail.com> wrote:
> >> >
> >> >> Hello!
> >> >>
> >> >> Does anybody know which PMD Version is included in the actual
> Maven-PMD
> >> >> plugin ?
> >> >> I cant find it on the website..
> >> >>
> >> >> thanks...
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> 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: [MAVEN - PMD]

Posted by "javadevdave@googlemail.com" <ja...@googlemail.com>.
he, thanks, again for the answer.. but ...

...my real problem is, that the behavior of the maven plugin using
dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
applied from console!
Im have my own ruleset configuration with an exlude pattern. This
exclude-pattern is correctly used from pmd, but ignored when I start
from maven-pmd-plugin...

Is this a bug?

thanks

2009/7/16 Arnaud HERITIER <ah...@gmail.com>:
> The issue is already opened : http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
> is used because maven < 2.2.0 has to be compatible with Java 1.4
> In the meantime you can try to upgrade locally the pmd version used in the
> plugin with :
>
>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-pmd-plugin</artifactId>
>        <version>2.3</version>
>
>        <dependencies>
>
>          <dependency>
>              <groupId>pmd</groupId>
>              <artifactId>pmd-jdk14</artifactId>
>              <version>4.2.5</version>
>          </dependency>
>
>        </dependencies>
>      </plugin>
>    </plugins>
>  </build>
>
>
> Cheers,
>
> Arnaud
>
> # Arnaud Héritier
> # Software Factory Manager
> # eXo Platform
> # http://www.exoplatform.com
> # http://blog.aheritier.net
>
>
> On Thu, Jul 16, 2009 at 8:02 AM, javadevdave@googlemail.com <
> javadevdave@googlemail.com> wrote:
>
>> Hi!
>>
>> thanks for that answer... but why does it use pmd-jdk14 and not the
>> pmd-4.2.2.jar ?
>> (i looked for this jar as dependency and so i couldnt find the version...)
>>
>> Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
>> ruleset- exclude patterns doesnt work with the actual plugin... but
>> with pm 4.2.5 )
>>
>> Or is there another way, to say to the plugin to use pmd version 4.2.5?
>>
>> thanks
>>
>>
>> 2009/7/15 Arnaud HERITIER <ah...@gmail.com>:
>> > PMD 4.2.2
>> http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
>> >
>> > Cheers,
>> >
>> > Arnaud
>> >
>> > # Arnaud Héritier
>> > # Software Factory Manager
>> > # eXo Platform
>> > # http://www.exoplatform.com
>> > # http://blog.aheritier.net
>> >
>> >
>> > On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
>> > javadevdave@googlemail.com> wrote:
>> >
>> >> Hello!
>> >>
>> >> Does anybody know which PMD Version is included in the actual Maven-PMD
>> >> plugin ?
>> >> I cant find it on the website..
>> >>
>> >> thanks...
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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: [MAVEN - PMD]

Posted by Arnaud HERITIER <ah...@gmail.com>.
The issue is already opened : http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
is used because maven < 2.2.0 has to be compatible with Java 1.4
In the meantime you can try to upgrade locally the pmd version used in the
plugin with :


  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.3</version>

        <dependencies>

          <dependency>
              <groupId>pmd</groupId>
              <artifactId>pmd-jdk14</artifactId>
              <version>4.2.5</version>
          </dependency>

        </dependencies>
      </plugin>
    </plugins>
  </build>


Cheers,

Arnaud

# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net


On Thu, Jul 16, 2009 at 8:02 AM, javadevdave@googlemail.com <
javadevdave@googlemail.com> wrote:

> Hi!
>
> thanks for that answer... but why does it use pmd-jdk14 and not the
> pmd-4.2.2.jar ?
> (i looked for this jar as dependency and so i couldnt find the version...)
>
> Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
> ruleset- exclude patterns doesnt work with the actual plugin... but
> with pm 4.2.5 )
>
> Or is there another way, to say to the plugin to use pmd version 4.2.5?
>
> thanks
>
>
> 2009/7/15 Arnaud HERITIER <ah...@gmail.com>:
> > PMD 4.2.2
> http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
> >
> > Cheers,
> >
> > Arnaud
> >
> > # Arnaud Héritier
> > # Software Factory Manager
> > # eXo Platform
> > # http://www.exoplatform.com
> > # http://blog.aheritier.net
> >
> >
> > On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
> > javadevdave@googlemail.com> wrote:
> >
> >> Hello!
> >>
> >> Does anybody know which PMD Version is included in the actual Maven-PMD
> >> plugin ?
> >> I cant find it on the website..
> >>
> >> thanks...
> >>
> >> ---------------------------------------------------------------------
> >> 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: [MAVEN - PMD]

Posted by "javadevdave@googlemail.com" <ja...@googlemail.com>.
Hi!

thanks for that answer... but why does it use pmd-jdk14 and not the
pmd-4.2.2.jar ?
(i looked for this jar as dependency and so i couldnt find the version...)

Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
ruleset- exclude patterns doesnt work with the actual plugin... but
with pm 4.2.5 )

Or is there another way, to say to the plugin to use pmd version 4.2.5?

thanks


2009/7/15 Arnaud HERITIER <ah...@gmail.com>:
> PMD 4.2.2http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
>
> Cheers,
>
> Arnaud
>
> # Arnaud Héritier
> # Software Factory Manager
> # eXo Platform
> # http://www.exoplatform.com
> # http://blog.aheritier.net
>
>
> On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
> javadevdave@googlemail.com> wrote:
>
>> Hello!
>>
>> Does anybody know which PMD Version is included in the actual Maven-PMD
>> plugin ?
>> I cant find it on the website..
>>
>> thanks...
>>
>> ---------------------------------------------------------------------
>> 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: [MAVEN - PMD]

Posted by Arnaud HERITIER <ah...@gmail.com>.
PMD 4.2.2http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html

Cheers,

Arnaud

# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net


On Wed, Jul 15, 2009 at 3:42 PM, javadevdave@googlemail.com <
javadevdave@googlemail.com> wrote:

> Hello!
>
> Does anybody know which PMD Version is included in the actual Maven-PMD
> plugin ?
> I cant find it on the website..
>
> thanks...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>