[ https://issues.apache.org/jira/browse/RAT-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861727#comment-16861727 ]
slievrly commented on RAT-255: ------------------------------ [~hugo.hirsch] Sorry, I can't provide a link to the project. This is tested locally. This is my rat configuration: {code:java} <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>${apache-rat-plugin.version}</version> <executions> <execution> <id>verify.rat</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> <configuration> <addLicenseHeaders>forced</addLicenseHeaders> <ignoreErrors>true</ignoreErrors> <!--<copyrightMessage>--> <!--Licensed to the Apache Software Foundation (ASF) under one or more--> <!--contributor license agreements. See the NOTICE file distributed with--> <!--this work for additional information regarding copyright ownership.--> <!--The ASF licenses this file to You under the Apache License, Version 2.0--> <!--(the "License"); you may not use this file except in compliance with--> <!--the License. You may obtain a copy of the License at--> <!--http://www.apache.org/licenses/LICENSE-2.0--> <!--Unless required by applicable law or agreed to in writing, software--> <!--distributed under the License is distributed on an "AS IS" BASIS,--> <!--WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.--> <!--See the License for the specific language governing permissions and--> <!--limitations under the License.--> <!--</copyrightMessage>--> <excludes> <exclude>**/*.versionsBackup</exclude> <exclude>**/.idea/</exclude> <exclude>**/*.iml</exclude> <exclude>**/*.txt</exclude> <exclude>**/*.load</exclude> <exclude>**/*.flex</exclude> <exclude>**/*.fc</exclude> <exclude>**/*.javascript</exclude> <exclude>**/*.properties</exclude> <exclude>**/*.thrift</exclude> <exclude>**/*.sh</exclude> <exclude>**/*.bat</exclude> <exclude>**/*.md</exclude> <exclude>.git/</exclude> <exclude>.gitignore</exclude> <!-- ASF jenkins box puts the Maven repo in our root directory. --> <exclude>.repository/</exclude> <exclude>**/.settings/*</exclude> <exclude>**/.classpath</exclude> <exclude>**/.project</exclude> <exclude>**/target/**</exclude> <exclude>**/*.log</exclude> <exclude>CODE_OF_CONDUCT.md</exclude> <exclude>.codecov.yml</exclude> <exclude>.travis.yml</exclude> <exclude>PULL_REQUEST_TEMPLATE.md</exclude> <exclude>CONTRIBUTING.md</exclude> <exclude>README.md</exclude> <exclude>**/codestyle/*</exclude> <exclude>**/resources/META-INF/**</exclude> <!-- exclude the internal threadlocal files --> <exclude>**/org/apache/dubbo/common/threadlocal/InternalThreadLocal.java</exclude> <exclude>**/org/apache/dubbo/common/threadlocal/InternalThreadLocalMap.java</exclude> </excludes> </configuration> </execution> </executions> </plugin> {code} result: !image-2019-06-12-11-39-52-228.png! expect: !image-2019-06-12-11-38-26-729.png! problems: 1. I expect the location of the license header to be on top of the package. 2. I expect the number of characters per line to be strictly consistent, otherwise it will be forced to format. > How to put the location of the license header on top of the package > ------------------------------------------------------------------- > > Key: RAT-255 > URL: https://issues.apache.org/jira/browse/RAT-255 > Project: Apache Rat > Issue Type: Improvement > Components: maven > Affects Versions: 0.13 > Reporter: slievrly > Priority: Major > Fix For: 0.14 > > Attachments: image-2019-06-11-18-28-02-474.png, > image-2019-06-12-11-38-26-729.png, image-2019-06-12-11-39-52-228.png > > > How to put the location of the license header on top of the package?I expect > the result as shown. > !image-2019-06-11-18-28-02-474.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005)