You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "shekhar.shaw" <sh...@mindtree.com> on 2015/05/28 08:34:29 UTC

Camel 2.15.2 set up issue

Hello,
I am new to this forum, & also trying to learn camel.

I am using maven 3.3.1 & configured my maven home.

I am trying to set up apache camel 2.15.0, however I am getting issues.

Below are steps I am performing.
1. unzip 2.15.0; there are 3 folders, viz doc, examples & lib.
2. navigate command prompt to "examples" folder & hit mvn install

It is giving mw following error:

*****************************START***********************************
[INFO] Scanning for projects...
Downloading:
https://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/
2.15.0/camel-parent-2.15.0.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for
org.apache.camel:examples:[unknown-version
]: Could not transfer artifact org.apache.camel:camel-parent:pom:2.15.0
from/to
central (https://repo.maven.apache.org/maven2): Connect to
repo.maven.apache.org
:443 [repo.maven.apache.org/199.27.79.215] failed: Connection timed out:
connect
 and 'parent.relativePath' points at wrong local POM @ line 21, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.camel:examples:[unknown-version]
(D:\Work\Camel
\apache-camel-2.15.0\apache-camel-2.15.0\examples\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for
org.apache.camel:examples:[unknown-ver
sion]: Could not transfer artifact org.apache.camel:camel-parent:pom:2.15.0
from
/to central (https://repo.maven.apache.org/maven2): Connect to
repo.maven.apache
.org:443 [repo.maven.apache.org/199.27.79.215] failed: Connection timed out:
con
nect and 'parent.relativePath' points at wrong local POM @ line 21, column
11 ->
 [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
**********************************END*******************************

Just to add, I can access https://repo.maven.apache.org/maven2
Also my maven repo folder is not adding any jar files.

Please suggest.


Regards,
Shekhar



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-15-2-set-up-issue-tp5767584.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.15.2 set up issue

Posted by "shekhar.shaw" <sh...@mindtree.com>.
I did following to get this working

1. Executed root pom from non proxy environment to download all required
files. There were few failures though.
2. Executed as suggested by Christian. Projects built successfully.


Thank you for all your help, much appreciated.



Regards,
Shekhar



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-15-2-set-up-issue-tp5767584p5767627.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.15.2 set up issue

Posted by Christian Müller <ch...@gmail.com>.
You configured "repo.maven.apache.*" as non proxy host. This means the
proxy is not used for this host... Can you remove this entry?!

Best,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642

On Thu, May 28, 2015 at 10:49 AM, shekhar.shaw <sh...@mindtree.com>
wrote:

> Thank you for your reply.
>
> I've already did that configuration on settings.xml as well as on IE
> settings, but no luck.
>
> However I can open below url from local browser.
>
> https://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/
> 2.15.0/camel-parent-2.15.0.pom
>
>
> Here are the entries for settings.xml
>
> **********
> <proxy>
>       <id>optional</id>
>       <active>true</active>
>       <protocol>https</protocol>
>       <username>*********</username>
>       <password>**********</password>
>       <host>*.*.*.*</host>
>       <port>****</port>
>       <nonProxyHosts>repo.maven.apache.*</nonProxyHosts>
>     </proxy>
>
> **********
>
>
> Regards,
> Shekhar
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-2-15-2-set-up-issue-tp5767584p5767593.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: Camel 2.15.2 set up issue

Posted by "shekhar.shaw" <sh...@mindtree.com>.
Thank you for your reply.

I've already did that configuration on settings.xml as well as on IE
settings, but no luck.

However I can open below url from local browser.

https://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/
2.15.0/camel-parent-2.15.0.pom


Here are the entries for settings.xml

**********
<proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>https</protocol>
      <username>*********</username>
      <password>**********</password>
      <host>*.*.*.*</host>
      <port>****</port>
      <nonProxyHosts>repo.maven.apache.*</nonProxyHosts>
    </proxy>

**********


Regards,
Shekhar



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-2-15-2-set-up-issue-tp5767584p5767593.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel 2.15.2 set up issue

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Maybe you need to use a http proxy to download using maven. See this FAQ
http://maven.apache.org/general.html#proxy-needed

On Thu, May 28, 2015 at 8:34 AM, shekhar.shaw <sh...@mindtree.com> wrote:
> Hello,
> I am new to this forum, & also trying to learn camel.
>
> I am using maven 3.3.1 & configured my maven home.
>
> I am trying to set up apache camel 2.15.0, however I am getting issues.
>
> Below are steps I am performing.
> 1. unzip 2.15.0; there are 3 folders, viz doc, examples & lib.
> 2. navigate command prompt to "examples" folder & hit mvn install
>
> It is giving mw following error:
>
> *****************************START***********************************
> [INFO] Scanning for projects...
> Downloading:
> https://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/
> 2.15.0/camel-parent-2.15.0.pom
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [FATAL] Non-resolvable parent POM for
> org.apache.camel:examples:[unknown-version
> ]: Could not transfer artifact org.apache.camel:camel-parent:pom:2.15.0
> from/to
> central (https://repo.maven.apache.org/maven2): Connect to
> repo.maven.apache.org
> :443 [repo.maven.apache.org/199.27.79.215] failed: Connection timed out:
> connect
>  and 'parent.relativePath' points at wrong local POM @ line 21, column 11
>  @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.camel:examples:[unknown-version]
> (D:\Work\Camel
> \apache-camel-2.15.0\apache-camel-2.15.0\examples\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM for
> org.apache.camel:examples:[unknown-ver
> sion]: Could not transfer artifact org.apache.camel:camel-parent:pom:2.15.0
> from
> /to central (https://repo.maven.apache.org/maven2): Connect to
> repo.maven.apache
> .org:443 [repo.maven.apache.org/199.27.79.215] failed: Connection timed out:
> con
> nect and 'parent.relativePath' points at wrong local POM @ line 21, column
> 11 ->
>  [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
> **********************************END*******************************
>
> Just to add, I can access https://repo.maven.apache.org/maven2
> Also my maven repo folder is not adding any jar files.
>
> Please suggest.
>
>
> Regards,
> Shekhar
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-2-15-2-set-up-issue-tp5767584.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/