Hello, I’m trying to build Syncope and am getting a Rat error. I’m wondering if I’m doing something wrong.
[acabrera-mn:syncope 520]$ mvn -v Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T06:51:42-07:00) Maven home: /usr/local/Cellar/maven/3.2.2/libexec Java version: 1.8.0_31, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: "mac" [INFO] --- apache-rat-plugin:0.11:check (default) @ syncope-common --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: nbactions.xml [INFO] Exclude: nb-configuration.xml [INFO] Exclude: **/META-INF/cxf/** [INFO] Exclude: **/META-INF/services/** [INFO] Exclude: **/META-INF/MANIFEST.MF [INFO] Exclude: **/*.csv [INFO] Exclude: **/archetype-resources/** [INFO] Exclude: **/goal.txt [INFO] Exclude: **/rat.txt [INFO] Exclude: **/build-copy-javadoc-files.xml [INFO] Exclude: **/maven-eclipse.xml [INFO] Exclude: **/*.iml [INFO] Exclude: **/*.log [INFO] Exclude: .externalToolBuilders/** [INFO] Exclude: .git/** [INFO] Exclude: .idea/** [INFO] Exclude: **/.* [INFO] Exclude: **/deb/control/conffiles [INFO] Exclude: **/deb/control/control [INFO] Exclude: **/*.lst [INFO] 403 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: 4 unknown: 4 generated: 0 approved: 156 licence. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Syncope ..................................... SUCCESS [ 5.122 s] [INFO] Apache Syncope Build Tools ......................... SUCCESS [ 29.342 s] [INFO] Apache Syncope Archetype ........................... SUCCESS [ 2.805 s] [INFO] Apache Syncope Common .............................. FAILURE [ 10.019 s] [INFO] Apache Syncope Client .............................. SKIPPED [INFO] Apache Syncope Core ................................ SKIPPED [INFO] Apache Syncope Core Upgrader ....................... SKIPPED [INFO] Apache Syncope Console ............................. SKIPPED [INFO] Apache Syncope Standalone Distribution ............. SKIPPED [INFO] Apache Syncope Installer ........................... SKIPPED [INFO] Apache Syncope Deb ................................. SKIPPED [INFO] Apache Syncope Deb Core ............................ SKIPPED [INFO] Apache Syncope Deb Console ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 48.537 s [INFO] Finished at: 2015-03-02T13:39:56-08:00 [INFO] Final Memory: 90M/1963M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project syncope-common: Too many files with unapproved license: 4 See RAT report in: /Users/acabrera/asf/syncope/common/target/rat.txt -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :syncope-common
