Can someone please help on this? I haven't gotten a resonse, so I
thought I'd ask again in case it fell through the cracks.
I cannot figure it out, and my unix admins and I have ruled out a
unix/network related problem.
It's got to be something in the plugin.
Thanks...
Frank Russo
Senior Developer
FX Alliance, LLC
-----Original Message-----
From: Frank Russo
Sent: Tuesday, February 28, 2006 3:58 PM
To: Maven Users List
Subject: File sharing issue with maven-deploy using wagon
I'm having an issue with sftp using the wagon plugin. When I try to
deploy to our company repository, I'm getting the following error:
[INFO] Error installing artifact's metadata: Error while
deploying metadata: Error occured while deploying
'com/fxall/fxalladmin/fxalladmin-pom/maven-metadata.xml' to remote
repository: sftp://ipaddress/opt/fxall/maven2/internal
[INFO]
------------------------------------------------------------------------
----
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
installing artifact's metadata: Error while deploying metadata: Error
occured while deploying
'com/fxall/fxalladmin/fxalladmin-pom/maven-metadata.xml' to remote
repository: sftp://ipaddress/opt/fxall/maven2/internal
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:556)
...other misc stack trace info...
Caused by: syserr: Not owner, file:
/opt/fxall/maven2/internal/com/fxall/fxalladmin/fxalladmin-pom/maven-met
adata.xml
at com.jcraft.jsch.ChannelSftp.throwStatusError(Unknown
Source)
at com.jcraft.jsch.ChannelSftp._setStat(Unknown Source)
at com.jcraft.jsch.ChannelSftp.chmod(Unknown Source)
at
org.apache.maven.wagon.providers.ssh.SftpWagon.put(SftpWagon.java:122)
... 23 more
The file, along with all the files from the prior build, is owned by my
coworker, but the file and directory permissions are set to 777. If I
ssh to the server, with the same username/password used by maven, I can
edit, delete, etc to any file in the directory.
Has anyone encountered this at all?
Frank Russo
Senior Developer
FX Alliance, LLC
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]