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

         Key: MNG-2182
         URL: http://jira.codehaus.org/browse/MNG-2182
     Project: Maven 2
        Type: Bug

  Components: Sites & Reporting  
    Versions: 2.0.2    
 Environment: win2k
    Reporter: Matt Munz


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>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to