1
1
[#--
2
- Copyright (C) 2020 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
2
+ Copyright (C) 2020 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>)
3
3
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
7
8
- https://www.apache.org/licenses/LICENSE-2.0
8
+ https://www.apache.org/licenses/LICENSE-2.0
9
9
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
15
16
- SPDX-License-Identifier: Apache-2.0
17
- License-Filename: LICENSE
16
+ SPDX-License-Identifier: Apache-2.0
17
+ License-Filename: LICENSE
18
18
--]
19
19
20
20
[#--
21
- The AsciiDoc file generated by this template consists of the following sections:
21
+ The AsciiDoc file generated by this template consists of the following sections:
22
22
23
- * The licenses and associated copyrights for all projects merged into a single list.
24
- * The archived license files, licenses and associated copyrights for dependencies listed by package.
25
- * An Appendix of license texts of all above licenses
23
+ * The licenses and associated copyrights for all projects merged into a single list.
24
+ * The archived license files, licenses and associated copyrights for dependencies listed by package.
25
+ * An Appendix of license texts of all above licenses
26
26
27
- Excluded projects and packages are ignored.
27
+ Excluded projects and packages are ignored.
28
28
--]
29
29
30
30
[#assign ModelExtensions = statics['org.ossreviewtoolkit.model.utils.ExtensionsKt' ]]
@@ -38,8 +38,8 @@ Excluded projects and packages are ignored.
38
38
THIS DOCUMENT SHOULD NOT BE DISTRIBUTED UNTIL THESE PROBLEMS ARE RESOLVED."?replace("\n", " ")]
39
39
40
40
[#--
41
- The alert role needs to be defined in the pdf-theme file, where the color can be customized.
42
- If not present, the text is displayed normally.
41
+ The alert role needs to be defined in the pdf-theme file, where the color can be customized.
42
+ If not present, the text is displayed normally.
43
43
--]
44
44
= [#if helper.hasUnresolvedIssues() || helper.hasUnresolvedRuleViolations() ][.alert]#${errorTitle} #[#else ] Disclosure Document[/#if ]
45
45
:author-name: OSS Review Toolkit
@@ -54,8 +54,10 @@ The applicable license information is listed below:
54
54
55
55
<<<
56
56
57
- [#-- Merge the licenses and copyrights of all projects into a single list. The default LicenseView.ALL is used because--]
58
- [#-- projects cannot have a concluded license (compare with the handling of packages below). --]
57
+ [#--
58
+ Merge the licenses and copyrights of all projects into a single list. The default LicenseView.ALL is used because
59
+ projects cannot have a concluded license (compare with the handling of packages below).
60
+ --]
59
61
60
62
[#assign mergedLicenses = helper.mergeLicenses(projects) ]
61
63
== Project Licenses
@@ -102,9 +104,9 @@ License File: <<${ModelExtensions.toPurl(package.id)} ${licenseFile.path}, ${lic
102
104
103
105
[/#list ]
104
106
[#--
105
- Filter the licenses of the package using LicenseView.CONCLUDED_OR_DECLARED_AND_DETECTED. This is the default view which
106
- ignores declared and detected licenses if a license conclusion for the package was made. If copyrights were detected
107
- for a concluded license those statements are kept.
107
+ Filter the licenses of the package using LicenseView.CONCLUDED_OR_DECLARED_AND_DETECTED. This is the default view
108
+ which ignores declared and detected licenses if a license conclusion for the package was made. If copyrights were
109
+ detected for a concluded license those statements are kept.
108
110
--]
109
111
[#assign
110
112
resolvedLicenses = package.licensesNotInLicenseFiles(
@@ -136,9 +138,7 @@ The following licenses and copyrights were found in the source code of this pack
136
138
[/#if ]
137
139
[/#list ]
138
140
<<<
139
- [#--
140
- Append the text of all licenses that have been listed in the above lists for licenses and coppyrights
141
- --]
141
+ [#-- Append the text of all licenses that have been listed in the above lists for licenses and copyrights. --]
142
142
[appendix]
143
143
== License Texts
144
144
0 commit comments