Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-265

Let ftp wagon copy to a non-existing directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-5
    • 2.0
    • wagon-ftp
    • None
    • Patch

    Description

      I usually configure my poms with such a site url : ftp://hostname/path/to/www/projects/${artifactId}-${version}

      This actually works (as far as I can tell) with the ssh wagon. The ftp wagon chokes, however, because the initial changeDir command is called with the path above, and unlike when copying further files, it doesn't attempt to create the missing directories.

      Is there a reason for this? Couldn't this be the default behaviour, or even an optional one ?

      Alternatively, I'd have fancied a way to configure the site:deploy mojo to tell it to pass something else than "." as destinationDirectory when calling wagon.putDirectory ...

      Attachments

        Activity

          People

            struberg Mark Struberg
            gjoseph Grégory Joseph
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: