Hi,

I had a problem which I was fighting with for a few hours before figuring
out. I was trying to run the rat plugin manually against my project by
invoking `mvn rat:check`. It was failing to pick up the configuration I was
putting in my pom no matter what I did.

I finally noticed after a while that I was configuring
org.apache.rat:apache-rat-plugin in my pom, but that mvn rat:check was
executing the `rat-maven-plugin` instead. It appears that the codehaus rat
maven plugin (last developed in 2007) is what is resolved by invoking
`rat`, and that running the modern rat plugin requires fully qualifying the
name on the command line. I have two questions.

First, is it possible to set an override in my project's pom to clarify
that when I or another developer execute `mvn rat:check` I mean
org.apache.rat:apache-rat-plugin instead of
org.codehaus.mojo:rat-maven-plugin?

Second, is it possible to fix this on a more global scale so that other
folks don't run into the same problem in the future?

Best,

Jason

Reply via email to