Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-384

site:stage-deploy fails on Windows for projects with 3 levels of modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-7
    • 2.0
    • multi module
    • None

    Description

      My case involves deploying a staging site for doxia-1.0. The project structure is like this:

      doxia
        |
        `-- doxia-modules
                  |
                  `-- doxia-module-confluence
      

      After running 'mvn site:stage-deploy -Preporting' I get the following error message:

      Executing command: scp -t "/www/maven.apache.org/doxia/doxia-1.0.x/staging/doxia-modules\doxia-module-confluence/./wagon7568.zip"
      Transfer error: java.io.IOException: SCP terminated with error: 'scp: /www/maven.apache.org/doxia/doxia-1.0.x/staging/doxia-modules\doxia-module-confluence/./wagon7568.zip: No such file or directory'
      Transfer error: org.apache.maven.wagon.TransferFailedException: Error occured while deploying './wagon7568.zip' to remote repository: scp://people.apache.org/www/maven.apache.org/doxia/doxia-1.0.x/staging/doxia-modules\doxia-module-confluence: SCP terminated with error: 'scp: /www/maven.apache.org/doxia/doxia-1.0.x/staging/doxia-modules\doxia-module-confluence/./wagon7568.zip: No such file or directory'

      If you look closely at the scp: URL it contains a '\' instead of a '/' between doxia-modules and doxia-module-confluence.

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            dennisl@apache.org Dennis Lundberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: