[ http://jira.codehaus.org/browse/MSITE-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSITE-268: ---------------------------------- Attachment: MSITE-268.zip Here's a sample project that works for me. > Declaring a site with a file:// location one layer deep results in > site-deploy failure > -------------------------------------------------------------------------------------- > > Key: MSITE-268 > URL: http://jira.codehaus.org/browse/MSITE-268 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Reporter: Tom Guyette > Attachments: MSITE-268.zip > > > To reproduce: > 1 - Create a project that has a <site> declaration that uses a > <url>file:///usr/local/test/</url> > 2 - Make sure the directory /usr/local/test exists and has appropriate write > permissions > 3 - Run site-deploy on the project > 4 - Receive error that looks something like this: > [INFO] [site:deploy] > file:///usr/local/m2-websites/transport-webservice/site/transport-webservice-xmlbeans-jar > - Session: Opened > file:///usr/local/m2-websites/transport-webservice/site/transport-webservice-xmlbeans-jar > - Session: Disconnecting > file:///usr/local/m2-websites/transport-webservice/site/transport-webservice-xmlbeans-jar > - Session: Disconnected > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error uploading site > Embedded error: Error copying directory structure > /usr/local/m2-websites/transport-webservice/site/transport-webservice-xmlbeans-jar/./checkstyle.html > (No such file or directory) > 5 - Change the site <url> such that maven will have to create *TWO NEW* > layers of directory, run site-deploy, note that it works! > 6 - Change the site <url> such that maven will have to create ZERO new layers > of directory, run site-deploy, note that it also works! > site-deploy only seems to fail in the case where Maven has to create a single > subdirectory for the current project. It looks like wagon doesn't realize it > has to create the first layer of directory... possibly something to do with > explicit mention of "." as a directory in the wagon code. -- 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