Hello,
The best could be moving your custom renderer to a separate artifact
(as it you will able to share/use it in other projects).
And add this new artifact in the dependencies section of the plugin.
Just an idea (not tested :-) )

2011/12/6 marceloverdijk <[email protected]>:
> I'm trying to use a custom rendered with the PMD plugin like:
>
> <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-pmd-plugin</artifactId>
>    <version>2.6</version>
>    <configuration>
>        <format>my.company.MyRenderer</format>
>    </configuration>
> </plugin>
>
> The my.company.MyRenderer is part of the project's sources.
>
> When I run mvn pmd:pmd I get a ClassNotFoundException.
>
> I wonder what the problem is.
>
>
> What I'm trying to accomplish is to have the custom renderer store the
> results in a database.
>
>
> Cheers,
> Marcel
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Custom-formatter-with-PMD-plugin-not-working-tp5051361p5051361.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to