walkmod / walkmod-core

walkmod: an open source tool to fix coding style issues
http://www.walkmod.com
GNU Lesser General Public License v3.0
153 stars 23 forks source link

Walkmod: Getting through a proxy #77

Closed dan2218 closed 6 years ago

dan2218 commented 6 years ago

Hi,

Having trouble getting through a proxy with Walkmod. I ran the following command.

walkmod apply - DconfigurationFile=ruleset.xml pmd

It runs through fine but at the very end when it tries to get some additional google java stuff. It fails with a timeout. I believe this is due to a proxy. I posted an image of the message.

image

I have tried configuring the proxy via environment variables WALKMOD_OPTS and also ANT_OPTS. I also configured the config/ivysetting.xml for the proxy as well. None of this worked. Please let me know if you need any additional information. Any help would be great!

rpau commented 6 years ago

Thanks a lot for reporting so good this problem.

Sorry for the delayed response. It seems to me that the libraries it is trying to resolve belong to your project (guava and glassfish). Walkmod requires to get the sources compiled, and in your case is trying to do this through the maven API. Thus, this output belongs to maven :) and if it has run, it means that dependencies have been finally solved.