Currently the license importer works via CSV file format. The number of fields must be between 4-6 and in the following order:
Field 1: Managed Resource Id
Field 2: License Name
Field 3: License Reference Type (see list above in background section)
Field 4: License Reference URL (or license text file for SOURCE_LIBRARY)
Field 5: Project Host Type (required for: ARTIFACT_DESCRIPTOR, PROJECT_HOST_SITE) or Custom Disclaimer (optional)
Field 6: Custom Disclaimer (optional)
Notes:
ARTIFACT_DESCRIPTOR
PROJECT_SITE
NUGET_PACKAGE
PYPI_PACKAGE
NODE_PACKAGED_MODULE
BOWER_PACKAGE
RUBY_GEM
SOURCE_LIBRARY
PROJECT_HOST_SITE
DOT_NET
NUGET_PACKAGE_MODULE
CDNJS
OTHER
20569402,MIT,PYPI_PACKAGE,https://github.com/erezsh/plyplus,custom disclaimer
7050084,MIT,RUBY_GEM,https://github.com/yrgoldteeth/bootstrap-will_paginate/blob/master/MIT-LICENSE
17516611,OpenSSL,SOURCE_LIBRARY,LICENSE
123456,GPL 2.0,PROJECT_SITE,https://github.com/yrgoldteeth/bootstrap-will_paginate/blob/master/MIT-LICENSE