You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Fabian Christ <ch...@googlemail.com> on 2011/10/28 11:32:03 UTC
AL licensed files not approved anymore when configuring my own licenses
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
Re: AL licensed files not approved anymore when configuring my own licenses
Posted by Fabian Christ <ch...@googlemail.com>.
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