Class MatchingStandardLicenses

java.lang.Object
org.spdx.tools.MatchingStandardLicenses

public class MatchingStandardLicenses extends Object
Tool to compare a license text to standard licenses. Lists all standard license ID's that are equivalent using the SPDX Legal team's license matching guidelines (http://spdx.org/spdx-license-list/matching-guidelines)
Exit codes:
  • 0 - the comparison completed (with or without a match)
  • 1 - the comparison failed - e.g. the input file could not be read or the standard licenses could not be compared
  • 2 - the command was invoked incorrectly (missing/invalid arguments)
Author:
Gary O'Neall
  • Method Details

    • main

      public static void main(String[] args)
      Main entry point for the MatchingStandardLicenses tool. Delegates to run(String[]) and terminates the JVM with its exit status.
      Parameters:
      args -