You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2019/04/05 21:46:00 UTC

[jira] [Created] (BEAM-7017) Improve Apache Rat failure message during build time

Luke Cwik created BEAM-7017:
-------------------------------

             Summary: 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


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)