This is something that happens also for other people, so seems to be a bug in the plugin for Windows systems.
I would say this has something to be with the parsing of the escaped values (\) in the plugin itself, but I didn't go further on this investigation.
The rest of plugins and values that use the ${basedir} parameter work totally fine.
In Linux/Mac systems there's no problems.
When using the exec-maven-plugin within a pom.xml to run a bash script located in the basedir (Windows) as follows:
the parsed path when the plugin executes seems to be incorrect, the entire basedir appears without slashes, as follows:
When it should be like
This is something that happens also for other people, so seems to be a bug in the plugin for Windows systems. I would say this has something to be with the parsing of the escaped values (\) in the plugin itself, but I didn't go further on this investigation.
The rest of plugins and values that use the ${basedir} parameter work totally fine. In Linux/Mac systems there's no problems.