You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by madhava pulakanti <ma...@huawei.com> on 2015/12/21 13:02:12 UTC

Camel Not Compiling in Unix Env

Dear all,

When I tried to compile the camel samples in unix environment I am getting the below issue. But the same I can successfully run on Windows Machine.

Please suggest.

INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/2.16.1/camel-parent-2.16.1.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.16.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/185.31.17.215] failed: Connection refused and 'parent.relativePath' points at wrong local POM @ org.apache.camel:examples:[unknown-version], /home/vaiasit/madhav/apache-camel-2.16.1/examples/pom.xml, line 21, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.camel:camel-example-cxf-proxy:[unknown-version] (/home/vaiasit/madhav/apache-camel-2.16.1/examples/camel-example-cxf-proxy/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.camel:examples:[unknown-version]: Could not transfer artifact org.apache.camel:camel-parent:pom:2.16.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/185.31.17.215] failed: Connection refused and 'parent.relativePath' points at wrong local POM @ org.apache.camel:examples:[unknown-version], /home/vaiasit/madhav/apache-camel-2.16.1/examples/pom.xml, line 21, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Thanks
Madhava

Re: Camel Not Compiling in Unix Env

Posted by Claus Ibsen <cl...@gmail.com>.
Seems like Maven cannot download the JARs due no connection. See this FAQ
http://maven.apache.org/general.html#proxy-needed

On Mon, Dec 21, 2015 at 1:02 PM, madhava pulakanti
<ma...@huawei.com> wrote:
> Dear all,
>
> When I tried to compile the camel samples in unix environment I am getting the below issue. But the same I can successfully run on Windows Machine.
>
> Please suggest.
>
> INFO] Scanning for projects...
> Downloading: https://repo.maven.apache.org/maven2/org/apache/camel/camel-parent/2.16.1/camel-parent-2.16.1.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.16.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/185.31.17.215] failed: Connection refused and 'parent.relativePath' points at wrong local POM @ org.apache.camel:examples:[unknown-version], /home/vaiasit/madhav/apache-camel-2.16.1/examples/pom.xml, line 21, column 11
> @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.camel:camel-example-cxf-proxy:[unknown-version] (/home/vaiasit/madhav/apache-camel-2.16.1/examples/camel-example-cxf-proxy/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM for org.apache.camel:examples:[unknown-version]: Could not transfer artifact org.apache.camel:camel-parent:pom:2.16.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/185.31.17.215] failed: Connection refused and 'parent.relativePath' points at wrong local POM @ org.apache.camel:examples:[unknown-version], /home/vaiasit/madhav/apache-camel-2.16.1/examples/pom.xml, line 21, column 11 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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 read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>
> Thanks
> Madhava



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2