mirror of https://github.com/apache/cassandra
Provide a better failure message when the rat check fails
patch by Mick Semb Wever; reviewed by David Capwell, Ekaterina Dimitrova for CASSANDRA-16620
This commit is contained in:
parent
8b977d0da9
commit
ad16aa1763
|
|
@ -67,7 +67,10 @@
|
|||
<exclude NAME="**/LICENSE.md"/>
|
||||
</fileset>
|
||||
</rat:report>
|
||||
<fail message="Some files have missing or incorrect license information. Check RAT report in ${build.dir}/rat.txt for more details!">
|
||||
<exec executable="grep" outputproperty="rat.failed.files" failifexecutionfails="false">
|
||||
<arg line="-A5 'Unapproved licenses' ${build.dir}/rat.txt"/>
|
||||
</exec>
|
||||
<fail message="Some files have missing or incorrect license information. Check RAT report in ${build.dir}/rat.txt for more details! \n ${rat.failed.files}">
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ logs/
|
|||
data/
|
||||
conf/hotspot_compiler
|
||||
doc/cql3/CQL.html
|
||||
pylib/src/
|
||||
|
||||
# C* debs
|
||||
build-stamp
|
||||
|
|
@ -26,7 +27,7 @@ debian/files
|
|||
# IntelliJ
|
||||
.idea/
|
||||
*.eml
|
||||
*.iml
|
||||
**/*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue