You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by smitra <sa...@patni.com> on 2008/01/31 11:35:32 UTC

Running the Apache Camel Examples

Hi 

I was trying to run the examples as per the instruction given in the page 
http://activemq.apache.org/camel/running-examples.html

Maven is installed properly on my machine as mvn -v gives 

Maven version: 2.0.8
Java version: 1.5.0_06
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"


However while running the command mvn exec: java I am gettig the following
error : 

failed to resolve artifact.
GroupId: org.apache.camel
ArtifactId: camel-parent
Version: 1.2.0
Reason: Unable to download the artifact from any repository
  org.apache.camel:camel-parent:pom:1.2.0
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.m2.repo
(http://people.apache.org/repo/m2-ibiblio-rsync-repository),
  open.iona.m2-all (http://repo.logicblaze.com/maven2-all)

To see the detail error please view the log file. 

Other relevant information
Camel Version is apache-camel-1.2.0
JDK Version is 5.0
JRE Version is 5.0

http://www.nabble.com/file/p15201775/log.txt log.txt 
-- 
View this message in context: http://www.nabble.com/Running-the-Apache-Camel-Examples-tp15201775s22882p15201775.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Running the Apache Camel Examples

Posted by James Strachan <ja...@gmail.com>.
On 31/01/2008, smitra <sa...@patni.com> wrote:
>
> Hi
>
> I was trying to run the examples as per the instruction given in the page
> http://activemq.apache.org/camel/running-examples.html
>
> Maven is installed properly on my machine as mvn -v gives
>
> Maven version: 2.0.8
> Java version: 1.5.0_06
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
>
> However while running the command mvn exec: java I am gettig the following
> error :
>
> failed to resolve artifact.
> GroupId: org.apache.camel
> ArtifactId: camel-parent
> Version: 1.2.0
> Reason: Unable to download the artifact from any repository
>   org.apache.camel:camel-parent:pom:1.2.0
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.m2.repo
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>   open.iona.m2-all (http://repo.logicblaze.com/maven2-all)
>
> To see the detail error please view the log file.
>
> Other relevant information
> Camel Version is apache-camel-1.2.0
> JDK Version is 5.0
> JRE Version is 5.0


Hmm this is strange. I wonder does maven download anything? It looks
like the dependency you are trying to use is there...

http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-parent/1.2.0/

Maybe you hit a temporary Apache hosting glitch? Could you try again?


Failing that I wonder if its a HTTP proxy setting?
http://maven.apache.org/guides/mini/guide-proxies.html

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

Open Source Integration
http://open.iona.com