Naming conventions for OSS licenses
Sonatype uses a custom identifier for licenses discovered by Sonatype. This identifier is a combination of tags from the original license text such as the company name, package name, and type of license.
Sonatype license identifiers are of two types:
Short name identifiers, limited to a max length of 50 characters
Long name identifiers, limited to a max length of 200 characters
Short name identifiers
A short name identifier is a concatenated string of a series of tags.
[tag2]-[tag1]-[tag3]-variant-[tag4]
[tag1]: camel case format of the license name
Spaces and periods are replaced by hyphens while insignificant words and special characters are removed
Existing abbreviated text will continue to be used
A prefix [tag2] is added when [tag1] is not unique
Prefix uses abbreviated company/name/author’s name
Abbreviated names use uppercase (capital) letters, eg. Microsoft is
MS
A suffix [tag3] is added when [tag2]-[tag1] is not unique
Uses the name of the component with the license
The term "variant" is added after [tag3] when similar to an existing known license
[tag4] is the release date (RD) in the format:
RDmmddyyyy
.The text "license agreement" is added unless exceeding the max length from above, in which
LA
is used.
Long name identifiers
Long name identifiers are descriptive license names limited to 200 characters. They may include any of these ASCII characters:
alphanumeric, punctuation, parentheses
Long names will not include other characters, lending, or trailing spaces