|
|
|
I still receive
[INFO] Wagon protocol 'ftp' doesn't support directory copying when doing a release:perform, even after putting wagon-ftp-1.0-beta-1.jar in the $MAVEN_HOME/lib directory. In my pom.xml I have to following project/distributionManagement/site/url value: ftp://www.frankcornelis.be/dcontract/ When will this issue be fixed? Is some one working on this issue, Looks like its not yet assigned.
I am trying to deplot the Site, looks like it wants to do a directory FTP and it throws this error. [INFO] [site:deploy] Same here, are anyone working on this one?
If not, do someone have a good description of using the WEBDAV protocol instead for those that cannot use SSH due to infrastructure restrictions? Attaching a functioning patch which can be applied to enable FTP upload.
This does a recursive directory upload; all tests pass, and I've used it to upload a site on my side. Should do the job. Comments about your patch:
See http://maven.apache.org/guides/development/guide-m2-development.html#Maven%20Code%20Style I'll revise patch; as a sidenote, no removal of public API actually took place, it's an add-only patch; it's just the patch noise. I'll review patch in line with your code guidelines and resubmit should you so choose; or feel free to extract only the two new methods should you choose to push early.
A cleaner patch than the previous, should be more transparent in terms of the activity and has been reformatted to meet Maven code standards.
When it is going to be fixed? Somebody is working on this issue? It blocks us.
Please release a new version, because the bug is still there in 1.0-beta-2.
As Julien says, the latest version does not fix this issue, and this is blocking deplyment (workaround: do it manually)
Also, the patch contains empty catch blocks (when trying to set the permissions on the FTP server). In revision 524156 (line 193) Maybe the catch should log a warning message? And I think you can refine the catch block (from http://commons.apache.org/net/apidocs/org/apache/commons/net/ftp/FTPClient.html#completePendingCommand( catch (FTPConnectionClosedException e) { // If the FTP server prematurely closes the connection as a result // of the client being idle or some other reason causing the server // to send FTP reply code 421. This exception may be caught either // as an IOException or independently as itself. }catch ( IOException e ) { // TODO: handle // michal I am not sure what error means in that context // I think that we will be able to recover or simply we will fail later on }if you want to get it released please bring it up in the mailing list. This issue has been fixed as indicated in svn
After more that a year, it seems that no new released has been deployed that fixes this issue.
What is the procedure to obtain a working stable release ? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<build>
<defaultGoal>install</defaultGoal>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
</extension>
</extensions>
</build>
when exec: mvn site:deploy , error