Hi John,

On 14/07/2009, at 6:40 AM, [email protected] wrote:

+ As of Maven 2.2.1, there are two ways to specify which Wagon provider should be used: via the command line, + or in the <<<\<server\>>>> configuration section of the <<<settings.xml>>>.
+
+*Command-Line Configuration
+
+  To specify the Wagon provider from the command line, simply use the
+ <<<-Dmaven.wagon.provider.\<protocol\>=\<provider-name\>>>> command-line option, like the following:
+
++---+
+mvn -Dmaven.wagon.provider.http=httpclient clean install
++---+
+
+ This instructs Maven to use the HttpClient-based Wagon implementation for connections to HTTP repositories.
+
+*<<<settings.xml>>> Configuration
+
+ To specify which Wagon provider to use for a particular server, modify your <<<settings.xml>>> file to add + the <<<\<wagonProvider\>>>> configuration to your <<<\<server \>>>> entry, like the following:

If both are given, which wins?

Cheers,
Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to