Sorry hat no time before to test. I tried version 3.6.11 and the error is still the same. Did you consider that this plugin modifies the pom.xml to target/.git-versioned.pom.xml So its not in the same directory.
[~reitzmichnicht] can you please share the exact message you get? Can you give us details on the type of build agent that you are using? Can you confirm that you don't ue Windows build agents with cygwin (or equivalent)?
This produces the following warning: {noformat} [2019-03-21T16:32:15.753Z] [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned.-pom.xml', problems may occur [2019-03-21T16:32:15.753Z] [WARNING] [jenkins-event-spy] Unexpected Maven project file name '.git-versioned.-pom.xml', problems may occur {noformat}
Would be great to get rid of the warning because I get this warning 100 times per build