It's so easy to trip on this (I've done it myself!) but the answer is
in what you wrote: the name of the plugin is apache-rat, not rat, so
"mvn apache-rat:check" is the correct command. It fails though and we
are running an older version. I can take care of it right now unless
specifically want to work on it.

Kalle


On Wed, Jan 18, 2012 at 2:57 PM, Les Hazlewood <[email protected]> wrote:
> I'm trying to run:
>
>> mvn rat:check
>
> But when I do this, maven executes what apparently is an older
> org.codehaus.mojo rat-maven-plugin
>
> I had to explicitly execute:
>
>> mvn org.apache.rat:apache-rat-plugin:0.8:check
>
> and then it executed as expected.
>
> Is something wrong with our POM or am I doing something incorrectly?
> The apache rat plugin should execute for us always.  What's up? Any
> pointers would be appreciated.
>
> Thanks!
>
> Les

Reply via email to