Skip to content

Tool that generates license data found in the license-list-data repository from the license-list-XML source

License

Notifications You must be signed in to change notification settings

EllaMartinez1981/LicenseListPublisher

 
 

Repository files navigation

Build Status

LicenseListPublisher

This is the source code repository for the tool that generates license data found in the license-list-data repository. The source for the the data is located in the license-list-XML repository.

Code quality badges

| Bugs | Security Rating | Maintainability Rating | Technical Debt |

Getting Starting

The package is available in Maven Central (organization org.spdx, artifact licenseListPublisher).

Contributing

See the file CONTRIBUTING.md for information on making contributions to the LicenseListPublisher.

Syntax

The command line interface of the licenseListPublisher can be used like this:

java -jar licenseListPublisher.jar <function> <parameters> 

Where the following functions and parameters are supported:

LicenseRDFAGenerator licencenseXmlFileOrDir outputDirectory [version] [releasedate] [testfiles] [ignoredwarnings]
   licencenseXmlFileOrDir - a license XML file or a directory of license XML files
   outputDirectory - Directory to store the output from the license generator
   [version] - Version of the SPDX license list
   [releasedate] - Release date of the SPDX license list
   [testfiles] - Directory of original text files to compare the generated licenses against
   [ignoredwarnings] - Either a file name or a comma separated list of warnings to be ignored
TestLicenseXML licenseXmlFile textFile
   licenseXmlFile XML - file to test
   textFile - Text file which should match the the license text for the licenseXmlFile

WARNING

Running the LicenseRDFaGenerator for a single file will overwrite any index.html, licenses.json etc. with the single file results.

License

See the NOTICE file for licensing information including info from 3rd Party Software

See LICENSE file for full license text

SPDX-License-Identifier:	Apache-2.0
PackageLicenseDeclared:		Apache-2.0

Development

Build

You need Apache Maven to build the project:

mvn clean install

About

Tool that generates license data found in the license-list-data repository from the license-list-XML source

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 50.1%
  • CSS 13.4%
  • SCSS 13.1%
  • HTML 9.4%
  • PHP 8.0%
  • JavaScript 5.9%
  • Ruby 0.1%