Adrian Wyssmann created MCHANGELOG-144:
------------------------------------------
Summary: svn and maven-changelog-plugin results in “The filename,
directory name, or volume label syntax is incorrect”
Key: MCHANGELOG-144
URL: https://issues.apache.org/jira/browse/MCHANGELOG-144
Project: Maven Changelog Plugin
Issue Type: Bug
Affects Versions: 2.3
Environment: Windows Server 2016
maven 3.5.2
Reporter: Adrian Wyssmann
We are using maven-changelog-plugin:2.3 to generate the changelog. The job is
triggered by Jenkins but recently the job starts failing. Here is what I see in
the log
{code:java}
...
...
22:05:41 [DEBUG] Multipage report: 0 subreports
22:05:41 [DEBUG] Generating
D:\jenkins\workspace\MAVEN-Company-Project\target\site\changelog.html
22:05:41 [INFO] Generating "Change Log" report ---
maven-changelog-plugin:2.3:changelog
22:05:41 [INFO] Generating changed sets xml to:
D:\jenkins\workspace\MAVEN-Company-Project\target\changelog.xml
22:05:41 [INFO] Executing: cmd.exe /X /C "svn --username CIUSER --password
***** --no-auth-cache --non-interactive log -v -r "{2018-01-29 21:05:41
+0000}:{2018-03-01 21:05:41 +0000}"
http://svn.mycompany.intra:80/svn/parentpom/trunk/"
22:05:41 [INFO] Working directory: D:\jenkins\workspace\MAVEN-Company-Project
22:05:41 [ERROR] Provider message:
22:05:41 [ERROR] The svn command failed.
22:05:41 [ERROR] Command output:
22:05:41 [ERROR] The filename, directory name, or volume label syntax is
incorrect.
22:05:41
22:05:41 [INFO]
------------------------------------------------------------------------
22:05:41 [INFO] BUILD FAILURE
22:05:41 [INFO]
------------------------------------------------------------------------
22:05:41 [INFO] Total time: 13.994 s
22:05:41 [INFO] Finished at: 2018-02-28T22:05:41+01:00
22:05:41 [INFO] Final Memory: 43M/451M
22:05:41 [INFO]
------------------------------------------------------------------------
22:05:41 [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.6:site (default-cli) on project
mycompany: Error generating maven-changelog-plugin:2.3:changelog: An error has
occurred during changelog command : : Command failed. -> [Help 1]
22:05:41 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.apache.maven.plugins:maven-site-plugin:3.6:site (default-cli)
on project mycompany: Error generating maven-changelog-plugin:2.3:changelog: An
error has occurred during changelog command :
22:05:41 at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:213)
22:05:41 at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
22:05:41 at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
22:05:41 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
22:05:41 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
22:05:41 at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:51)
22:05:41 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
...{code}
Running the command manually in the workspace directory
D:\jenkins\workspace\MAVEN-Company-Project\ works without problems.
The problems occurs in conjunction with maven 3.5.2. When switching back to
maven 3.1.1 the error does not appear.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)