On Thu, Feb 10, 2011 at 11:44:11PM +0100, Ludovic Claude wrote: > > Can you run the same command but with the --debug option? This will help > to trace what is the source of the problem, it can be anything here, > especially as your proxy may not be configured properly. > > mvn --debug -Djava.net.preferIPv4Stack=true archetype:generate > -DgroupId=jam -DartifactId=lib-jam > -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
I attached the stdout+stderr output to this mail. > How did you set this http_proxy environment variable? Well, simply as export http_proxy=<proxyurl:port> as it is regarded by all tools I use. > Have you followed this guide for using proxies with Maven? > http://maven.apache.org/guides/mini/guide-proxies.html Now I did (for the log above!!): $ cat ~/.m2/settings.xml <settings> <proxies> <!-- http://maven.apache.org/guides/mini/guide-proxies.html --> <proxy> <active>true</active> <protocol>http</protocol> <host>fw-bln-proxy.rki.ivbb.bund.de</host> <port>8080</port> </proxy> </proxies> </settings> BTW, I honestly think that there needs to be a hint to the URL above at least in README.Debian. I would be even more happy as a user if I would get a warning: mvn: You have set a proxy via http_proxy in your environment but there is no file ~/.m2/settings.xml / a proxy entry in this file is missing. Should I create such a file / an according entry for you based on the proxy information? [Y/n] or something like this. If it turns out the the proxy is not the real reason for my problem (but should be set anyway) I'd like to turn this into a wishlist bug report. Kind regards Andreas. -- http://fam-tille.de
mvn.log.gz
Description: Binary data
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

