maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Custom formatter with PMD plugin not working..
Date Tue, 06 Dec 2011 10:16:00 GMT
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 <marceloverdijk@gmail.com>:
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



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

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


Mime
View raw message