Yes, absolutely works like a charm. ..and it was in the documentation. Just couldn't find it (tree, forest).
Thanks.

On 10/25/10 3:28 PM, Anders Hammar wrote:
Make sure to have the repositoryId param specified:
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html#repositoryId
Define the credentials matching this id in your settings.xml.

/Anders

On Mon, Oct 25, 2010 at 15:04, Gerard Weatherby<[email protected]>wrote:

I'm trying to use the Maven deploy plugin to upload an additional file to
our online public repository.

When I specify
<url>sftp://gerardw,[email protected]:
/home/groups/c/co/connjur/htdocs/m2_repo</url>

in the distributionManagement section of my pm, maven reads the necessary
authentication info from settings.xml and everything works great.

When I attempt the same specification in the maven-deploy-plugin
configuration, it appears to ignore the user name and tries to login into
frs.sourceforge.net using my local username.

Is their a way to specify a user name to the maven deploy plugin?


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




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

Reply via email to