You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Stefan Bodewig <bo...@apache.org> on 2009/09/29 06:31:37 UTC
Problem Building Site
Hi all,
I was looking into RAT-64 but trying to build the site (using
mvn site:site) I face
[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: rat already exists in the plugin descriptor for prefix: apache-rat
Existing implementation is: org.apache.rat.mp.RatReportMojo
Conflicting implementation is: org.apache.rat.mp.RatReportMojo'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Tue Sep 29 06:24:48 CEST 2009
[INFO] Final Memory: 48M/86M
[INFO] ------------------------------------------------------------------------
which isn't anything that I would know how to fix (I don't even
understand what the problem could be).
Stefan
Re: Problem Building Site
Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-10-01, Stefan Bodewig <bo...@apache.org> wrote:
> On 2009-10-01, Brian Fox <br...@infinity.nu> 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
Re: Problem Building Site
Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-10-01, Brian Fox <br...@infinity.nu> 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.
Thanks
Stefan
Re: Problem Building Site
Posted by Brian Fox <br...@infinity.nu>.
Interesting, I built the site about 50 times in the process and never
saw that. Try clearing your local repo?
On Tue, Sep 29, 2009 at 1:03 AM, Stefan Bodewig <bo...@apache.org> wrote:
> On 2009-09-29, Gavin <ga...@16degrees.com.au> wrote:
>
>> I don't think it is related to Brians patch as I get that too without
>> applying anything at all.
>
> Same here, sorry, I should have said so right from the start.
>
> Stefan
>
Re: Problem Building Site
Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-09-29, Gavin <ga...@16degrees.com.au> wrote:
> I don't think it is related to Brians patch as I get that too without
> applying anything at all.
Same here, sorry, I should have said so right from the start.
Stefan
RE: Problem Building Site
Posted by Gavin <ga...@16degrees.com.au>.
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Tuesday, 29 September 2009 5:01 PM
> To: rat-dev@incubator.apache.org
> Subject: Re: Problem Building Site
>
> On 2009-09-29, Stefan Bodewig <bo...@apache.org> wrote:
>
> > On 2009-09-29, Brian Fox <br...@infinity.nu> wrote:
>
> >> On Mon, Sep 28, 2009 at 9:31 PM, Stefan Bodewig <bo...@apache.org>
> wrote:
>
> >>> I was looking into RAT-64 but trying to build the site (using
> >>> mvn site:site) I face
>
> >> Is this with or without the patch I attached to the issue?
>
> > with your patch
>
> to be clear: with your patch for RAT-64 but without the one for RAT-65.
>
> > after running mvn install followed by mvn site:site (using Maven
> > 2.0.10 if that makes any difference).
I don't think it is related to Brians patch as I get that too without
applying anything at all.
Investigating
Gav...
>
> Stefan
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.409 / Virus Database: 270.13.114/2401 - Release Date:
> 09/28/09 17:53:00
Re: Problem Building Site
Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-09-29, Stefan Bodewig <bo...@apache.org> wrote:
> On 2009-09-29, Brian Fox <br...@infinity.nu> wrote:
>> On Mon, Sep 28, 2009 at 9:31 PM, Stefan Bodewig <bo...@apache.org> wrote:
>>> I was looking into RAT-64 but trying to build the site (using
>>> mvn site:site) I face
>> Is this with or without the patch I attached to the issue?
> with your patch
to be clear: with your patch for RAT-64 but without the one for RAT-65.
> after running mvn install followed by mvn site:site (using Maven
> 2.0.10 if that makes any difference).
Stefan
Re: Problem Building Site
Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-09-29, Brian Fox <br...@infinity.nu> wrote:
> On Mon, Sep 28, 2009 at 9:31 PM, Stefan Bodewig <bo...@apache.org> wrote:
>> I was looking into RAT-64 but trying to build the site (using
>> mvn site:site) I face
> Is this with or without the patch I attached to the issue?
with your patch after running mvn install followed by mvn site:site
(using Maven 2.0.10 if that makes any difference).
Stefan
Re: Problem Building Site
Posted by Brian Fox <br...@infinity.nu>.
Is this with or without the patch I attached to the issue?
On Mon, Sep 28, 2009 at 9:31 PM, Stefan Bodewig <bo...@apache.org> wrote:
> Hi all,
>
> I was looking into RAT-64 but trying to build the site (using
> mvn site:site) I face
>
> [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: rat already exists in the plugin descriptor for prefix: apache-rat
> Existing implementation is: org.apache.rat.mp.RatReportMojo
> Conflicting implementation is: org.apache.rat.mp.RatReportMojo'
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 48 seconds
> [INFO] Finished at: Tue Sep 29 06:24:48 CEST 2009
> [INFO] Final Memory: 48M/86M
> [INFO] ------------------------------------------------------------------------
>
> which isn't anything that I would know how to fix (I don't even
> understand what the problem could be).
>
> Stefan
>