Stefan Bodewig wrote:
On 2011-02-24, Ludmila Shikhvarg wrote:

Any specific doc I can take a look to fix my problem ?

I'm afraid there isn't any, we don't even have a binary distribution of
the current mvn repo code (or any version of it).  As far as
installation goes there are some hints in
<http://wiki.apache.org/gump/VmgumpConfig> but not much more.

You really are the only person outside of the ASF who wants to run an
instance of Gump - which is great - and thus our documentation for
installing it is either not existant or missing.  Any help on improving
the docs is very much appreciated.

First of all you need Gump's mvn repository proxy.  Check out
<https://svn.apache.org/repos/asf/gump/mvnrepo/trunk/> and build it
using "ant jar".

The you must set the MVN_PROXY_HOME environment variable inside your
local-env-*.sh to point to the lib directory of your copy of the repo
proxy.

There shouldn't be anything else you need to do.  When you start Gump
the next time it should fire up the proxy (and kill it when done) and
publish all jar and pom artifacts to it as it goes.
Here is my output after build mvnrepo ($ ant jar):
Starting mvn repository proxy
Running: java -jar /SOME/PATH//repoproxy.jar 80 /tmp/tmpLm-0Ci.properties
Loading prefix map from /tmp/tmpLm-0Ci.properties
mvn Repository proxy started
Feb 28, 2011 4:31:54 AM org.apache.gump.mvnrepoproxy.HostResolver initialize
INFO: Mapping /repo/m2-snapshot-repository to http://people.apache.org
Feb 28, 2011 4:31:54 AM org.apache.gump.mvnrepoproxy.HostResolver initialize
INFO: Mapping /maven/2 to http://download.java.net
Feb 28, 2011 4:31:54 AM org.apache.gump.mvnrepoproxy.HostResolver initialize
INFO: Mapping /maven2 to http://repo1.maven.org
2011-02-28 04:31:54.192::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
Build Project: #[(1, 836)] : ant-1.6.5-pom :  [state:Unset]
Feb 28, 2011 4:31:54 AM com.noelios.restlet.ext.httpclient.HttpClientHelper start
INFO: Starting the HTTP client
2011-02-28 04:31:54.311::INFO:  jetty-6.1.5
2011-02-28 04:31:54.335::WARN:  failed SelectChannelConnector@0.0.0.0:80
java.net.SocketException: Permission denied
       at sun.nio.ch.Net.bind0(Native Method)
       at sun.nio.ch.Net.bind(Net.java:324)
       at sun.nio.ch.Net.bind(Net.java:316)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
       at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:309) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
       at org.mortbay.jetty.Server.doStart(Server.java:228)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at com.noelios.restlet.ext.jetty.JettyServerHelper.start(JettyServerHelper.java:386)
       at org.restlet.Server.start(Server.java:383)
       at org.restlet.Component.startServers(Component.java:1233)
       at org.restlet.Component.start(Component.java:1194)
       at org.apache.gump.mvnrepoproxy.Main.main(Main.java:114)

As a result, commons-configuration fails with the same problem:

Failed to resolve artifact.
Missing:
----------
1) org.apache.commons:commons-vfs2:jar:2.0-SNAPSHOT

Ludmila

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org


Reply via email to