You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2011/04/09 04:08:36 UTC

Re: Custom license

Hi, Christian,

took more than a few days, but now we finally do support custom
license matchers with rat.

See http://ci.apache.org/projects/rat/apache-rat-plugin/examples/custom-license.html
for details, but in short you must have something like the following
in your POM:

          <licenses>
            <license
implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
              <licenseFamilyCategory>YASL1</licenseFamilyCategory>
              <licenseFamilyName>Yet Another Software License (YASL)
1.0</licenseFamilyName>
              <notes></notes>
              <patterns>
                <pattern>Yet Another Software License, 1.0</pattern>
              </patterns>
            </license>
          </licenses>

A snapshot is deployed to
https://repository.apache.org/content/repositories/snapshots


Jochen