Hi,

just found a solution by adding

<licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily"
/>

to the license families.

Best,
 - Fabian

Am Freitag, 28. Oktober 2011 schrieb Fabian Christ :

> Hi,
>
> I'm using the RAT Maven plugin 0.8-SNAPSHOT (r1190218) in the Apache
> Stanbol incubating project.
>
> I have configured some licenses in my pom.xml and added the license
> families. Now with this configuration, files with AL header are recognized
> as AL licensed by RAT but the license is not approved anymore. So
> configuring my own license families seems to remove the acceptance of the AL
> license.
>
> How do I configure RAT to accept AL again? See my configuration at the end
> of this mail.
>
> Best,
>  - Fabian
>
> <configuration>
>   <licenses>
>     <license
> implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
>       <licenseFamilyCategory>PublicDomain</licenseFamilyCategory>
>       <licenseFamilyName>Public Domain License</licenseFamilyName>
>       <notes></notes>
>       <patterns>
>         <pattern>Public Domain.</pattern>
>       </patterns>
>     </license>
>     <license
> implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
>       <licenseFamilyCategory>DualMIT</licenseFamilyCategory>
>       <licenseFamilyName>Dual License</licenseFamilyName>
>       <notes>jQuery uses this.</notes>
>       <patterns>
>         <pattern>Dual licensed under the MIT</pattern>
>       </patterns>
>     </license>
>     <license
> implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
>       <licenseFamilyCategory>MIT</licenseFamilyCategory>
>       <licenseFamilyName>MIT License</licenseFamilyName>
>       <notes>RDFQuery uses this.</notes>
>       <patterns>
>         <pattern>Licensed under the MIT</pattern>
>       </patterns>
>     </license>
>   </licenses>
>   <licenseFamilies>
>     <licenseFamily
> implementation="org.apache.rat.license.SimpleLicenseFamily">
>       <familyName>Public Domain License</familyName>
>     </licenseFamily>
>     <licenseFamily
> implementation="org.apache.rat.license.SimpleLicenseFamily">
>       <familyName>Dual License</familyName>
>     </licenseFamily>
>     <licenseFamily
> implementation="org.apache.rat.license.SimpleLicenseFamily">
>       <familyName>MIT License</familyName>
>     </licenseFamily>
>   </licenseFamilies>
> </configuration>
>
>
>
>
> --
> Fabian
> http://twitter.com/fctwitt
>


-- 
Fabian
http://twitter.com/fctwitt

Reply via email to