maven - Setting Up Nutch 2.2 -
i trying set-up nutch 2.2. when run ant runtime
command build project fails build with:
server access error: connection refused..........
which followed maven repositories of files cannot download.
there proxy server set-up not allow me download things , fear problem here.
is there other way of setting up?
you have configure proxy ant, in console, before ant runtime
, can configure ant options like:
export ant_opts='-dhttp.proxyhost=proxy -dhttp.proxyport=8080 -dhttp.proxyuser=user -dhttp.proxypassword=password -dhttps.proxyhost=proxy -dhttps.proxyport=8080'
if not enough, maybe need configure ~/.m2/settings.xml
adding (something like):
<proxies> <proxy> <id>proxyid</id> <active>true</active> <protocol>http</protocol> <username>user</username> <password>password</password> <host>proxy</host> <port>8080</port> <nonproxyhosts>localhost|127.0.0.1</nonproxyhosts> </proxy> </proxies>
Comments
Post a Comment