Re: Cactus RAT report - where to add plugin in pom.xml?

Dennis Lundberg <[email protected]>
Newsgroups gmane.comp.jakarta.general
Message-ID <[email protected]>
sebb wrote:
> On 02/04/2008, Dennis Lundberg <[email protected]> wrote:
>> sebb wrote:
>>  > The RAT report does not seem to be found if I run
>>  >
>>  > mvn rat:check
>>  >
>>  > This seems to be because its plugin is under <pluginManagement> rather
>>  > than under <build>, as it works when I moved it there.
>>  >
>>  > But I don't know much about Maven, so maybe it needs to be in both?
>>  > If so, does the config need to be in both?
>>  >
>>  > Can anyone advise?
>>
>>
>> http://mojo.codehaus.org/rat-maven-plugin/usage.html
>>
> 
> Thanks, already done.
> 
> Does the plugin also need to be mentioned in dependencyManagement?

No, dependencyManagement is a place where you can define which versions 
you want to use for a bunch of dependencies, without actually decalring 
them as dependencies. It works something like this:

"if this pom or any child pom want to use dependency A, make sure that 
they all use version X"

> BTW, why is it rat-maven-plugin and not maven-rat-plugin like most of
> the others seem to be? [The only other one I've seen with
> maven-middle-position is jdepend]

All the plugins at the mojo project [1] at Codehaus use this naming 
convention to distinguish them from the official Maven plugins provided 
by the ASF. rat-maven-plugin is a Codehaus plugin but maven-site-plugin 
is an ASF plugin.

[1] http://mojo.codehaus.org/

>>  > Once it's in the correct place(s), there are some exceptions that need
>>  > to be added, e.g. MANIFEST.MF. I can add those.
>>  >
>>
>>
>>
>> --
>>
>> Dennis Lundberg


-- 
Dennis Lundberg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.