This is an automated email from the ASF dual-hosted git repository.

michel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 6416926  [BEAM-7017] Upgrade Apache Rat plugin version to have 
improved build output for failures.
     new e0021c5c Merge pull request #8240: [BEAM-7017] Upgrade Apache Rat 
plugin version to have improved build output for failures.
6416926 is described below

commit 641692605ae510edfa7449e3655c9bda4067a217
Author: Luke Cwik <[email protected]>
AuthorDate: Fri Apr 5 14:45:22 2019 -0700

    [BEAM-7017] Upgrade Apache Rat plugin version to have improved build output 
for failures.
    
    Output now looks like:
    > 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
    
         *****************************************************
         ....
---
 build.gradle | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/build.gradle b/build.gradle
index e34eaa2..c0f9091 100644
--- a/build.gradle
+++ b/build.gradle
@@ -26,7 +26,7 @@ plugins {
   // See https://github.com/ben-manes/gradle-versions-plugin for further 
details.
   id 'com.github.ben-manes.versions' version '0.17.0'
   // Apply one top level rat plugin to perform any required license 
enforcement analysis
-  id 'org.nosphere.apache.rat' version '0.3.1'
+  id 'org.nosphere.apache.rat' version '0.4.0'
   // Enable gradle-based release management
   id 'net.researchgate.release' version '2.6.0'
   id 'org.apache.beam.module'
@@ -113,12 +113,6 @@ rat {
     exclusions.addAll(gitIgnoreExcludes)
   }
 
-  // Combining verbose with only XML output has each failing license logged.
-  // See https://github.com/eskatos/creadur-rat-gradle/issues/8 for further 
details.
-  verbose = true
-  plainOutput = false
-  xmlOutput = true
-  htmlOutput = false
   failOnError = true
   excludes = exclusions
 }

Reply via email to