Again, sorry this is not my wheelhouse but... When you set up your proxy, do you just proxy to maven central ( http://repo.maven.apache.org/maven2/)? The clj-time artifact appears to be coming from another repository (https://clojars.org/). Do you need to proxy to it as well?
When I build that part of NiFi it seems to try maven central first, but then it tries clojars next: ------------------------------------------------------------------------ Building nifi-storm-spout 0.3.0-SNAPSHOT ------------------------------------------------------------------------ Downloading: https://repo.maven.apache.org/maven2/clj-time/clj-time/0.4.1/clj-time-0.4.1.pom Downloading: https://clojars.org/repo/clj-time/clj-time/0.4.1/clj-time-0.4.1.pom Downloaded: https://clojars.org/repo/clj-time/clj-time/0.4.1/clj-time-0.4.1.pom (3 KB at 5.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/clj-time/clj-time/0.4.1/clj-time-0.4.1.jar Downloading: https://clojars.org/repo/clj-time/clj-time/0.4.1/clj-time-0.4.1.jar Downloaded: https://clojars.org/repo/clj-time/clj-time/0.4.1/clj-time-0.4.1.jar (10 KB at 129.1 KB/sec) On Thu, Sep 10, 2015 at 2:12 PM, Matt Gilman <[email protected]> wrote: > So I'm not super familiar with proxying remote artifact repositories. Just > for clarity... did you manually replace your proxy host from the output > with '<my-proxy-host-is-here>' when sending the original email or was that > actually in the output produced by Maven? > > You were able to build this far and it did successfully pull down other > Maven dependencies, correct? Just seems to be breaking on clj-time? > > Matt > > On Thu, Sep 10, 2015 at 1:33 PM, DomenicPuzio < > [email protected]> wrote: > >> Matt, >> >> I have only modified my conf/settings.xml to include my proxy settings, >> so I don’t think I would have overridden any defaults. I’m happy to post my >> XML if you think that would be helpful. >> >> From: "Matt Gilman [via Apache NiFi Developer List]" < >> [email protected]<mailto: >> [email protected]>> >> Date: Thursday, September 10, 2015 at 1:26 PM >> To: Domenic Puzio <[email protected]<mailto: >> [email protected]>> >> Subject: Re: Cannot build code base - error with "mvn -T C2.0 clean >> install" >> >> It seems to be having trouble getting clj-time:0.4.1 (which is a >> dependency >> of storm-core:0.9.5) from an artifact repository. Do you have any settings >> that might override maven defaults in your settings.xml? >> >> Matt >> >> On Thu, Sep 10, 2015 at 1:16 PM, DomenicPuzio <[hidden >> email]</user/SendEmail.jtp?type=node&node=2757&i=0>> >> wrote: >> >> > Thank you so much for the quick reply! I think that it was the fact >> that I >> > did not have "javac" on my path. >> > >> > However, a new error arose when I tried to run "mvn -T C2.0 clean >> install" >> > - >> > please take a look. I really appreciate it! >> > >> > [ERROR] Failed to execute goal on project nifi-storm-spout: Could not >> > resolve dependencies for project >> > org.apache.nifi:nifi-storm-spout:jar:0.3.0-SNAPSHOT: Failed to collect >> > dependencies at org.apache.storm:storm-core:jar:0.9.5 -> >> > clj-time:clj-time:jar:0.4.1: Failed to read artifact descriptor for >> > clj-time:clj-time:jar:0.4.1: Could not transfer artifact >> > clj-time:clj-time:pom:0.4.1 from/to clojars (https://clojars.org/repo/ >> ): >> > proxy.<my-proxy-host-is-here>: Unknown host >> proxy.<my-proxy-host-is-here> >> > -> >> > [Help 1] >> > >> > >> > >> > >> > >> > -- >> > View this message in context: >> > >> http://apache-nifi-developer-list.39713.n7.nabble.com/Cannot-build-code-base-error-with-mvn-T-C2-0-clean-install-tp2753p2756.html >> > Sent from the Apache NiFi Developer List mailing list archive at >> > Nabble.com. >> > >> >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://apache-nifi-developer-list.39713.n7.nabble.com/Cannot-build-code-base-error-with-mvn-T-C2-0-clean-install-tp2753p2757.html >> To unsubscribe from Cannot build code base - error with "mvn -T C2.0 >> clean install", click here< >> http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2753&code=ZG9tZW5pYy5wdXppb0BjYXBpdGFsb25lLmNvbXwyNzUzfDEwNzk5MTc0Njk= >> >. >> NAML< >> http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml >> > >> ________________________________________________________ >> >> The information contained in this e-mail is confidential and/or >> proprietary to Capital One and/or its affiliates and may only be used >> solely in performance of work or services for Capital One. The information >> transmitted herewith is intended only for use by the individual or entity >> to which it is addressed. If the reader of this message is not the intended >> recipient, you are hereby notified that any review, retransmission, >> dissemination, distribution, copying or other use of, or taking of any >> action in reliance upon this information is strictly prohibited. If you >> have received this communication in error, please contact the sender and >> delete the material from your computer. >> >> >> >> >> -- >> View this message in context: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Cannot-build-code-base-error-with-mvn-T-C2-0-clean-install-tp2753p2758.html >> Sent from the Apache NiFi Developer List mailing list archive at >> Nabble.com. >> > >
