[ https://issues.apache.org/jira/browse/HDFS-13340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411233#comment-16411233 ]
Elek, Marton commented on HDFS-13340: ------------------------------------- As en example for the problem see this precommit result: https://builds.apache.org/job/PreCommit-HDFS-Build/23634/artifact/out/patch-asflicense-problems.txt {code} Lines that start with ????? in the ASF License report indicate files that do not have an Apache license header: !????? hadoop-cblock/server/src/test/resources/dynamicprovisioner/expected1-pv.json !????? hadoop-cblock/server/src/test/resources/dynamicprovisioner/input1-pvc.json !????? hadoop-ozone/common/dev-support/findbugsExcludeFile.xml !????? hadoop-hdsl/framework/src/main/resources/webapps/static/nvd3-1.8.5.min.css.map !????? hadoop-hdsl/framework/src/main/resources/webapps/static/nvd3-1.8.5.min.js.map !????? hadoop-hdsl/framework/src/main/resources/webapps/static/nvd3-1.8.5.min.css {code} > Ozone: Fix false positive RAT warning when project built without hds/cblock > --------------------------------------------------------------------------- > > Key: HDFS-13340 > URL: https://issues.apache.org/jira/browse/HDFS-13340 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: HDFS-7240 > Affects Versions: HDFS-7240 > Reporter: Elek, Marton > Assignee: Elek, Marton > Priority: Major > Attachments: HDFS-13340-HDFS-7240.001.patch > > > First of all: All the licence headers are handled well on this branch. > Unfortunatelly maven don't know it. If the project is built *without* -P > hdsl. The rat exclude rules in the hdsl/cblock/ozone projects are not used as > these projects are not used as maven project they are handled as static files. > The solutions is: > 1. Instead proper exclude I added the licence headers to some test file > 2. I added an additional exclude to the root pom.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org