Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2182

site:deploy will fail if site url is file:// and directory is non-empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.2
    • None
    • Sites & Reporting
    • None
    • win2k

    Description

      The first time I run site:deploy, all is fine. The second time, I get the following error.

      Embedded error: Could not make directory '\\myFileServer\path\to\project\website\.'.

      If I delete this directory, site:deploy works as expected.

      My POM contains this fragment.

      <distributionManagement>
      <site>
      <id>website</id>
      <name>my project website</name>
      <url>file:////myFileServer/path/to/project/website/</url>
      </site>
      </distributionManagement>

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              mmunz@apelon.com Matt Munz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: