[
https://issues.apache.org/jira/browse/KARAF-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067422#comment-14067422
]
Ehsan Zaery Moghaddam commented on KARAF-3129:
----------------------------------------------
I don't have such issue in my Ubuntu. It just happens in my Windows 7 (32-bit)
PC.
Seems the rat plugin's [BinaryGusser |
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.rat/apache-rat-core/0.8/org/apache/rat/document/impl/guesser/BinaryGuesser.java?av=f#line-91]
class tries to parse the first few bytes to check whether it's a binary or
not. Its results depends on environment (OS/VM/Java) and may lead to some false
negatives results. I think having *.key patterns in rat plugin's exclude list
is safer.
> RAT plugin error on ssh key files
> ---------------------------------
>
> Key: KARAF-3129
> URL: https://issues.apache.org/jira/browse/KARAF-3129
> Project: Karaf
> Issue Type: Bug
> Reporter: Ehsan Zaery Moghaddam
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 4.0.0, 3.0.2, 2.3.6
>
> Attachments: 2.3.x.Fix_RAT_plugin_error_on_ssh_key_files.patch,
> 3.0.x.Fix_RAT_plugin_error_on_ssh_key_files.patch,
> 4.0.0.Fix_RAT_plugin_error_on_ssh_key_files.patch
>
>
> Building project using RAT profile fails because it tries to check SSH key
> files
--
This message was sent by Atlassian JIRA
(v6.2#6252)