Class LicenseListPublisher

java.lang.Object
org.spdx.licenselistpublisher.LicenseListPublisher

public class LicenseListPublisher
extends Object
Publishes a new version of the license list. See the createOptions method for a description of the options used, or execute the command without parameters to get a list of the parameters from the command line The license list data is taken from the github repository spdx/license-list-XML, https://github.com/spdx/license-list-XML The first parameter is the release ID for the license list. The license-list-XML tag MUST contain a tag in the master branch matching the the release ID. The 2nd and 3rd parameters are the username and passwords for github. If there are no errors or warnings, the license data is published to the github repository spdx/license-list-data, https://github.com/spdx/license-list-data The output is tagged by release If there is testfiles is passed in as a parameter, text from the test files will be used for the verbatim license or exception text. To override this behavior, set an environment variable USE_SYSTEM_TEST to false
  • Constructor Details

  • Method Details

    • main

      public static void main​(String[] args)
      Parameters:
      args - Single argument - release name for the license list