[
https://issues.apache.org/jira/browse/BEAM-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Luckey resolved BEAM-7017.
----------------------------------
Resolution: Fixed
Fix Version/s: Not applicable
> Improve Apache Rat failure message during build time
> ----------------------------------------------------
>
> Key: BEAM-7017
> URL: https://issues.apache.org/jira/browse/BEAM-7017
> Project: Beam
> Issue Type: Improvement
> Components: build-system
> Reporter: Luke Cwik
> Assignee: Luke Cwik
> Priority: Major
> Fix For: Not applicable
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 0.4.0 of the plugin embeds the filenames with invalid licenses in the
> exception message of the failing task so it now appears at the bottom of the
> build.
> {code}
> > Task :rat FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':rat'.
> > A failure occurred while executing org.nosphere.apache.rat.RatWork
> > Apache Rat audit failure
>
> *****************************************************
> Summary
> -------
> Generated at: 2019-04-05T14:39:11-07:00
>
> Notes: 5
> Binaries: 123
> Archives: 4
> Standards: 5105
>
> Apache Licensed: 5104
> Generated Documents: 0
>
> JavaDocs are generated, thus a license header is optional.
> Generated files do not require license headers.
>
> 1 Unknown Licenses
>
> *****************************************************
>
> Files with unapproved licenses:
>
>
> /usr/local/google/home/lcwik/git/beam/examples/java/src/main/java/org/apache/beam/examples/WordCount.java
>
> *****************************************************
> ....
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)