[ http://jira.codehaus.org/browse/SCM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160475#action_160475 ]
Dan Tran commented on SCM-432: ------------------------------ second thought, from svn provider perspective, its may not like this kind of code //svn barbs if outputDirectory exists File outputDir = new File( outputDirectory ); if ( outputDir.list().length == 0 ) { outputDir.delete(); } since it assumes the client to do that work prior using export command. Perhaps we should make exception to do it at plugin level with check for svn > Goal scm:export does not work for Subversion repository > ------------------------------------------------------- > > Key: SCM-432 > URL: http://jira.codehaus.org/browse/SCM-432 > Project: Maven SCM > Issue Type: Bug > Components: maven-plugin > Affects Versions: 1.1 > Environment: Windows XP SP3; Sun Java DK 1.5.0_14; Maven 2.0.9 > Reporter: Vit Popelka > Attachments: export.patch > > > Execution of goal scm:export failed with message: > [INFO] [scm:export {execution: export-field-wsdl}] > [INFO] Executing: cmd.exe /X /C "svn --non-interactive export > svn://...../wsdl C:\.../wsdl" > [INFO] Working directory: C:\...\field-wsdl > [ERROR] Provider message: > [ERROR] The svn command failed. > [ERROR] Command output: > [ERROR] svn: Destination directory exists; please remove the directory or use > --force to overwrite > svn: 'C:\...\wsdl' already exists -- 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