You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Frank Russo <fr...@FXALL.com> on 2006/03/03 20:09:29 UTC
RE: File sharing issue with maven-deploy using wagon
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: File sharing issue with maven-deploy using wagon
Posted by Wayne Fay <wa...@gmail.com>.
Post a bug report in the Maven Jira for the appropriate plugin/component:
http://jira.codehaus.org/secure/Dashboard.jspa
Wayne
On 3/3/06, Frank Russo <fr...@fxall.com> wrote:
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org