[
https://issues.apache.org/jira/browse/SCM-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962103#comment-17962103
]
ASF GitHub Bot commented on SCM-575:
------------------------------------
jira-importer opened a new issue, #783:
URL: https://github.com/apache/maven-scm/issues/783
**[Lars
Beuster](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=lbeuster)**
opened
**[SCM-575](https://issues.apache.org/jira/browse/SCM-575?redirect=false)** and
commented
Since v1.4 it's not possible anymore to export a single file as the
connectionUrl. If I use a directory as the connectionUrl or the older v1.3
everything works fine.
The error occurs with the following configuration:
\<configuration>
\<exportDirectory>E:/Project/target/de\</exportDirectory>
\<connectionUrl>scm:.../de/UserGuide.pdf\</connectionUrl>
\</configuration>
Output is:
[INFO] Executing: cmd.exe /X /C "svn --username ... --no-auth-cache
--non-interactive export --force svn://.../de/UserGuide.pdf
E:\Project\target\de"
[INFO] Working directory: E:\Project\target\docs-de
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: Can't move 'E:\Project\target\tempfile.tmp' to
'E:\Project\target\de': Access denied
Regards
Lars
---
**Affects:** 1.4
> Regression: scm export doesn't work for single files
> ----------------------------------------------------
>
> Key: SCM-575
> URL: https://issues.apache.org/jira/browse/SCM-575
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-plugin
> Affects Versions: 1.4
> Environment: Windows XP SP2
> Maven 2.2.1
> JDK 1.6.0_21
> Subversion 1.6
> Reporter: Lars Beuster
> Priority: Minor
>
> Since v1.4 it's not possible anymore to export a single file as the
> connectionUrl. If I use a directory as the connectionUrl or the older v1.3
> everything works fine.
> The error occurs with the following configuration:
> <configuration>
> <exportDirectory>E:/Project/target/de</exportDirectory>
> <connectionUrl>scm:.../de/UserGuide.pdf</connectionUrl>
> </configuration>
> Output is:
> [INFO] Executing: cmd.exe /X /C "svn --username ... --no-auth-cache
> --non-interactive export --force svn://.../de/UserGuide.pdf
> E:\Project\target\de"
> [INFO] Working directory: E:\Project\target\docs-de
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> [ERROR] svn: Can't move 'E:\Project\target\tempfile.tmp' to
> 'E:\Project\target\de': Access denied
> Regards
> Lars
--
This message was sent by Atlassian Jira
(v8.20.10#820010)