maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Sonnek (JIRA)" <>
Subject [jira] Created: (MSITE-285) support FTP copy by copying files one at a time
Date Tue, 01 Jan 2008 19:11:58 GMT
support FTP copy by copying files one at a time

                 Key: MSITE-285
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
            Reporter: Ryan Sonnek

since the wagon ftp plugin does not support directory copy, the maven site plugin should "work
around" this by copying the files one at a time.  This is very trivial to do in wagon and
I did the same thing for my webstart-maven-plugin

			if (!wagon.supportsDirectoryCopy()) {
				getLog().warn("Unable to copy directories using the specified protocol: " + url);
				getLog().info("Attempting to transfer individual files to remote server.");
				File[] files = workDirectory.listFiles();
				for (int x = 0; x < files.length; x++) {
					File file = files[x];
					wagon.put(file, file.getName());
			} else {
				wagon.putDirectory(workDirectory, ".");

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message