Re: Facing problem whith Maven for Portals-pom 1.4

2015-08-08 Thread Karl Heinz Marbaise

Hi,

are you behind a corporate firewall / proxy ?

Furthermore have you correctly configured your nexus?

Have you tried to get the pom via browser / curl ?

https://repo.maven.apache.org/maven2/org/apache/portals/portals-pom/1.4/portals-pom-1.4.pom

Have you tried the following url as central URL:

https://repo1.maven.org/maven2/

Kind regards
Karl Heinz Marbaise
PS.: Please use the users list for such questionsand not dev list...


On 8/7/15 8:11 PM, Lalitha Bourishetty wrote:



Hi Team,



When I tried to build Jetspeed 2.3 source code with maven 3.3.1 , got below 
error:

Downloading: 
https://repo.maven.apache.org/maven2/org/apache/portals/portals-pom/1.4/portals-pom-1.4.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for 
org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Could not transfer artifact 
org.apache.portals:portals-pom:pom:1.4 from/to central 
(https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 
[repo.maven.apache.org/23.235.40.215] failed: Connection timed out: connec t and 
'parent.relativePath' points at wrong local POM @ line 28, column 11 @ [ERROR] The 
build could not read 1 project - [Help 1]

org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for 
org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Could not transfer artifact 
org.apache.portals:portals-pom:pom:1.4 from/to central 
(https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 
[repo.maven.apache.org/23.235.40.215] failed: Connection timed out: connec t 
and 'parent.relativePath' points at wrong local POM @ line 28, column 11





I thought it might be problem with proxy and made all required settings in 
settings.xml (settings like proxy etc.)

Even after configuring proxy got same error.



I tried to do using Maven repository server I went with Nexus.

When Tried with nexus got below exception:

When I tried with Nexus, I am facing below error:
 org.apache.http.conn.ConnectTimeoutException: Connect to repo1.maven.org:443 
[repo1.maven.org/23.235.44.209] failed: connect timed out




jvm 1|   at 
org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:134)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getContent(MavenRepositoryReader.java:231)
 [nexus-rrb-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extract(MavenRepositoryReader.java:101)
 [nexus-rrb-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(RemoteBrowserResource.java:138)
 [nexus-rrb-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233)
 [nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39)
 [nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 
org.restlet.resource.Resource.getRepresentation(Resource.java:302) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 
org.restlet.resource.Resource.handleGet(Resource.java:464) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Finder.handle(Finder.java:353) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Filter.doHandle(Filter.java:150) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 

RE: Facing problem whith Maven for Portals-pom 1.4

2015-08-07 Thread Lalitha Bourishetty
 

Hi Team,

 

When I tried to build Jetspeed 2.3 source code with maven 3.3.1 , got below 
error:

Downloading: 
https://repo.maven.apache.org/maven2/org/apache/portals/portals-pom/1.4/portals-pom-1.4.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for 
org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Could not transfer artifact 
org.apache.portals:portals-pom:pom:1.4 from/to central 
(https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 
[repo.maven.apache.org/23.235.40.215] failed: Connection timed out: connec t 
and 'parent.relativePath' points at wrong local POM @ line 28, column 11 @ 
[ERROR] The build could not read 1 project - [Help 1]

org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for 
org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Could not transfer artifact 
org.apache.portals:portals-pom:pom:1.4 from/to central 
(https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 
[repo.maven.apache.org/23.235.40.215] failed: Connection timed out: connec t 
and 'parent.relativePath' points at wrong local POM @ line 28, column 11

 

 

I thought it might be problem with proxy and made all required settings in 
settings.xml (settings like proxy etc.)

Even after configuring proxy got same error.

 

I tried to do using Maven repository server I went with Nexus.

When Tried with nexus got below exception:

When I tried with Nexus, I am facing below error:

org.apache.http.conn.ConnectTimeoutException: Connect to repo1.maven.org:443 
[repo1.maven.org/23.235.44.209] failed: connect timed out

jvm 1|   at 
org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:134)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) 
~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
 ~[httpclient-4.3.6.jar:4.3.6]

jvm 1|   at 
org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.getContent(MavenRepositoryReader.java:231)
 [nexus-rrb-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.nexus.plugins.rrb.MavenRepositoryReader.extract(MavenRepositoryReader.java:101)
 [nexus-rrb-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.nexus.plugins.rrb.RemoteBrowserResource.get(RemoteBrowserResource.java:138)
 [nexus-rrb-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233)
 [nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 
org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39)
 [nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 
org.restlet.resource.Resource.getRepresentation(Resource.java:302) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at 
org.restlet.resource.Resource.handleGet(Resource.java:464) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Finder.handle(Finder.java:353) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Filter.doHandle(Filter.java:150) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Filter.handle(Filter.java:195) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Router.handle(Router.java:504) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Filter.doHandle(Filter.java:150) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Filter.handle(Filter.java:195) 
[nexus-restlet1x-plugin-2.11.4-01/:na]

jvm 1|   at org.restlet.Filter.doHandle(Filter.java:150)