<commit_before><#--
Copyright 2014 iexel

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->


<#--
This file is a freemaker template which is used by the License Maven Plugin to generate the
list of third-party libraries and their licenses. This list is used in the documentation
after some manual enhancement.

Example Usage:
cd <the root directory of the Maven parent project>
mvn license:aggregate-add-third-party -Dlicense.fileTemplate="./license-maven-plugin-template.ftl"

If the license.fileTemplate parameter is omitted, the default template will be used instead.

The output (list of artifacts and their licenses) can be found in target/generated-sources/license/THIRD-PARTY.txt.

Comment out all references to this project's own artifacts in all child POMs before using the plugin
as the plugin cannot handle them for some reason. Excluding these artifacts with plugin parameters
does not work for some reason.
-->

The project uses ${dependencyMap?size} Maven artifacts:

<#list dependencyMap as dependency>
<#assign prjInfo = dependency.getKey()/>
<#assign licenses = dependency.getValue()/>
${printDependencyInfo(prjInfo, licenses)}
</#list>


<#function printDependencyInfo prjInfo, licenses>

	<#assign licenseNames = ""/>
	<#list licenses as l>
		<#assign licenseNames = licenseNames + " (" + l + ")"/>
	</#list>

	<#if prjInfo.name?index_of('Unnamed') &gt; -1>
		<#assign prjName = prjInfo.artifactId/><commit_msg>Comments in the Freemaker template of the License Maven Plugin have been updated.<commit_after><#--
Copyright 2014 iexel

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->


<#--
This file is a Freemaker template which is used by the License Maven Plugin to generate the
list of third-party libraries and their licenses. This list is used in the documentation
after some manual enhancement.

Usage:
cd <the root directory of the Maven parent project>
mvn clean install
mvn license:aggregate-add-third-party -Dlicense.fileTemplate="./license-maven-plugin-template.ftl" -Dlicense.excludedScopes="system,test"

`mvn clean install` is necessary as the plugin gets information on dependencies from the local Maven repository.
There will be an error if project's own artifacts are not installed in the local repository.

If the `license.fileTemplate` parameter is omitted, the default template will be used instead.

The output (list of artifacts and their licenses) can be found in `target/generated-sources/license/THIRD-PARTY.txt`.
-->

The project uses ${dependencyMap?size} Maven artifacts:

<#list dependencyMap as dependency>
<#assign prjInfo = dependency.getKey()/>
<#assign licenses = dependency.getValue()/>
${printDependencyInfo(prjInfo, licenses)}
</#list>


<#function printDependencyInfo prjInfo, licenses>

	<#assign licenseNames = ""/>
	<#list licenses as l>
		<#assign licenseNames = licenseNames + " (" + l + ")"/>
	</#list>

	<#if prjInfo.name?index_of('Unnamed') &gt; -1>
		<#assign prjName = prjInfo.artifactId/>
{'fraction_non_alphanumeric': 0.08572159672466735, 'fraction_numerical': 0.004605936540429887, 'mean_word_length': 4.7825443786982245, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7129201', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1035, 'n_words': 482}