You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mo...@earthlink.net on 2013/01/27 02:16:21 UTC

Re: Problems With Compiling First Example

I was following the instructions in the README file for the first example mentioned in the Camel documentation.  I get the errors below. Is there something wrong with Maven or the Maven Repo website? Can anyone please help me with this? Any ideas would be greatly appreciated.

Jerry

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Users\motor_000>cd C:\apache-camel-2.10.3\examples\camel-example-jms-file

C:\apache-camel-2.10.3\examples\camel-example-jms-file>mvn compile
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/2
.10.3/camel-parent-2.10.3.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.camel:camel-example-jms-file:2.10.3 (C:\apache-
camel-2.10.3\examples\camel-example-jms-file\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.camel:examples:2.10.3: Coul
d not transfer artifact org.apache.camel:camel-parent:pom:2.10.3 from/to central
(http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.o
rg refused and 'parent.relativePath' points at wrong local POM @ org.apache.came
l:examples:2.10.3, C:\apache-camel-2.10.3\examples\pom.xml, line 21, column 11:
connect: Address is invalid on local machine, or port is not valid on remote mac
hine -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException
C:\apache-camel-2.10.3\examples\camel-example-jms-file>

Re: Problems With Compiling First Example

Posted by Claus Ibsen <cl...@gmail.com>.
On Sun, Jan 27, 2013 at 2:16 AM,  <mo...@earthlink.net> wrote:
> I was following the instructions in the README file for the first example mentioned in the Camel documentation.  I get the errors below. Is there something wrong with Maven or the Maven Repo website? Can anyone please help me with this? Any ideas would be greatly appreciated.
>
> Jerry
>

Hi

Welcome to the community.

Are you behind any http proxy by any chance?

If so see this FAQ on the maven project iste
http://maven.apache.org/general.html#proxy-needed



> Microsoft Windows [Version 6.2.9200]
> (c) 2012 Microsoft Corporation. All rights reserved.
>
> C:\Users\motor_000>cd C:\apache-camel-2.10.3\examples\camel-example-jms-file
>
> C:\apache-camel-2.10.3\examples\camel-example-jms-file>mvn compile
> [INFO] Scanning for projects...
> Downloading: http://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/2
> .10.3/camel-parent-2.10.3.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.camel:camel-example-jms-file:2.10.3 (C:\apache-
> camel-2.10.3\examples\camel-example-jms-file\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM for org.apache.camel:examples:2.10.3: Coul
> d not transfer artifact org.apache.camel:camel-parent:pom:2.10.3 from/to central
> (http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.o
> rg refused and 'parent.relativePath' points at wrong local POM @ org.apache.came
> l:examples:2.10.3, C:\apache-camel-2.10.3\examples\pom.xml, line 21, column 11:
> connect: Address is invalid on local machine, or port is not valid on remote mac
> hine -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
> ch.
> [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 rea
> d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> gException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
> delException
> C:\apache-camel-2.10.3\examples\camel-example-jms-file>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen