On 07/04/2010, Adrian Crum <[email protected]> wrote:
> --- On Tue, 4/6/10, Adrian Crum <[email protected]> wrote:
>
> > --- On Tue, 4/6/10, Phil Steitz
> > <[email protected]>
> > wrote:
> > > Adrian Crum wrote:
> > > > I just noticed something interesting: it doesn't
> > > matter what I put in the <id> child element of
> > the
> > > <server> element of settings.xml - maven still
> > tries
> > > to log into people.apache.org. It acts like the
> > settings
> > > file is being ignored.
> > > >
> > > The settings file is just to associate the logical
> > server
> > > name with
> > > your user id and the config settings in that file.
> > > The sandbox
> > > parent pom specifies people.apache.org as the
> > deployment
> > > host and
> > > associates the "id" apache.website with that host.
> > So
> > > it is always
> > > going to try to deploy there, regardless of what you
> > have
> > > in
> > > server.xml. The info in server.xml is to fill in
> > your
> > > username -
> > > like a -l or a you@ in front of the ssh command.
> > >
> > > What OS are you running? Where do you have the
> > settings.xml
> > > file
> > > deployed locally? Should be in the .m2 directory
> > > (peer of
> > > "repository"). Also, the <server> entry for
> > > apache.website needs to
> > > be nested in a <servers> list. Sorry this is
> > a
> > > pain to get working.
> >
> > I'm running Windows XP. The settings file is in
> > maven/config. The <server> element is a child of
> > <servers>. I don't have a .m2 directory.
>
>
> I just ran mvc site:deploy again, and now I get a different error message:
>
>
> scp://people.apache.org/www/commons.apache.org/sandbox/commons-convert -
> Session
>
> : Opened
> Executing command: mkdir -p /www/commons.apache.org/sandbox/commons-convert/.
> Executing command: mkdir -p /www/commons.apache.org/sandbox/commons-convert/.
> Executing command: scp -t
> "/www/commons.apache.org/sandbox/commons-convert/./wag
> on2387570294028293609.zip"
> Transfer error: java.io.IOException: SCP terminated with error: 'scp:
> /www/commons.apache.org/sandbox/commons-convert/./wagon2387570294028293609.zip:
> Permission denied'
> Transfer error: org.apache.maven.wagon.TransferFailedException: Error
> occurred while deploying './wagon2387570294028293609.zip' to remote
> repository:
> scp://people.apache.org/www/commons.apache.org/sandbox/commons-convert: SCP
> terminated with error: 'scp:
> /www/commons.apache.org/sandbox/commons-convert/./wagon238757029
> 4028293609.zip: Permission denied'
Probably because you are not in the commons unix group:
$ list_unix_group.pl -u adrianc
committers
ofbiz
I think the PMC chair may be able to add you to the group using the script:
modify_unix_group.pl
Usage: modify_unix_group.pl <group> (--add=<list>|--rm=<list>|--help)
> scp://people.apache.org/www/commons.apache.org/sandbox/commons-convert -
> Session
> : Disconnecting
> scp://people.apache.org/www/commons.apache.org/sandbox/commons-convert -
> Session
> : Disconnected
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error uploading site
>
>
> Embedded error: Error occurred while deploying
> './wagon2387570294028293609.zip'
> to remote repository:
> scp://people.apache.org/www/commons.apache.org/sandbox/com
> mons-convert: SCP terminated with error: 'scp:
> /www/commons.apache.org/sandbox/c
> ommons-convert/./wagon2387570294028293609.zip: Permission denied'
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20 seconds
> [INFO] Finished at: Tue Apr 06 22:18:57 PDT 2010
> [INFO] Final Memory: 13M/32M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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]