This is not the way to do this since it lacks all the necessary exclusions configuration - if you look at the actual mvn build command (see below) when you run 'mvn clean install', the rat-check is executed correctly – see below:
lgoldstein@ubuntu-14:~/mina-sshd/sshd-core$ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Mina SSHD :: Core 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sshd-core --- [INFO] Deleting /home/lgoldstein/mina-sshd/sshd-core/target [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:remove-project-artifact (remove-previous-artifact) @ sshd-core --- [INFO] /home/lgoldstein/.m2/repository/org/apache/sshd/sshd-core/1.0.1-SNAPSHOT removed. [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-versions) @ sshd-core --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (check-apache-license-header) @ sshd-core --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: **/*.iml [INFO] Exclude: src/docs/** [INFO] Exclude: src/test/resources/** [INFO] Exclude: **/stty-output-*.txt [INFO] Exclude: **/big-msg.txt [INFO] Exclude: sshd-sftp/** [INFO] Exclude: sshd-pam/** [INFO] Exclude: .metadata/** [INFO] Exclude: .recommenders/** [INFO] Exclude: RemoteSystemsTempFiles/** [INFO] Exclude: .project [INFO] Exclude: .classpath [INFO] Exclude: .springBeans [INFO] Exclude: .settings/** [INFO] 624 resources included (use -debug for more details) Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 624 licence. [INFO] -----Original Message----- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Monday, September 7, 2015 10:03 To: dev@mina.apache.org Subject: Re: [VOTE] Release SSHD 1.0.0 (2nd try) Le 07/09/15 06:01, Lyor Goldstein a écrit : > They are excluded (or the build would have failed...) just run mvn apache-rat:check