Hello,
I have added the <servers> element and appropriate inner elements (at
least I think I did) to my settings.xml - thx for the help. But, I am
still being prompted for my password. I want to use a different uid not
the one I am logged in with. Here is my settings.xml file
<settings>
<servers>
<server>
<id>scm.bpsserver.com</id>
<username>scm</username>
<password>somepwd</password>
<filePermissions>444</filePermissions>
<directoryPermissions>755</directoryPermissions>
</server>
</servers>
</settings>
This is the output:
linux: mvn -e deploy:deploy-file
-Durl=scp://[EMAIL PROTECTED]:/data/maven/repository
-DrepositoryId=bpsRepository -DgeneratePom=true
-DartifactId=acegi-security -DgroupId=acegi -Dversion=v0.7.0
-Dpackaging=jar -Dfile=acegi-security-v0.7.0.jar
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [deploy:deploy-file]
Password for [EMAIL PROTECTED]: linux:
I just do not understand what I need to do to use a different uid :-(
Thx again for all the help ...
--
Regards,
Douglas WF Acheson
On Tue, 2006-04-25 at 06:55 -0700, Wendy Smoak wrote:
> On 4/25/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
>
> > I expected to be prompted for the password for the user www, but I was
> > prompted for my password, hmmmm. So my question is, how do I specify
> > the uid and password or key (for ssh) for this goal?
>
> In ~/.m2/settings.xml, add a <server> for dwfa.
>
> Here's the model: http://maven.apache.org/maven-settings/settings.html
>
> The 'Suggested Settings' section here has an example of using a private key:
> http://wiki.apache.org/struts/StrutsMaintenanceMaven
>
> HTH,
> --
> Wendy
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]