Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-110

Add a maven configuration option to define a target license in order to mark a project as compliant

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 0.9
    • None
    • None
    • None

    Description

      Currently rat searches for ASLed files. In order to broaden the usage of this tool I'd like to add a new maven configuration option that allows the definition of a target license.
      This license has to exist in RAT and changes the output of the rat report but does not change the default behaviour for backwards compatibility.

      =OLD REPORT=
      *****************************************************
      Summary
      -------
      Notes: 1
      Binaries: 187
      Archives: 0
      Standards: 149

      Apache Licensed: 2
      ....
      *****************************************************
      Files with Apache License headers will be marked AL
      .....

      =NEW REPORT=
      If no configuration option is supplied above report stays the same, but may change for different licenses (e.g. GPL / RAT-13).

      ==MVN CONFIGURATION==
      <configuration>
      <!-- define family value name of target license -->
      <defaultLicenseName>GNU General Public License, version 3</defaultLicenseName>
      .....

      will lead to the output:
      ==FLEXIBLE REPORT==
      *****************************************************
      Summary
      -------
      Notes: 1
      Binaries: 187
      Archives: 0
      Standards: 149

      GPL3 Licensed: 2
      ....
      *****************************************************
      Files with GNU General Public License, version 3 headers will be marked GPL3.
      ...

      Since I do have a patch for RAT-13 this were the next step to realise a multilicense usage of rat.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            claude Claude Warren
            pottlinger Philipp Ottlinger

            Dates

              Created:
              Updated:

              Slack

                Issue deployment