]
James Strachan commented on FORGE-2492:
---------------------------------------
BTW do you happen to know if there's a system property we can use to define the users
~/.m2/repository folder? I can try the standard env vars but it'll be handy to
override them in tests
forge hangs on AbstractProjectCommand.getSelectedProject() when used
inside fabric8-forge (the REST service)
------------------------------------------------------------------------------------------------------------
Key: FORGE-2492
URL:
https://issues.jboss.org/browse/FORGE-2492
Project: Forge
Issue Type: Feature Request
Affects Versions: 2.17.0.Final, 2.19.2.Final
Environment: using the fabric8-forge docker image inside OpenShift
Reporter: James Strachan
Here's a stack trace:
https://gist.github.com/jstrachan/741d65b7dd87ca0e701e
when using Forge from the hawtio console, the JVM seems to hang for 1-2 minutes now
inside the call to AbstractProjectCommand.getSelectedProject(). Whats odd is I can create
an archetype and invoke this code path on startup just fine - but then thats in a
different thread to the one using Forge from inside the JAXRS service; so am wondering if
its related to which thread is being used?
Seems to ultimately be a wagon / aether issue; taking too long to download things.
Wonder is there any way to configure the maven addon in forge to register a Wagon
listener maybe? No idea whats causing the pause