You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2006/11/26 20:31:21 UTC

SSH deploy confusion

I'm trying to get my site and artifacts to deploy onto apache.org.

I'm using Mac OS X.

Here's my pom.xml entry:

    <distributionManagement>
        <site>
            <id>tapestry</id>

<url>scpexe://people.apache.org/www/tapestry.apache.org/tapestry5/</url>
        </site>
        <repository>
            <id>tapestry-repo</id>

<url>scp://apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
        </repository>
        <snapshotRepository>
            <id>tapestry-snapshot-repo</id>

<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
        </snapshotRepository>
    </distributionManagement>


I do an ssh-add before invoking Maven:

Good Bashing, Howard!
~
$ cd Documents/workspace/tapestry-project/
~/Documents/workspace/tapestry-project
$ ssh-add
Enter passphrase for /Users/Howard/.ssh/id_dsa:
Identity added: /Users/Howard/.ssh/id_dsa (/Users/Howard/.ssh/id_dsa)
~/Documents/workspace/tapestry-project
$ mvn -N install deploy
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Tapestry Project
[INFO]    task-segment: [install, deploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /Users/Howard/Documents/workspace/tapestry-project/pom.xml
to
/Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
project-5.0.0-SNAPSHOT.pom
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /Users/Howard/Documents/workspace/tapestry-project/pom.xml
to
/Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
project-5.0.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from tapestry-snapshot-repo
Password:: ^C~/Documents/workspace/tapestry-project
$ ssh -l hlship people.apache.org
Last login: Sun Nov 26 11:16:53 2006 from c-24-20-129-166
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 6.1-RELEASE-p10 (SMP) #1: Thu Oct 26 23:58:02 PDT 2006
You can get a good standard workstation install by using the
instant-workstation port/package.  If you have ports installed, you can
install it by doing

        # cd /usr/ports/misc/instant-workstation
        # make install && make clean

as root.  This will install a collection of packages that is convenient to
have on a workstation.
> exit
logout
Connection to people.apache.org closed.
~/Documents/workspace/tapestry-project
$


So ... it asks me for my password (which it should not), even though I can
log in.

I suspect that Maven is sending the wrong user name when it connects to
people.apache.org, but even looking at the source code, I can't see how to
configure or override this.

When I switch to using "scpexe:" for the snapshotRepository URL:

$ mvn -N install deploy
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Tapestry Project
[INFO]    task-segment: [install, deploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /Users/Howard/Documents/workspace/tapestry-project/pom.xml
to
/Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
project-5.0.0-SNAPSHOT.pom
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /Users/Howard/Documents/workspace/tapestry-project/pom.xml
to
/Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
project-5.0.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from tapestry-snapshot-repo
[WARNING] repository metadata for: 'snapshot
org.apache.tapestry:tapestry-project:5.0.0-SNAPSHOT' could not be retrieved
from repository: tapestry-snapshot-repo due to an error: Exit code: 1 -
Permission denied (publickey,keyboard-interactive).

[INFO] Repository 'tapestry-snapshot-repo' will be blacklisted
Uploading:
scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
project-5.0.0-20061126.193010-1.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Error executing command for transfer

Exit code 255 - Permission denied (publickey,keyboard-interactive).

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Sun Nov 26 11:30:12 PST 2006
[INFO] Final Memory: 5M/9M
[INFO]
------------------------------------------------------------------------
~/Documents/workspace/tapestry-project
$


Any clues or hints on this?



-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Re: SSH deploy confusion

Posted by Howard Lewis Ship <hl...@gmail.com>.
Thanks, I'll give that a try.


On 11/26/06, Dan Tran <da...@gmail.com> wrote:
>
> you need to set your apache's user id thru your personal ~/.m2/setting.xml
>
> here is mine
>
>     <server>
>       <id>apache.snapshots</id>
>       <username>dantran</username>
>       <directoryPermissions>775</directoryPermissions>
>       <filePermissions>775</filePermissions>
>     </server>
>
>
>
>
> On 11/26/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> >
> > Adding -Duser.name=hlship to the command line seems to make it work when
> > using scpexe:
> >
> > I'd prefer if there was a way to set that permenantly inside, say, my
> > settings.xml file.
> >
> > On 11/26/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> > >
> > > I'm trying to get my site and artifacts to deploy onto apache.org.
> > >
> > > I'm using Mac OS X.
> > >
> > > Here's my pom.xml entry:
> > >
> > >     <distributionManagement>
> > >         <site>
> > >             <id>tapestry</id>
> > >
> > >
> <url>scpexe://people.apache.org/www/tapestry.apache.org/tapestry5/</url>
> > >         </site>
> > >         <repository>
> > >             <id>tapestry-repo</id>
> > >
> > >
> >
> <url>scp://apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
> > >         </repository>
> > >         <snapshotRepository>
> > >             <id>tapestry-snapshot-repo</id>
> > >
> > >
> >
> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
> > >         </snapshotRepository>
> > >     </distributionManagement>
> > >
> > >
> > > I do an ssh-add before invoking Maven:
> > >
> > > Good Bashing, Howard!
> > > ~
> > > $ cd Documents/workspace/tapestry-project/
> > > ~/Documents/workspace/tapestry-project
> > > $ ssh-add
> > > Enter passphrase for /Users/Howard/.ssh/id_dsa:
> > > Identity added: /Users/Howard/.ssh/id_dsa (/Users/Howard/.ssh/id_dsa)
> > > ~/Documents/workspace/tapestry-project
> > > $ mvn -N install deploy
> > > [INFO] Scanning for projects...
> > > [INFO]
> > >
> >
> ----------------------------------------------------------------------------
> > > [INFO] Building Tapestry Project
> > > [INFO]    task-segment: [install, deploy]
> > > [INFO]
> > >
> >
> ----------------------------------------------------------------------------
> > > [INFO] [site:attach-descriptor]
> > > [INFO] [install:install]
> > > [INFO] Installing
> > > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> > >
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > > project-5.0.0-SNAPSHOT.pom
> > > [INFO] [site:attach-descriptor]
> > > [INFO] [install:install]
> > > [INFO] Installing
> > > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> > >
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > > project-5.0.0-SNAPSHOT.pom
> > > [INFO] [deploy:deploy]
> > > [INFO] Retrieving previous build number from tapestry-snapshot-repo
> > > Password:: ^C~/Documents/workspace/tapestry-project
> > > $ ssh -l hlship people.apache.org
> > > Last login: Sun Nov 26 11:16:53 2006 from c-24-20-129-166
> > > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
> > >         The Regents of the University of California.  All rights
> > reserved.
> > >
> > >
> > > FreeBSD 6.1-RELEASE-p10 (SMP) #1: Thu Oct 26 23:58:02 PDT 2006
> > > You can get a good standard workstation install by using the
> > > instant-workstation port/package.  If you have ports installed, you
> can
> > > install it by doing
> > >
> > >         # cd /usr/ports/misc/instant-workstation
> > >         # make install && make clean
> > >
> > > as root.  This will install a collection of packages that is
> convenient
> > to
> > > have on a workstation.
> > > > exit
> > > logout
> > > Connection to people.apache.org closed.
> > > ~/Documents/workspace/tapestry-project
> > > $
> > >
> > >
> > > So ... it asks me for my password (which it should not), even though I
> > can
> > > log in.
> > >
> > > I suspect that Maven is sending the wrong user name when it connects
> to
> > > people.apache.org, but even looking at the source code, I can't see
> how
> > to
> > > configure or override this.
> > >
> > > When I switch to using "scpexe:" for the snapshotRepository URL:
> > >
> > > $ mvn -N install deploy
> > > [INFO] Scanning for projects...
> > > [INFO]
> > >
> >
> ----------------------------------------------------------------------------
> > >
> > > [INFO] Building Tapestry Project
> > > [INFO]    task-segment: [install, deploy]
> > > [INFO]
> > >
> >
> ----------------------------------------------------------------------------
> > > [INFO] [site:attach-descriptor]
> > > [INFO] [install:install]
> > > [INFO] Installing
> > > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> > >
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > > project-5.0.0-SNAPSHOT.pom
> > > [INFO] [site:attach-descriptor]
> > > [INFO] [install:install]
> > > [INFO] Installing
> > > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> > >
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > > project-5.0.0-SNAPSHOT.pom
> > > [INFO] [deploy:deploy]
> > > [INFO] Retrieving previous build number from tapestry-snapshot-repo
> > > [WARNING] repository metadata for: 'snapshot
> > > org.apache.tapestry:tapestry-project:5.0.0-SNAPSHOT' could not be
> > > retrieved from repository: tapestry-snapshot-repo due to an error:
> Exit
> > > code: 1 - Permission denied (publickey,keyboard-interactive).
> > >
> > > [INFO] Repository 'tapestry-snapshot-repo' will be blacklisted
> > > Uploading:
> > >
> >
> scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > > project-5.0.0-20061126.193010-1.pom
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error deploying artifact: Error executing command for transfer
> > >
> > > Exit code 255 - Permission denied (publickey,keyboard-interactive).
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 4 seconds
> > > [INFO] Finished at: Sun Nov 26 11:30:12 PST 2006
> > > [INFO] Final Memory: 5M/9M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > ~/Documents/workspace/tapestry-project
> > > $
> > >
> > >
> > > Any clues or hints on this?
> > >
> > >
> > >
> > > --
> > > Howard M. Lewis Ship
> > > TWD Consulting, Inc.
> > > Independent J2EE / Open-Source Java Consultant
> > > Creator and PMC Chair, Apache Tapestry
> > > Creator, Apache HiveMind
> > >
> > > Professional Tapestry training, mentoring, support
> > > and project work.  http://howardlewisship.com
> >
> >
> >
> >
> > --
> > Howard M. Lewis Ship
> > TWD Consulting, Inc.
> > Independent J2EE / Open-Source Java Consultant
> > Creator and PMC Chair, Apache Tapestry
> > Creator, Apache HiveMind
> >
> > Professional Tapestry training, mentoring, support
> > and project work.  http://howardlewisship.com
> >
> >
>
>


-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Re: SSH deploy confusion

Posted by Dan Tran <da...@gmail.com>.
you need to set your apache's user id thru your personal ~/.m2/setting.xml

here is mine

    <server>
      <id>apache.snapshots</id>
      <username>dantran</username>
      <directoryPermissions>775</directoryPermissions>
      <filePermissions>775</filePermissions>
    </server>




On 11/26/06, Howard Lewis Ship <hl...@gmail.com> wrote:
>
> Adding -Duser.name=hlship to the command line seems to make it work when
> using scpexe:
>
> I'd prefer if there was a way to set that permenantly inside, say, my
> settings.xml file.
>
> On 11/26/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> >
> > I'm trying to get my site and artifacts to deploy onto apache.org.
> >
> > I'm using Mac OS X.
> >
> > Here's my pom.xml entry:
> >
> >     <distributionManagement>
> >         <site>
> >             <id>tapestry</id>
> >
> > <url>scpexe://people.apache.org/www/tapestry.apache.org/tapestry5/</url>
> >         </site>
> >         <repository>
> >             <id>tapestry-repo</id>
> >
> >
> <url>scp://apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
> >         </repository>
> >         <snapshotRepository>
> >             <id>tapestry-snapshot-repo</id>
> >
> >
> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
> >         </snapshotRepository>
> >     </distributionManagement>
> >
> >
> > I do an ssh-add before invoking Maven:
> >
> > Good Bashing, Howard!
> > ~
> > $ cd Documents/workspace/tapestry-project/
> > ~/Documents/workspace/tapestry-project
> > $ ssh-add
> > Enter passphrase for /Users/Howard/.ssh/id_dsa:
> > Identity added: /Users/Howard/.ssh/id_dsa (/Users/Howard/.ssh/id_dsa)
> > ~/Documents/workspace/tapestry-project
> > $ mvn -N install deploy
> > [INFO] Scanning for projects...
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Tapestry Project
> > [INFO]    task-segment: [install, deploy]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing
> > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > project-5.0.0-SNAPSHOT.pom
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing
> > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > project-5.0.0-SNAPSHOT.pom
> > [INFO] [deploy:deploy]
> > [INFO] Retrieving previous build number from tapestry-snapshot-repo
> > Password:: ^C~/Documents/workspace/tapestry-project
> > $ ssh -l hlship people.apache.org
> > Last login: Sun Nov 26 11:16:53 2006 from c-24-20-129-166
> > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
> >         The Regents of the University of California.  All rights
> reserved.
> >
> >
> > FreeBSD 6.1-RELEASE-p10 (SMP) #1: Thu Oct 26 23:58:02 PDT 2006
> > You can get a good standard workstation install by using the
> > instant-workstation port/package.  If you have ports installed, you can
> > install it by doing
> >
> >         # cd /usr/ports/misc/instant-workstation
> >         # make install && make clean
> >
> > as root.  This will install a collection of packages that is convenient
> to
> > have on a workstation.
> > > exit
> > logout
> > Connection to people.apache.org closed.
> > ~/Documents/workspace/tapestry-project
> > $
> >
> >
> > So ... it asks me for my password (which it should not), even though I
> can
> > log in.
> >
> > I suspect that Maven is sending the wrong user name when it connects to
> > people.apache.org, but even looking at the source code, I can't see how
> to
> > configure or override this.
> >
> > When I switch to using "scpexe:" for the snapshotRepository URL:
> >
> > $ mvn -N install deploy
> > [INFO] Scanning for projects...
> > [INFO]
> >
> ----------------------------------------------------------------------------
> >
> > [INFO] Building Tapestry Project
> > [INFO]    task-segment: [install, deploy]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing
> > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > project-5.0.0-SNAPSHOT.pom
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing
> > /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> >
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > project-5.0.0-SNAPSHOT.pom
> > [INFO] [deploy:deploy]
> > [INFO] Retrieving previous build number from tapestry-snapshot-repo
> > [WARNING] repository metadata for: 'snapshot
> > org.apache.tapestry:tapestry-project:5.0.0-SNAPSHOT' could not be
> > retrieved from repository: tapestry-snapshot-repo due to an error: Exit
> > code: 1 - Permission denied (publickey,keyboard-interactive).
> >
> > [INFO] Repository 'tapestry-snapshot-repo' will be blacklisted
> > Uploading:
> >
> scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> > project-5.0.0-20061126.193010-1.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error deploying artifact: Error executing command for transfer
> >
> > Exit code 255 - Permission denied (publickey,keyboard-interactive).
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Sun Nov 26 11:30:12 PST 2006
> > [INFO] Final Memory: 5M/9M
> > [INFO]
> > ------------------------------------------------------------------------
> > ~/Documents/workspace/tapestry-project
> > $
> >
> >
> > Any clues or hints on this?
> >
> >
> >
> > --
> > Howard M. Lewis Ship
> > TWD Consulting, Inc.
> > Independent J2EE / Open-Source Java Consultant
> > Creator and PMC Chair, Apache Tapestry
> > Creator, Apache HiveMind
> >
> > Professional Tapestry training, mentoring, support
> > and project work.  http://howardlewisship.com
>
>
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
>

Re: SSH deploy confusion

Posted by Howard Lewis Ship <hl...@gmail.com>.
Adding -Duser.name=hlship to the command line seems to make it work when
using scpexe:

I'd prefer if there was a way to set that permenantly inside, say, my
settings.xml file.

On 11/26/06, Howard Lewis Ship <hl...@gmail.com> wrote:
>
> I'm trying to get my site and artifacts to deploy onto apache.org.
>
> I'm using Mac OS X.
>
> Here's my pom.xml entry:
>
>     <distributionManagement>
>         <site>
>             <id>tapestry</id>
>
> <url>scpexe://people.apache.org/www/tapestry.apache.org/tapestry5/</url>
>         </site>
>         <repository>
>             <id>tapestry-repo</id>
>
> <url>scp://apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
>         </repository>
>         <snapshotRepository>
>             <id>tapestry-snapshot-repo</id>
>
> <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
>         </snapshotRepository>
>     </distributionManagement>
>
>
> I do an ssh-add before invoking Maven:
>
> Good Bashing, Howard!
> ~
> $ cd Documents/workspace/tapestry-project/
> ~/Documents/workspace/tapestry-project
> $ ssh-add
> Enter passphrase for /Users/Howard/.ssh/id_dsa:
> Identity added: /Users/Howard/.ssh/id_dsa (/Users/Howard/.ssh/id_dsa)
> ~/Documents/workspace/tapestry-project
> $ mvn -N install deploy
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Tapestry Project
> [INFO]    task-segment: [install, deploy]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing
> /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> project-5.0.0-SNAPSHOT.pom
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing
> /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> project-5.0.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from tapestry-snapshot-repo
> Password:: ^C~/Documents/workspace/tapestry-project
> $ ssh -l hlship people.apache.org
> Last login: Sun Nov 26 11:16:53 2006 from c-24-20-129-166
> Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
>         The Regents of the University of California.  All rights reserved.
>
>
> FreeBSD 6.1-RELEASE-p10 (SMP) #1: Thu Oct 26 23:58:02 PDT 2006
> You can get a good standard workstation install by using the
> instant-workstation port/package.  If you have ports installed, you can
> install it by doing
>
>         # cd /usr/ports/misc/instant-workstation
>         # make install && make clean
>
> as root.  This will install a collection of packages that is convenient to
> have on a workstation.
> > exit
> logout
> Connection to people.apache.org closed.
> ~/Documents/workspace/tapestry-project
> $
>
>
> So ... it asks me for my password (which it should not), even though I can
> log in.
>
> I suspect that Maven is sending the wrong user name when it connects to
> people.apache.org, but even looking at the source code, I can't see how to
> configure or override this.
>
> When I switch to using "scpexe:" for the snapshotRepository URL:
>
> $ mvn -N install deploy
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
>
> [INFO] Building Tapestry Project
> [INFO]    task-segment: [install, deploy]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing
> /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> project-5.0.0-SNAPSHOT.pom
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing
> /Users/Howard/Documents/workspace/tapestry-project/pom.xml to
> /Users/Howard/.m2/repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> project-5.0.0-SNAPSHOT.pom
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from tapestry-snapshot-repo
> [WARNING] repository metadata for: 'snapshot
> org.apache.tapestry:tapestry-project:5.0.0-SNAPSHOT' could not be
> retrieved from repository: tapestry-snapshot-repo due to an error: Exit
> code: 1 - Permission denied (publickey,keyboard-interactive).
>
> [INFO] Repository 'tapestry-snapshot-repo' will be blacklisted
> Uploading:
> scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-project/5.0.0-SNAPSHOT/tapestry-
> project-5.0.0-20061126.193010-1.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Error executing command for transfer
>
> Exit code 255 - Permission denied (publickey,keyboard-interactive).
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Sun Nov 26 11:30:12 PST 2006
> [INFO] Final Memory: 5M/9M
> [INFO]
> ------------------------------------------------------------------------
> ~/Documents/workspace/tapestry-project
> $
>
>
> Any clues or hints on this?
>
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com




-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com