You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2015/05/15 15:50:24 UTC

Apache Rat plugin

Hi all,

The Apache Rat plugin is hanging for me on 1.2.x. It's fine on master. The
output just looks like:

[INFO] Exclude: **/deb/control/conffiles
[INFO] Exclude: **/deb/control/control
[INFO] Exclude: **/*.lst
[INFO] 3745 resources included (use -debug for more details)

Java 1.7.0_80 + Maven 3.3.1. Any ideas?

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Apache Rat plugin

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi Francesco,

Yes, explicitly deleting the target directories before running "mvn clean
install" fixes the problem for me.

Thanks,

Colm.

On Sat, May 16, 2015 at 11:43 AM, Francesco Chicchiriccò <
ilgrosso@apache.org> wrote:

> On 2015-05-15 16:26 Colm O hEigeartaigh wrote:
>
>> Ok thanks! Maybe there is something in my build environment that is
>> causing
>> it...
>>
>
> For the sake of for try: please be sure to remove any "target" directory
> before switching from 1_2_X to master and vice-versa.
>
> The idea is that, since "target" directories are not under git control -
> and thus are not removed when switching - and since on master some
> directories exist with same name but different packaging when compared to
> 1_2_X equivalent (think of "core", "client" or "common"), the resulting
> directory content might cause troubles to RAT.
>
> Summarizing:
>
> 1. find . -name "target" -exec rm -rf {} \; (to clean up any messy
> situation)
> 2. git checkout master
> 3. ... (work with mvn)
> 4. mvn clean
> 5. git checkout 1_2_X
> 4. ... (work with mvn)
> 5. mvn clean
>
> and so on.
>
> Could you please try and let me know if this changes anything WRT RAT
> hanging?
>
> Regards.
>
>  On Fri, May 15, 2015 at 3:16 PM, Francesco Chicchiriccò <
>> ilgrosso@apache.org> wrote:
>>
>>  On 15/05/2015 15:50, Colm O hEigeartaigh wrote:
>>>
>>>  Hi all,
>>>>
>>>> The Apache Rat plugin is hanging for me on 1.2.x. It's fine on master.
>>>> The
>>>> output just looks like:
>>>>
>>>> [INFO] Exclude: **/deb/control/conffiles
>>>> [INFO] Exclude: **/deb/control/control
>>>> [INFO] Exclude: **/*.lst
>>>> [INFO] 3745 resources included (use -debug for more details)
>>>>
>>>> Java 1.7.0_80 + Maven 3.3.1. Any ideas?
>>>>
>>>>
>>> Hi,
>>> something similar used to happen occasionally to me as well (not
>>> currently, however): a while ago I found that this was related to
>>> RAT-158 /
>>> DOXIA-526, but if so it should have stopped after upgrading the parent
>>> POM
>>> to 17 (see MPOM-69).
>>>
>>> The only way to workaround I've found was to skip rat checks.
>>>
>>> It seems that neither Jenkins nor Travis is suffering from this trouble,
>>> anyway.
>>>
>>> Regards.
>>>
>> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
> http://people.apache.org/~ilgrosso/
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Apache Rat plugin

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 2015-05-15 16:26 Colm O hEigeartaigh wrote:
> Ok thanks! Maybe there is something in my build environment that is 
> causing
> it...

For the sake of for try: please be sure to remove any "target" directory 
before switching from 1_2_X to master and vice-versa.

The idea is that, since "target" directories are not under git control - 
and thus are not removed when switching - and since on master some 
directories exist with same name but different packaging when compared 
to 1_2_X equivalent (think of "core", "client" or "common"), the 
resulting directory content might cause troubles to RAT.

Summarizing:

1. find . -name "target" -exec rm -rf {} \; (to clean up any messy 
situation)
2. git checkout master
3. ... (work with mvn)
4. mvn clean
5. git checkout 1_2_X
4. ... (work with mvn)
5. mvn clean

and so on.

Could you please try and let me know if this changes anything WRT RAT 
hanging?

Regards.

> On Fri, May 15, 2015 at 3:16 PM, Francesco Chicchiriccò 
> <il...@apache.org> wrote:
> 
>> On 15/05/2015 15:50, Colm O hEigeartaigh wrote:
>> 
>>> Hi all,
>>> 
>>> The Apache Rat plugin is hanging for me on 1.2.x. It's fine on 
>>> master. The
>>> output just looks like:
>>> 
>>> [INFO] Exclude: **/deb/control/conffiles
>>> [INFO] Exclude: **/deb/control/control
>>> [INFO] Exclude: **/*.lst
>>> [INFO] 3745 resources included (use -debug for more details)
>>> 
>>> Java 1.7.0_80 + Maven 3.3.1. Any ideas?
>>> 
>> 
>> Hi,
>> something similar used to happen occasionally to me as well (not
>> currently, however): a while ago I found that this was related to 
>> RAT-158 /
>> DOXIA-526, but if so it should have stopped after upgrading the parent 
>> POM
>> to 17 (see MPOM-69).
>> 
>> The only way to workaround I've found was to skip rat checks.
>> 
>> It seems that neither Jenkins nor Travis is suffering from this 
>> trouble,
>> anyway.
>> 
>> Regards.
-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/

Re: Apache Rat plugin

Posted by Colm O hEigeartaigh <co...@apache.org>.
Ok thanks! Maybe there is something in my build environment that is causing
it...

Colm.

On Fri, May 15, 2015 at 3:16 PM, Francesco Chicchiriccò <ilgrosso@apache.org
> wrote:

> On 15/05/2015 15:50, Colm O hEigeartaigh wrote:
>
>> Hi all,
>>
>> The Apache Rat plugin is hanging for me on 1.2.x. It's fine on master. The
>> output just looks like:
>>
>> [INFO] Exclude: **/deb/control/conffiles
>> [INFO] Exclude: **/deb/control/control
>> [INFO] Exclude: **/*.lst
>> [INFO] 3745 resources included (use -debug for more details)
>>
>> Java 1.7.0_80 + Maven 3.3.1. Any ideas?
>>
>
> Hi,
> something similar used to happen occasionally to me as well (not
> currently, however): a while ago I found that this was related to RAT-158 /
> DOXIA-526, but if so it should have stopped after upgrading the parent POM
> to 17 (see MPOM-69).
>
> The only way to workaround I've found was to skip rat checks.
>
> It seems that neither Jenkins nor Travis is suffering from this trouble,
> anyway.
>
> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
> http://people.apache.org/~ilgrosso/
>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Apache Rat plugin

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 15/05/2015 15:50, Colm O hEigeartaigh wrote:
> Hi all,
>
> The Apache Rat plugin is hanging for me on 1.2.x. It's fine on master. The
> output just looks like:
>
> [INFO] Exclude: **/deb/control/conffiles
> [INFO] Exclude: **/deb/control/control
> [INFO] Exclude: **/*.lst
> [INFO] 3745 resources included (use -debug for more details)
>
> Java 1.7.0_80 + Maven 3.3.1. Any ideas?

Hi,
something similar used to happen occasionally to me as well (not 
currently, however): a while ago I found that this was related to 
RAT-158 / DOXIA-526, but if so it should have stopped after upgrading 
the parent POM to 17 (see MPOM-69).

The only way to workaround I've found was to skip rat checks.

It seems that neither Jenkins nor Travis is suffering from this trouble, 
anyway.

Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/