[ 
https://issues.apache.org/jira/browse/AVRO-3861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781676#comment-17781676
 ] 

ASF subversion and git services commented on AVRO-3861:
-------------------------------------------------------

Commit 08200a5ad260d5db0edf2991462c481eac0c309b in avro's branch 
refs/heads/branch-1.11 from Kousuke Saruta
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=08200a5ad ]

AVRO-3861: [Build] Add RAT exclusions for python docs (#2572)

(cherry picked from commit 8fda42aa289c590a703fe9529f5d7303e3327d66)


> [Build] Add RAT exclusions for python docs
> ------------------------------------------
>
>                 Key: AVRO-3861
>                 URL: https://issues.apache.org/jira/browse/AVRO-3861
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.12.0, 1.11.3
>            Reporter: Ryan Skraba
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When following the release process and doing a *./build.sh clean test dist* 
> we get the following error:
> {code}
> [INFO] --- apache-rat-plugin:0.15:check (default) @ avro-toplevel ---
> [INFO] Enabled default license matchers.
> [INFO] Will parse SCM ignores for exclusions...
> [INFO] Parsing exclusions from /home/ryan.skraba/avro/.gitignore
> [INFO] Finished adding exclusions from SCM ignore files.
> [INFO] 88 implicit excludes.
> [INFO] 131 explicit excludes.
> [INFO] 5630 resources included
> [INFO] Rat check: Summary over all files. Unapproved: 17, unknown: 17, 
> generated: 0, approved: 1580 licenses.
> [INFO] Enabled default license matchers.
> [INFO] Will parse SCM ignores for exclusions...
> [INFO] Parsing exclusions from /home/ryan.skraba/avro/.gitignore
> [INFO] Finished adding exclusions from SCM ignore files.
> [INFO] 88 implicit excludes.
> [INFO] 131 explicit excludes.
> [INFO] 5630 resources included
> [WARNING] Files with unapproved licenses:
>   lang/py/docs/build/html/searchindex.js
>   lang/py/docs/build/html/.buildinfo
>   lang/py/docs/build/html/search.html
>   lang/py/docs/build/html/py-modindex.html
>   lang/py/docs/build/html/genindex.html
>   lang/py/docs/build/html/intro.html
>   lang/py/docs/build/html/index.html
>   lang/py/docs/build/html/automodule.html
>   lang/py/docs/build/html/_static/alabaster.css
>   lang/py/docs/build/html/_static/custom.css
>   lang/py/docs/build/html/_static/basic.css
>   lang/py/docs/build/html/_static/doctools.js
>   lang/py/docs/build/html/_static/documentation_options.js
>   lang/py/docs/build/html/_static/language_data.js
>   lang/py/docs/build/html/_static/searchtools.js
>   lang/py/docs/build/html/_static/sphinx_highlight.js
>   lang/py/docs/build/html/_static/pygments.css
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  4.428 s
> [INFO] Finished at: 2023-09-20T12:50:06Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.15:check 
> (default) on project avro-toplevel: Too many files with unapproved license: 
> 17 See RAT report in: /home/ryan.skraba/avro/target/rat.txt -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> {code}
> The workaround is to do a `./build.sh clean test` followed by a `./build.sh 
> clean dist`, but this should probably be fixed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to