Support Questions
Find answers, ask questions, and share your expertise

Apache Metron TP 1 Installation is failing while performing `mvn apache-rat:check`


Following this article here

Getting below error

mvn apache-rat:check [INFO] Scanning for projects... Downloading: Downloading: Downloaded: (13 KB at 3.0 KB/sec) Downloaded: (20 KB at 4.4 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.064 s [INFO] Finished at: 2016-10-31T22:19:40+05:30 [INFO] Final Memory: 14M/309M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'apache-rat' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/Test/.m2/repository), central (] -> [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]


Rising Star

Hi @Rishi,

I'd run something newer than TP1. That said, I'm not sure why Maven can't find the apache-rat plugin. Please try from current master here.




Hello @David Lyle

I did make some progress on this, but endup with another issue, while deploying quick-dev-platform.


statically included: /Users/rjain/incubator-metron/metron-deployment/roles/monit/tasks/monit.yml statically included: /Users/rjain/incubator-metron/metron-deployment/roles/monit/tasks/scripts.yml statically included: /Users/rjain/incubator-metron/metron-deployment/roles/monit/tasks/monit-definitions.yml PLAY [ec2] ********************************************************************* skipping: no hosts matched PLAY [packer] ****************************************************************** skipping: no hosts matched PLAY [ambari_*] **************************************************************** TASK [setup] ******************************************************************* fatal: [node1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true} to retry, use: --limit @/Users/rjain/incubator-metron/metron-deployment/playbooks/metron_full_install.retry PLAY RECAP ********************************************************************* node1 : ok=0 changed=0 unreachable=1 failed=0 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.


Super Collaborator

Hello @Rishi, can you paste the output of metron-deployment/scripts/

In my case, many of these transient errors go away when I re-run 'vagrant provision' couple of times. I'm hoping you've been that road :).

Also, if you planning to try with the latest and greatest quick-dev image, you might want to update your image using vagrant box update (see here).


@asubramanian script output is below , After running vagrant provision couple of time , I am getting this error

TASK [metron_common : Verify Metron jars exist] ******************************** fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to locate staged Metron jars at /Users/rjain/incubator-metron/metron-deployment/playbooks/../../metron-platform/metron-elasticsearch/target/metron-elasticsearch-0.2.1BETA.jar. Did you run 'mvn package'?"}

Metron 0.2.1BETA
* master
commit e31705029fd7518bd03c22eece0c2a8eb1187abf
Author: justinleet <>
Date:   Mon Oct 31 11:36:10 2016 -0600

    METRON-495: Upgrade Storm to 1.0.x (justinleet via mmiklavc) closes apache/incubator-metron#318
  config file =
  configured module search path = Default w/o overrides
Vagrant 1.8.6
Python 2.7.12
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
Maven home: /Users/rjain/Downloads/apache-maven-3.3.9
Java version: 1.8.0_112, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12", arch: "x86_64", family: "mac"
Darwin MacBook-Pro-7.local 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64

Super Collaborator

@Rishi, sorry about the delay in responding.

It seems like you're ansible version ( is the root of your troubles. Please uninstall this version of ansible and try with version

Refer to this link for the precise version requisites.