All-
  I have a repository and site configuration in distributionManagement.
Both have a URL of the form scpexe://[EMAIL PROTECTED]  I am using
maven 2.0.7.

--snip--
<distributionManagement>
  <repository>
    <id>my.server.com</id>
    <url>scpexe://[EMAIL PROTECTED]/srv/maven2</url>
    <uniqueVersion>false</uniqueVersion>
  </repository>
  <site>
    <id>my.server.com</id>

<url>scpexe://[EMAIL PROTECTED]/srv/sites/${project.artifactId}</url>
  </site>
</distributionManagement>
--snip--

  When I issue a "mvn site:deploy", everything works fine.  However,
"mvn deploy" deploy seems to drop the "username" part of the scpexe url.

  I'd like to set the username in the scpexe url, instead of in my
settings.xml, because each project has an account associated with it.
We avoid the security issues generally associated with a shared account
by using GSSAPI authentication -- we each use our own ticket, but
publish using the same remote account.  This makes permission handling
(chmod) on the remote server simple, but still keeps strong auditing.

  So, why does "mvn deploy" ignore the username part of my URL?

Thank you,
-Matt

-- 
Matthew J. Smith <[EMAIL PROTECTED]>
University of Connecticut UITS

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to