Through this test, you have shown that the problem is not a Jetspeed
problem but is a Maven/Nexus problem with a particular artifact on Maven
Central
You will find that the Maven forum is very active and has lots of very
strong people with some connection to Maven Central.
maven.apache.org has links to the forum.
Ron
On 07/08/2015 3:34 AM, Lalitha Bourishetty wrote:
Hi Team,
@ Ron, Thank you for your support and immediate response in helping to resolve
errors.
As you suggested I tried start with a proxy for Maven Central.
But I am facing error. Please find my error stack trace as below:
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)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36)
[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)
[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)
[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)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
[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)
[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 com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at org.restlet.Application.handle(Application.java:341)
[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.Router.handle(Router.java:504)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at org.restlet.Component.handle(Component.java:676)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at org.restlet.Server.handle(Server.java:331)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at
org.sonatype.nexus.restlet1x.internal.RestletServlet.service(RestletServlet.java:93)
[nexus-restlet1x-plugin-2.11.4-01/:na]
jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
[javax.servlet-3.0.0.v201112011016.jar:na]
jvm 1 | at
com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288)
[guice-servlet-3.1.10.jar:3.1.10]
jvm 1 | at
com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278)
[guice-servlet-3.1.10.jar:3.1.10]
jvm 1 | at
com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)
[guice-servlet-3.1.10.jar:3.1.10]
jvm 1 | at
com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)
[guice-servlet-3.1.10.jar:3.1.10]
jvm 1 | at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
[guice-servlet-3.1.10.jar:3.1.10]
jvm 1 | at
org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
[shiro-web-1.2.3.jar:1.2.3]
jvm 1 | at
org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
[shiro-web-1.2.3.jar:1.2.3]
jvm 1 | at
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
[shiro-web-1.2.3.jar:1.2.3]
jvm 1 | at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
[guice-servlet-3.1.10.jar:3.1.10]
jvm 1 | at
org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)
[shiro-web-1.2.3.jar:1.2.3]
Due to this error I am unable to start with building 2.3 source code.
R3equesst you to Help us in resolving this.
Regards,
Lalitha
-----Original Message-----
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Thursday, August 06, 2015 7:57 PM
To: jetspeed-user@portals.apache.org
Subject: Re: Jetspeed 2.3
What do you mean by "Created a repository there"
You should start with a proxy only until you get the build working and then add
a repo for your own creations.
Ron
On 06/08/2015 9:56 AM, Lalitha Bourishetty wrote:
Hi Ron,
Installed Nexus in my machine. Followed
http://books.sonatype.com/nexus-book/reference/confignx.html done below changes:
Created a repository there and made it public. Added profile, server, mirror,
activate profiles etc. and commented proxy entry which was made earlier.
Then I tried to build source code then also facing error as
below:(8082 is the port number I gave in nexus.properties)
[INFO] Scanning for projects...
[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: Failure to find
org.apache.portals:portals-pom:pom:1.4 in http://localhost
:8082/nexus/content/groups/public was cached in the local repository,
resolution will not be reattempted until the update interval of nexus has
elapsed or updat es are forced and 'parent.relativePath' points at no local POM
@ line 28, column 11
@
[ERROR] The build could not read 1 project -> [Help 1] [ERROR]
[ERROR] The project org.apache.portals.jetspeed-2:jetspeed-2:2.3.0
(C:\jetspeed-2-2.3.0\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.apache.portals.jetspeed-2:jetspeed-2:2.3.0: Failure to find
org.apache.portals:portals-pom:pom:1.4 in http://local
host:8082/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update
interval of nexus has elapsed or u pdates are forced and
'parent.relativePath' points at no local POM @ line 28, 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/ProjectBuildingExcept
ion [ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExce
ption
Let me know how this can be resolved. Let me know if I have to make any other
changes.
Eagerly waiting for reply.
Regards,
Lalitha
-----Original Message-----
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Wednesday, August 05, 2015 6:38 PM
To: Jetspeed Users List
Cc: Ramesh Veera venkata gopi Sama (ramesh.s...@oracle.com)
Subject: Re: Jetspeed 2.3
You will have to read the docs for the full story but the short story is:
- get the Community version of Nexus and install it on a server or if
this is a one-man project on your PC
- use the web interface to
-- configure it with the maven repos that you want it to proxy
-- configure (or check) the local repos that Nexus will set up for
your SNAPSHOT and Release artifacts
- Fix your settings.xml to proxy all Maven repos through your Nexus
- Run your build to check out the Nexus repo and get it populated with
Maven Artifacts
- Use the web interface to check out your Nexus to see what it was
able to download and to investigate missing artifacts
- Continue to build and if new repos are required, add them to your Nexus.
This may not fix your current problem but it will make it easier to find the
source of the problem.
- your settings.xml becomes stable
- you have a web-based system that lets you search and browse all of
the artifacts to which your build has access
- you have a repo where you can deploy your own libraries for
convenient access through Maven
I hope that this helps.
Ron
On 05/08/2015 2:22 AM, Lalitha Bourishetty wrote:
Yes, 2.2 build downloaded portals-pom into local repo.
It has 1.2 and 1.3 folders inside it with some contents.
1.4 folder has only portals-pom-1.4.pom.lastUpdated file.
Could you explain how to use Nexus server in the current scenario.
Regards,
Lalitha
-----Original Message-----
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Tuesday, August 04, 2015 7:34 PM
To: jetspeed-user@portals.apache.org
Subject: Re: Jetspeed 2.3
Did the 2.2 build download the portals-pom into your local repo?
Adding a free Nexus server just makes it a lot easier to work with Maven since
you use it to proxy all your Maven remote repos and it saves downloading things
multiple times over the internet and gives you a lot more visibility into Maven.
Saved us a lot of trouble compared to our original way of working which was
similar to your current setup.
You current setup should work but is more fragile.
Ron
On 04/08/2015 9:57 AM, Lalitha Bourishetty wrote:
No I don't have Nexus, Artifactorym in my local machine.
But without these it is working for Jetspeed 2.2 source code.
In requirements I found only maven 3.3.1 so using the same.
Regards,
Lalitha
-----Original Message-----
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Tuesday, August 04, 2015 7:22 PM
To: Jetspeed Users List
Subject: Re: Jetspeed 2.3
Do you have a Maven repository server (Nexus, Artifactorym etc.) installed?
Using Maven without a repo is a PITA.
Just post to the user list. No need to double post.
Ron
On 04/08/2015 9:43 AM, Lalitha Bourishetty wrote:
Hi Team,
I am also able to see org.apache.portals:portals-pom:pom:1.4 at
https://repo.maven.apache.org/maven2.
I configured proxy in .m2\settings.xml file and %M2_HOME%/conf/settings.xml.
Then also I am getting same error.
When I tried same with Jetspeed 2.2 source code I am able to build code.
But with Jetspeed 2.3 I am facing error as mentioned in my last mail.
Let me know if you have any clue how this can be resolved.
Regards,
Lalitha
-----Original Message-----
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Tuesday, August 04, 2015 7:06 PM
To: Jetspeed Developers List
Subject: Re: Jetspeed 2.3
Looks like a problem with your internet connection.
I just followed the link to https://repo.maven.apache.org/maven2
and
org.apache.portals:portals-pom:pom:1.4 seems to be there.
You might want to use your browser to follow the link and see if you can read
the file.
If you can, try the build again.
On 04/08/2015 9:00 AM, Lalitha Bourishetty wrote:
Hi Team,
I have downloaded jetspeed-2-2.3.0-source-release.zip from
https://portals.apache.org/jetspeed-2/download.html.
I have installed maven 3.3.1,tomcat 7 and java1.8 in my machine.
I followed instructions given at
https://portals.apache.org/jetspeed-2/buildguide/maven-2-build.htm
l
When i ran mvn install command I am getting below error:
C:\jetspeed-2-2.3.0>mvn -e install
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
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
Let me know how this error can be resolved. Looking forward for your reply.
Thank you.
Regards,
Lalitha
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
-------------------------------------------------------------------
-
- To unsubscribe, e-mail:
jetspeed-dev-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-dev-h...@portals.apache.org
-------------------------------------------------------------------
-
- To unsubscribe, e-mail:
jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-user-h...@portals.apache.org
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
--------------------------------------------------------------------
- To unsubscribe, e-mail:
jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-user-h...@portals.apache.org
--------------------------------------------------------------------
- To unsubscribe, e-mail:
jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-user-h...@portals.apache.org
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail:
jetspeed-user-h...@portals.apache.org
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org