Repository: incubator-freemarker-site Updated Branches: refs/heads/master d72f57e27 -> ba470cbe7
Adjusted Rat policy Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/commit/ba470cbe Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/tree/ba470cbe Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/diff/ba470cbe Branch: refs/heads/master Commit: ba470cbe7f2fa4c1f7b30183ea52dcbf96e082aa Parents: d72f57e Author: ddekany <ddek...@apache.org> Authored: Fri Feb 9 14:38:40 2018 +0100 Committer: ddekany <ddek...@apache.org> Committed: Fri Feb 9 14:38:40 2018 +0100 ---------------------------------------------------------------------- src/main/docgen/book.xml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/ba470cbe/src/main/docgen/book.xml ---------------------------------------------------------------------- diff --git a/src/main/docgen/book.xml b/src/main/docgen/book.xml index 1de47c5..7dc7927 100644 --- a/src/main/docgen/book.xml +++ b/src/main/docgen/book.xml @@ -1634,16 +1634,19 @@ two freemarker.jar-s and unpredictable behavior! <listitem> <para><literal>ant rat</literal>, check output. There can't be any binaries, archives, and especially not unknown or unapproved - licenses. Skip to the next point if there were none! Otherwise, - first you have to describe them in the related + licenses in the reports. Skip to the next point if there were + none! Otherwise, check if the problematic files are fine legally. + If they weren't produced in this project, add them to the related <literal>LICENSE</literal> files (there are several of them, depending on if it's for the source, the binary distribution, the - Maven jar artifact, or the Maven javadoc artifact), and then you - have to add them to the related <literal>rat-excludes</literal> - file (there's one in the project root for the source release, and + Maven jar artifact, or the Maven javadoc artifact). You also have + to add them to the related <literal>rat-excludes</literal> file + (there's one in the project root for the source release, and another in <literal>src/dist/bin</literal> for the binary release) - so that the files won't be reported next time. Finally restart the - process from rebuilding the distribution.</para> + so that the files won't be reported next time. Note that + <literal>rat-exludes</literal> should contain a comment that + clarifies the origin of the files. Finally restart the process + from rebuilding the distribution.</para> </listitem> <listitem>