aperepel / nifi-api-deploy

Demonstrates NiFi template deployment and configuration via a REST API
Apache License 2.0
68 stars 37 forks source link

Unresolved Dependency #35

Open lingtze1 opened 8 years ago

lingtze1 commented 8 years ago

Hi Sorry I am new here.. just wonder how to add dependency as I get this while running:

C:\Users\limcheh\Documents\GitHub\nifi-api-deploy>groovy NiFiDeploy.groovy --fil e nifi-deploy.yml org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during conversion: Error grabbing Grapes -- [unresolved dependency : commons-codec#commons-codec;1.6: not found, unresolved dependency: net.sf.json -lib#json-lib;2.3: not found, unresolved dependency: net.sourceforge.nekohtml#ne kohtml;1.9.16: not found, unresolved dependency: xml-resolver#xml-resolver;1.2: not found, download failed: org.apache.httpcomponents#httpmime;4.2.1!httpmime.ja r, download failed: org.apache.httpcomponents#httpcore;4.2.1!httpcore.jar, downl oad failed: org.yaml#snakeyaml;1.17!snakeyaml.jar, download failed: org.codehaus .groovy.modules.http-builder#http-builder;0.7.1!http-builder.jar, download faile d: org.apache.httpcomponents#httpclient;4.2.1!httpclient.jar, download failed: c ommons-logging#commons-logging;1.1.1!commons-logging.jar]

aperepel commented 8 years ago

I'd check if you're behind a firewall, these jars are available in maven central, e.g. https://mvnrepository.com/artifact/commons-codec/commons-codec/1.6