[ 
https://issues.apache.org/jira/browse/RAT-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164251#comment-13164251
 ] 

Stefan Bodewig commented on RAT-49:
-----------------------------------

OK, I tried it on SLF4J and RAT failed.  The reason is the simplistic natire of 
SimplePatternBasedLicense that
matches a single line against a given string which is not good enough in this 
case.  Sure we could try to pick out
a single line like "Permission is hereby granted, free of charge, to any person 
obtaining " but what if people break
up the license differently.

I think for MIT (and likely the GPL, at least if we want to distinguish between 
the different versions) something more
involved like the OASIS case is needed.  I'll look into generalizing the OASIS 
version.
                
> Recognise MIT LIcense
> ---------------------
>
>                 Key: RAT-49
>                 URL: https://issues.apache.org/jira/browse/RAT-49
>             Project: RAT
>          Issue Type: Improvement
>            Reporter: Robert Burrell Donkin
>         Attachments: RAT49addedMITstuff.txt
>
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to