Hi, 3. Here we don't have to set a header, it can be generated automatically. But it is automatically generated inconsistent with the location of our current existing header and the broken line words for each line. We want a fixed header, so we need to consider setting the copyrightMessage property. A fixed header https://github.com/apache/creadur-rat/blob/de8e688a0e161c3bc5b3d2b2cb74506c1bc9c422/apache-rat-core/src/main/java/org/apache/rat/annotation/ApacheV2LicenseAppender.java#L54
4. Some lists are currently excluded from the rat plugin configuration, but this list is not all. For example, https://github.com/apache/dubbo/blob/master/dubbo-common/src/main/java/org/apache/dubbo/common/timer/HashedWheelTimer.java , https://github.com/apache /dubbo/blob/master/dubbo-common/src/main/java/org/apache/dubbo/common/utils/CIDRUtils.java are not on this exclusion list When running the rat plugin, it is not checked even if it is not in the exclusion list. https://issues.apache.org/jira/browse/RAT-255 在 2019/6/19 下午1:03,“Justin Mclean”<jus...@classsoftware.com> 写入: Hi, > 3. When setting copyrightMsg, it cannot format in the given format. There should be no copyright message in ASF headers. > 4. When using the apache rat command line, it was found that it could not be run. I’ve used successfully in the past, what issues did you run into? They may be able to be sorted. > We configured -Drat.skip=false in .travis.yml, but we missed some files that are not part of the ASF license header in the file exclusion list of the rat plugin. That skips running rat so I’m not sure what you were expecting. Thanks, Justin