use same user agent as maven for getting the meta data
------------------------------------------------------
Key: MVERSIONS-165
URL: https://jira.codehaus.org/browse/MVERSIONS-165
Project: Maven 2.x Versions Plugin
Issue Type: Improvement
Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: C:\devtools\maven\apache-maven-3.0.3
Java version: 1.5.0_16, vendor: Sun Microsystems Inc.
Java home: C:\devtools\java\jdk1.5.0_16\jre
Default locale: en_CA, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
Reporter: Jim Sellers
When running mvn versions:display-dependency-updates the tool makes http
requests to pull down maven-metadata.xml files. The user agent is listed as
"Java/1.5.0_16" rather than the "Apache-Maven" or whatever is configured is
configured in the settings.xml file
http://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email