You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Huisman <ch...@taylor.com> on 2005/01/11 19:45:09 UTC

jar:deploy via ftp

Hello,

I am trying to get my artifacts deployed to a central repository using 
jar:deploy and ftp.  The problem I am encountering is that I get the 
following:

257 "/home/devel/repository/hotdog" created
SITE CHGRP null hotdog
500 Unknown SITE command.
SITE CHMOD g+w hotdog
200 SITE CHMOD command ok.
CWD hotdog
550 Failed to change directory.
Failed to deploy to: R3 Reason: Error executing FTP command

I looked into the artifact plugin and it attempts to change the group 
and then change the group permissions to write but the command does not 
seem to work.  What am I doing wrong?  I have a maven.remote.group 
parameter set, but artifact doesn't seem to be able to see it.


thanks,

c.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: jar:deploy via ftp

Posted by Chris Huisman <ch...@taylor.com>.
Line 76 of  maven-artifact-plugin-1.4.1/plugin.jelly is:

siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp 
${maven.remote.group} ${pomFilename}"

I have maven.remote.group set, but whenever I run jar:deploy it says it 
is "null". 

Can anybody tell me if ftp actually allows chgrp?  I don't think it does 
at least not on fedora core vsftp.

Does anyone have deploy working using ftp?

c.

Chris Huisman wrote:

> No, setting the maven.repo.x.group does not work either.  I get the 
> following when trying that:
>
> 200 Switching to Binary mode.
> CWD repository
> 250 Directory successfully changed.
> Deploying: 
> D:\chuisman\dev\hotdog\project.xml-->hotdog/poms/qsCommons-0.01.pom
> CWD hotdog
> 550 Failed to change directory.
> MKD hotdog
> 550 Create directory operation failed.
> Failed to deploy to: R3 Reason: Error executing FTP command
>
> BUILD FAILED
> File...... C:\Documents and 
> Settings\chuisman\.maven\cache\maven-artifact-plugin
> -1.4.1\plugin.jelly
> Element... artifact:artifact-deploy
> Line...... 94
> Column.... 13
> Unable to deploy to any repositories
> Total time: 4 seconds
> Finished at: Tue Jan 11 13:15:38 MST 2005
>
> Does ftp even allow a chgrp command?  I am using the artifact 1.4.1 
> plugin.  is ther a more recent one?
>
> c.
>
> Brett Porter wrote:
>
>> While maven.remote.group should be picked up, that's a legacy setting.
>> Does it work if you use maven.repo.X.group=...?
>>
>> (where X matches the other settings for that repo)
>>
>> - Brett
>>
>>
>> On Tue, 11 Jan 2005 11:45:09 -0700, Chris Huisman 
>> <ch...@taylor.com> wrote:
>>  
>>
>>> Hello,
>>>
>>> I am trying to get my artifacts deployed to a central repository using
>>> jar:deploy and ftp.  The problem I am encountering is that I get the
>>> following:
>>>
>>> 257 "/home/devel/repository/hotdog" created
>>> SITE CHGRP null hotdog
>>> 500 Unknown SITE command.
>>> SITE CHMOD g+w hotdog
>>> 200 SITE CHMOD command ok.
>>> CWD hotdog
>>> 550 Failed to change directory.
>>> Failed to deploy to: R3 Reason: Error executing FTP command
>>>
>>> I looked into the artifact plugin and it attempts to change the group
>>> and then change the group permissions to write but the command does not
>>> seem to work.  What am I doing wrong?  I have a maven.remote.group
>>> parameter set, but artifact doesn't seem to be able to see it.
>>>
>>> thanks,
>>>
>>> c.
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>  
>>
>
> ---------------------------------------------------------------------
> 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


Re: jar:deploy via ftp

Posted by Chris Huisman <ch...@taylor.com>.
No, setting the maven.repo.x.group does not work either.  I get the 
following when trying that:

200 Switching to Binary mode.
CWD repository
250 Directory successfully changed.
Deploying: 
D:\chuisman\dev\hotdog\project.xml-->hotdog/poms/qsCommons-0.01.pom
CWD hotdog
550 Failed to change directory.
MKD hotdog
550 Create directory operation failed.
Failed to deploy to: R3 Reason: Error executing FTP command

BUILD FAILED
File...... C:\Documents and 
Settings\chuisman\.maven\cache\maven-artifact-plugin
-1.4.1\plugin.jelly
Element... artifact:artifact-deploy
Line...... 94
Column.... 13
Unable to deploy to any repositories
Total time: 4 seconds
Finished at: Tue Jan 11 13:15:38 MST 2005

Does ftp even allow a chgrp command?  I am using the artifact 1.4.1 
plugin.  is ther a more recent one?

c.

Brett Porter wrote:

>While maven.remote.group should be picked up, that's a legacy setting.
>Does it work if you use maven.repo.X.group=...?
>
>(where X matches the other settings for that repo)
>
>- Brett
>
>
>On Tue, 11 Jan 2005 11:45:09 -0700, Chris Huisman <ch...@taylor.com> wrote:
>  
>
>>Hello,
>>
>>I am trying to get my artifacts deployed to a central repository using
>>jar:deploy and ftp.  The problem I am encountering is that I get the
>>following:
>>
>>257 "/home/devel/repository/hotdog" created
>>SITE CHGRP null hotdog
>>500 Unknown SITE command.
>>SITE CHMOD g+w hotdog
>>200 SITE CHMOD command ok.
>>CWD hotdog
>>550 Failed to change directory.
>>Failed to deploy to: R3 Reason: Error executing FTP command
>>
>>I looked into the artifact plugin and it attempts to change the group
>>and then change the group permissions to write but the command does not
>>seem to work.  What am I doing wrong?  I have a maven.remote.group
>>parameter set, but artifact doesn't seem to be able to see it.
>>
>>thanks,
>>
>>c.
>>
>>---------------------------------------------------------------------
>>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
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: jar:deploy via ftp

Posted by Brett Porter <br...@gmail.com>.
While maven.remote.group should be picked up, that's a legacy setting.
Does it work if you use maven.repo.X.group=...?

(where X matches the other settings for that repo)

- Brett


On Tue, 11 Jan 2005 11:45:09 -0700, Chris Huisman <ch...@taylor.com> wrote:
> Hello,
> 
> I am trying to get my artifacts deployed to a central repository using
> jar:deploy and ftp.  The problem I am encountering is that I get the
> following:
> 
> 257 "/home/devel/repository/hotdog" created
> SITE CHGRP null hotdog
> 500 Unknown SITE command.
> SITE CHMOD g+w hotdog
> 200 SITE CHMOD command ok.
> CWD hotdog
> 550 Failed to change directory.
> Failed to deploy to: R3 Reason: Error executing FTP command
> 
> I looked into the artifact plugin and it attempts to change the group
> and then change the group permissions to write but the command does not
> seem to work.  What am I doing wrong?  I have a maven.remote.group
> parameter set, but artifact doesn't seem to be able to see it.
> 
> thanks,
> 
> c.
> 
> ---------------------------------------------------------------------
> 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