On 2009-10-01, Stefan Bodewig <[email protected]> wrote:
> On 2009-10-01, Brian Fox <[email protected]> wrote:
>> Interesting, I built the site about 50 times in the process and never
>> saw that. Try clearing your local repo?
> No difference. I'll try a more recent Maven later today.
downloaded mvn 2.1.0, removed ~/.m2, used a fresh checkout of rat's
trunk
% mvn install
% mvn site:site
fails with ...
[INFO] ------------------------------------------------------------------------
[INFO] Building RAT Maven Plugin
[INFO] ------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 6 mojo descriptors.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error extracting plugin descriptor: 'Goal: check already exists in the
plugin descriptor for prefix: apache-rat
Existing implementation is: org.apache.rat.mp.RatCheckMojo
Conflicting implementation is: org.apache.rat.mp.RatCheckMojo'
And the bottom of the stacktrace (if it is of any help):
Caused by: org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException:
Goal: check already exists in the plugin descriptor for prefix: apache-rat
Existing implementation is: org.apache.rat.mp.RatCheckMojo
Conflicting implementation is: org.apache.rat.mp.RatCheckMojo
at
org.apache.maven.plugin.descriptor.PluginDescriptor.addMojo(PluginDescriptor.java:106)
at
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:110)
at
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:146)
... 22 more
Stefan