Here is the complete code
mz@mz-VirtualBox:~/MetaModel-4.5.4$ mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] MetaModel [INFO] MetaModel core API [INFO] MetaModel module for collection and POJO-based DataContexts. [INFO] MetaModel module for comma-separated value (CSV) files [INFO] MetaModel module for fixed width value files [INFO] MetaModel module for Excel spreadsheets [INFO] MetaModel module for JSON files [INFO] MetaModel module for XML files [INFO] MetaModel module for relational JDBC databases [INFO] MetaModel module for Elasticsearch [INFO] MetaModel module for ElasticSearch commons [INFO] MetaModel module for ElasticSearch via native (Node or Transport) client [INFO] MetaModel module for ElasticSearch via REST client [INFO] MetaModel module for Apache Hadoop, HDFS, YARN integration [INFO] MetaModel module for Apache HBase [INFO] MetaModel module for Apache Cassandra database [INFO] MetaModel module for MongoDB [INFO] MetaModel module for MongoDB commons [INFO] MetaModel module for MongoDB 2.x [INFO] MetaModel module for MongoDB 3.x [INFO] MetaModel module for CouchDB databases [INFO] MetaModel module for OpenOffice.org database files [INFO] MetaModel module for Salesforce.com [INFO] MetaModel module for SugarCRM [INFO] MetaModel module for Neo4j databases [INFO] MetaModel full package, including DataContext factories [INFO] MetaModel module for Spring enabled configuration [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building MetaModel 4.5.4 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ MetaModel --- [INFO] Deleting /home/mz/MetaModel-4.5.4/target [INFO] [INFO] --- apache-rat-plugin:0.11:check (rat-verify) @ MetaModel --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: KEYS [INFO] Exclude: *.md [INFO] Exclude: example-metamodel-integrationtest-configuration.properties [INFO] Exclude: travis-metamodel-integrationtest-configuration.properties [INFO] Exclude: **/src/assembly/metamodel-packaged-assembly-descriptor.xml [INFO] Exclude: **/.gitignore/** [INFO] Exclude: .git/** [INFO] Exclude: **/src/main/resources/META-INF/services/** [INFO] Exclude: **/src/test/resources/** [INFO] Exclude: **/src/site/** [INFO] Exclude: **/.project [INFO] Exclude: **/.classpath [INFO] Exclude: **/.settings/** [INFO] Exclude: **/.travis.yml [INFO] Exclude: **/target/** [INFO] Exclude: **/*.iml/** [INFO] Exclude: **/*.iws/** [INFO] Exclude: **/*.ipr/** [INFO] Exclude: **/.idea/** [INFO] Exclude: **/tattletale-filters.properties [INFO] Exclude: DEPENDENCIES [INFO] Exclude: DISCLAIMER [INFO] Exclude: neo4j-community-*/** [INFO] 771 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: 1 unknown: 1 generated: 0 approved: 768 licence. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] MetaModel .......................................... FAILURE [ 3.756 s] [INFO] MetaModel core API ................................. SKIPPED [INFO] MetaModel module for collection and POJO-based DataContexts. SKIPPED [INFO] MetaModel module for comma-separated value (CSV) files SKIPPED [INFO] MetaModel module for fixed width value files ....... SKIPPED [INFO] MetaModel module for Excel spreadsheets ............ SKIPPED [INFO] MetaModel module for JSON files .................... SKIPPED [INFO] MetaModel module for XML files ..................... SKIPPED [INFO] MetaModel module for relational JDBC databases ..... SKIPPED [INFO] MetaModel module for Elasticsearch ................. SKIPPED [INFO] MetaModel module for ElasticSearch commons ......... SKIPPED [INFO] MetaModel module for ElasticSearch via native (Node or Transport) client SKIPPED [INFO] MetaModel module for ElasticSearch via REST client . SKIPPED [INFO] MetaModel module for Apache Hadoop, HDFS, YARN integration SKIPPED [INFO] MetaModel module for Apache HBase .................. SKIPPED [INFO] MetaModel module for Apache Cassandra database ..... SKIPPED [INFO] MetaModel module for MongoDB ....................... SKIPPED [INFO] MetaModel module for MongoDB commons ............... SKIPPED [INFO] MetaModel module for MongoDB 2.x ................... SKIPPED [INFO] MetaModel module for MongoDB 3.x ................... SKIPPED [INFO] MetaModel module for CouchDB databases ............. SKIPPED [INFO] MetaModel module for OpenOffice.org database files . SKIPPED [INFO] MetaModel module for Salesforce.com ................ SKIPPED [INFO] MetaModel module for SugarCRM ...................... SKIPPED [INFO] MetaModel module for Neo4j databases ............... SKIPPED [INFO] MetaModel full package, including DataContext factories SKIPPED [INFO] MetaModel module for Spring enabled configuration .. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.828 s [INFO] Finished at: 2016-10-25T17:58:49+01:00 [INFO] Final Memory: 16M/38M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-verify) on project MetaModel: Too many files with unapproved license: 1 See RAT report in: /home/mz/MetaModel-4.5.4/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 mz@mz-VirtualBox:~/MetaModel-4.5.4$ ________________________________ From: Henry Saputra <henry.sapu...@gmail.com> Sent: 20 October 2016 16:22:45 To: Moeez Subhani; dev@metamodel.apache.org Subject: Fwd: maven error Forwarding the email to dev@ list. This is weird. I am not able to repro this from master branch. Could you share more the steps to repro this behavior? Thanks, - Henry ---------- Forwarded message ---------- From: Moeez Subhani <m.subh...@derby.ac.uk<mailto:m.subh...@derby.ac.uk>> Date: Thu, Oct 20, 2016 at 8:17 AM Subject: maven error To: "dev-ow...@metamodel.apache.org<mailto:dev-ow...@metamodel.apache.org>" <dev-ow...@metamodel.apache.org<mailto:dev-ow...@metamodel.apache.org>> Cc: "dev-i...@metamodel.apache.org<mailto:dev-i...@metamodel.apache.org>" <dev-i...@metamodel.apache.org<mailto:dev-i...@metamodel.apache.org>>, "dev-...@metamodel.apache.org<mailto:dev-...@metamodel.apache.org>" <dev-...@metamodel.apache.org<mailto:dev-...@metamodel.apache.org>> Hello I am a PHD student from University of Derby. I have been trying to install Apache MetaModel on linux. While I am trying to build Maven first, I am encountering the following error. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.413 s [INFO] Finished at: 2016-10-10T19:08:03+01:00 [INFO] Final Memory: 16M/38M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-verify) on project MetaModel: Too many files with unapproved license: 1 See RAT report in: /home/mz/MetaModel-4.5.4/target/rat.txt -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-verify) on project MetaModel: Too many files with unapproved license: 1 See RAT report in: /home/mz/MetaModel-4.5.4/target/rat.txt at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.rat.mp<http://org.apache.rat.mp>.RatCheckException: Too many files with unapproved license: 1 See RAT report in: /home/mz/MetaModel-4.5.4/target/rat.txt at org.apache.rat.mp<http://org.apache.rat.mp>.RatCheckMojo.check(RatCheckMojo.java:194) at org.apache.rat.mp<http://org.apache.rat.mp>.RatCheckMojo.execute(RatCheckMojo.java:182) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more [ERROR] [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 I have tried looking at the mentioned link, but it doesn't help much. Would you be kind enough to help me to troubleshoot this problem asap. Thank you in advance. Best Regards Moeez M. Subhani Postgraduate Research Student University of Derby Ph: +44-1332-593746<tel:%2B44-1332-593746> The University of Derby has a published policy regarding email and reserves the right to monitor email traffic. If you believe this was sent to you in error, please reply to the sender and let them know. Key University contacts: http://www.derby.ac.uk/its/contacts/ The University of Derby has a published policy regarding email and reserves the right to monitor email traffic. If you believe this was sent to you in error, please reply to the sender and let them know. Key University contacts: http://www.derby.ac.uk/its/contacts/