Could you tell Sonar to use pmd v2.3 by specifying it in the dependencies of the Sonar plugin itself?
Wayne On 1/19/08, Olivier Dehon <[EMAIL PROTECTED]> wrote: > > On Sat, 2008-01-19 at 20:49 +0100, Dennis Lundberg wrote: > > I think that this missing dependency comes from the PMD tool itself. > > Version 2.3 of maven-pmd-plugin was recently released. Do you get the > > same error using that? > > > > 2.3 works fine (and it defines the dependency on > backport-util-concurrent in its POM). Unfortunately, the Sonar > (sonar.hortis.ch) plugin relies on version 2.2 of the pmd plugin... > > I guess I will have to wait until the tool gets updated to use version > 2.3 of the pmd plugin to get rid of my POM hack. > > > > > > > I tried using version 2.2 of the PMD plugin, only to find that it was > > > failing on a NoClassDefFound error for the backport-util-concurrent JAR. > > > I added the dependency in my local repository's version of the POM to > > > backport-util-concurrent version 3.1, and it seemed to work fine after > > > that. > > Thanks, -Olivier > > > --------------------------------------------------------------------- > 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]