You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by jaychando <ja...@eds.com> on 2007/08/23 20:25:28 UTC

Example jms proxy error

I am trying to run the camel-example-jms-file example using maven  

I use the command:
mvn exe:java

I get the following results.

[INFO] Scanning for projects...
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
e/camel/camel-parent/1.1.0/camel-parent-1.1.0.pom
Downloading:
http://repo.logicblaze.com/maven2-all/org/apache/camel/camel-parent
/1.1.0/camel-parent-1.1.0.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/camel/camel-parent/1.1.0/c
amel-parent-1.1.0.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

I believe this is because I am behind a proxy server and have to enter a
proxy ID and Password to get through the firewall.  How can I make this
example work in this situation?
-- 
View this message in context: http://www.nabble.com/Example-jms-proxy-error-tf4319117s22882.html#a12299144
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Example jms proxy error

Posted by James Strachan <ja...@gmail.com>.
On 8/23/07, jaychando <ja...@eds.com> wrote:
>
> I am trying to run the camel-example-jms-file example using maven
>
> I use the command:
> mvn exe:java
>
> I get the following results.
>
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
> e/camel/camel-parent/1.1.0/camel-parent-1.1.0.pom
> Downloading:
> http://repo.logicblaze.com/maven2-all/org/apache/camel/camel-parent
> /1.1.0/camel-parent-1.1.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/camel/camel-parent/1.1.0/c
> amel-parent-1.1.0.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> I believe this is because I am behind a proxy server and have to enter a
> proxy ID and Password to get through the firewall.  How can I make this
> example work in this situation?

This is a general Maven issue; if you are behind a firewall/proxy you
need to set the HTTP proxy configuration for Maven..

I've added a FAQ entry for this...
http://cwiki.apache.org/CAMEL/why-does-maven-not-download-dependencies.html


-- 
James
-------
http://macstrac.blogspot.com/